Skip to content

Releases: denosaurs/deno_python

v0.1.2

31 Jan 17:58
444f3ff

Choose a tag to compare

What's Changed

  • fix: use dlopen instead of private __libc_dlopen_mode on linux by @ahgilak in #9

New Contributors

Full Changelog: 0.1.1...0.1.2

v0.1.1

30 Jan 15:26
21bb371

Choose a tag to compare

This release fixes importing Python modules that make use of native libraries on Linux/macOS, such as NumPy.

For those modules to work, we need to open Python C library with RTLD_GLOBAL flag (passed to dlopen) to allow subsequently loaded libraries to be able to use symbols from the Python library. But Deno.dlopen does not support those additional flags and always loads with RTLD_LOCAL.

As a workaround, I have added an FFI call to libc's dlopen with required flags.

v0.1.0

02 Jan 12:02
657faa7

Choose a tag to compare

Changelog

  • fix: type of PythonConvertible. Now its Array, Map, Set, etc. types reference to itself instead of only primitives.
  • feat: support Sets
  • feat: support accessing/setting list indexes using JS list[index]
  • feat: support setting object attributes
  • feat: support in operator by implementing has proxy accessor
  • feat: support accessing/setting dict items using JS dict[key]
  • feat: support importing module from code string using runModule
  • feat: add isInstance on PyObject
  • feat: support Named Arguments in function calls (via NamedArgument class)
  • feat: support tuples
  • feat: support accessing tuple indexes using JS tuple[index]
  • docs: explain advanced usage of the module.

v0.0.1

29 Dec 19:34
4b0bb9a

Choose a tag to compare

Initial release 🎉