py_embed 0.5.0 copy "py_embed: ^0.5.0" to clipboard
py_embed: ^0.5.0 copied to clipboard

Embed CPython in Dart applications using native FFI bindings to the Python C API.

0.5.0 #

  • Add Py.len, Py.repr, and Py.isInstance.
  • Move PyObject.abs, pow, and divmod to static Py built-ins.
  • Built-ins borrow arguments; object results own a new reference.

0.4.0 #

  • breaking change: 移除 PyObject.using,使用 Py.using, 更接近 ffi.using 的用法
  • 增加 forward

0.3.1 #

  • remove PyNone, use PyObject.getConst(.none)

0.3.0 #

    • python operator
  • PyNone

0.2.3 #

    • getItem
  • object.get -> object.getAttr

0.2.2 #

  • 移除 dispose,而是暴露 ref++ 和 ref--,用户直接思考 ref
    • pydict
  • 添加 test

0.2.1 #

  • +PyList

0.2.0 #

  • 跨平台,跨版本

0.1.0 #

  • support Linux

0.0.6 #

  • 支持 Python 的 with 语法

0.0.5 #

  • getInt, getDouble, getString, getBool helpers

0.0.4 #

  • PyObject.str

0.0.3 #

  • default python runtime
  • auto garbage collection

0.0.2 #

  • interact with python object

0.0.1 #

  • run simple string
0
likes
130
points
577
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Embed CPython in Dart applications using native FFI bindings to the Python C API.

Repository (GitHub)

License

MIT (license)

Dependencies

ffi, meta, path

More

Packages that depend on py_embed