Skip to content

Tags: AndrejOrsula/pyo3_bindgen

Tags

0.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Development towards 0.5.0 (#20)

* Improve doc example for `Codegen`

Signed-off-by: Andrej Orsula <[email protected]>

* Remove redundant extract

Signed-off-by: Andrej Orsula <[email protected]>

* Bump pyo3 to 0.21
- Fix only breaking changes for now

Signed-off-by: Andrej Orsula <[email protected]>

* Update tips/notes in README

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.4.1

Signed-off-by: Andrej Orsula <[email protected]>

* Bump pyo3 to 0.21 in docs

Signed-off-by: Andrej Orsula <[email protected]>

* Autoupdate pre-commit hooks

Signed-off-by: Andrej Orsula <[email protected]>

* Adopt `pyo3::Bound` API

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.5.0

Signed-off-by: Andrej Orsula <[email protected]>

* Improve ergonomy of calling methods with `pyo3::Bound`

Signed-off-by: Andrej Orsula <[email protected]>

* Remove `pyobject_native_type_extract!` from expected test output

Signed-off-by: Andrej Orsula <[email protected]>

* Remove `macros` from default features

Signed-off-by: Andrej Orsula <[email protected]>

* Generate `pyo3_embed_python_source_code()` when using `Codegen::module_from_str()`

Signed-off-by: Andrej Orsula <[email protected]>

* Document generated `pyo3_embed_python_source_code()`

Signed-off-by: Andrej Orsula <[email protected]>

* Add `numpy` feature for automatic mapping of numpy::ndarray

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Development towards 0.4.0 (#17)

* Build docs.rs documentation with all features enabled

Signed-off-by: Andrej Orsula <[email protected]>

* Make Config fields public

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.4.0

Signed-off-by: Andrej Orsula <[email protected]>

* Reenable non-proc macro doc tests

Signed-off-by: Andrej Orsula <[email protected]>

* Rearrange instructions

Signed-off-by: Andrej Orsula <[email protected]>

* Fix instructions for `macros` feature

Signed-off-by: Andrej Orsula <[email protected]>

* Add "py" to forbidden function/type names

Signed-off-by: Andrej Orsula <[email protected]>

* Disable some debug asserts due to the uncertainty of Python code

Signed-off-by: Andrej Orsula <[email protected]>

* Improve error handling in `Codegen::generate()`

Signed-off-by: Andrej Orsula <[email protected]>

* Make kwargs optional

Signed-off-by: Andrej Orsula <[email protected]>

* Reenable support for generating bindings to builtin functions

Signed-off-by: Andrej Orsula <[email protected]>

* Improve docstring processing

Signed-off-by: Andrej Orsula <[email protected]>

* Make Codegen API more ergonomic

Signed-off-by: Andrej Orsula <[email protected]>

* Re-export `pyo3` directly from `pyo3_bindgen`

Signed-off-by: Andrej Orsula <[email protected]>

* Fix loading of libpython symbols in `import_python!` procedural macro

Signed-off-by: Andrej Orsula <[email protected]>

* Add "macros" to default features

Signed-off-by: Andrej Orsula <[email protected]>

* Update documentation

Signed-off-by: Andrej Orsula <[email protected]>

* Add examples

Signed-off-by: Andrej Orsula <[email protected]>

* Disable `pygal` example

Signed-off-by: Andrej Orsula <[email protected]>

* Slightly simplify README example

Signed-off-by: Andrej Orsula <[email protected]>

* Update information about `pyo3_bindgen_macros`

Signed-off-by: Andrej Orsula <[email protected]>

* Update documentation

Signed-off-by: Andrej Orsula <[email protected]>

* Fix TOML formatting

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.3.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix documentation build (#16)

* Simplify examples in README

Signed-off-by: Andrej Orsula <[email protected]>

* Remove redundant transitive dependencies of `pyo3_bindgen_macros`

Signed-off-by: Andrej Orsula <[email protected]>

* Remove `macros` from default features
- Instructions are already written in a way where `macros` must be explicitly enabled

Signed-off-by: Andrej Orsula <[email protected]>

* Enable doc tests

Signed-off-by: Andrej Orsula <[email protected]>

* Use explicit top-level docs for `pyo3_bindgen`

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.3.1

Signed-off-by: Andrej Orsula <[email protected]>

* Skip running of doc tests because CI segfaults

Signed-off-by: Andrej Orsula <[email protected]>

* Skip building of doc tests with proc macros

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Development towards 0.3.0 (#4)

* Allow `clippy::{nursery, pedantic}` for generated bindings

Signed-off-by: Andrej Orsula <[email protected]>

* Add support for tuples with ellipsis

Signed-off-by: Andrej Orsula <[email protected]>

* Fix bindings for `__init__()` and `__call__()`

Signed-off-by: Andrej Orsula <[email protected]>

* Fix return type for `__init__()` bindings

Signed-off-by: Andrej Orsula <[email protected]>

* Improve semantics of positional `*args` parameters

Signed-off-by: Andrej Orsula <[email protected]>

* Update test case

Signed-off-by: Andrej Orsula <[email protected]>

* Apply clippy suggestions

Signed-off-by: Andrej Orsula <[email protected]>

* Refactoring: Add parsing
[skip ci]

Signed-off-by: Andrej Orsula <[email protected]>

* Refactoring: Add generators for imports & prelude
[skip ci]

Signed-off-by: Andrej Orsula <[email protected]>

* Refactoring: Add remaining generators

Signed-off-by: Andrej Orsula <[email protected]>

* Refactoring: Add type mapping

Signed-off-by: Andrej Orsula <[email protected]>

* CI: Format dependabot workflow

Signed-off-by: Andrej Orsula <[email protected]>

* Improve ergonomics of generated bindings

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Development towards 0.2.0 (#2)

* Reimplement type mapping into enum

Signed-off-by: Andrej Orsula <[email protected]>

* Add typy mapping for generated class bindings

Signed-off-by: Andrej Orsula <[email protected]>

* Improve type mapping and use `call_method0()/1()` where appropriate

Signed-off-by: Andrej Orsula <[email protected]>

* Add support for tuple and (frozen)set types

Signed-off-by: Andrej Orsula <[email protected]>

* Update project status

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.2.0

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.1.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Development towards 0.1.1 (#1)

* Simplify documentation

Signed-off-by: Andrej Orsula <[email protected]>

* Update badges

Signed-off-by: Andrej Orsula <[email protected]>

* Suggest using `#[allow(clippy::all)]` for bindings

Signed-off-by: Andrej Orsula <[email protected]>

* Make reexports unambiguous

Signed-off-by: Andrej Orsula <[email protected]>

* Bump to 0.1.1

Signed-off-by: Andrej Orsula <[email protected]>

---------

Signed-off-by: Andrej Orsula <[email protected]>

0.1.0

Verified

This commit was signed with the committer’s verified signature.
AndrejOrsula Andrej Orsula
Initial commit

Signed-off-by: Andrej Orsula <[email protected]>