deno_python

🐍 Python interpreter bindings for Deno and Bun.

MIT License

Stars
503
Committers
11

Bot releases are visible (Hide)

deno_python - 0.4.3 - Fix use-after-free issue Latest Release

Published by eliassjogreen 10 months ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.4.2...0.4.3

deno_python - 0.4.2

Published by eliassjogreen 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.4.1...0.4.2

deno_python - 0.4.1 - 🐍 Python 3.12 support!

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.4.0...0.4.1

deno_python - 0.4.0 - 🥟 Bun support!

Published by eliassjogreen about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.3.2...0.4.0

deno_python - 0.3.2 - Fix types

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.3.1...0.3.2

deno_python - 0.3.1 - PIP Support!

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.3.0...0.3.1

deno_python - 0.3.0 - Better errors!

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.7...0.3.0

deno_python - 0.2.7

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.6...0.2.7

deno_python - 0.2.6

Published by eliassjogreen about 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.5...0.2.6

deno_python - v0.2.5

Published by eliassjogreen over 1 year ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.4...0.2.5

deno_python - Deno Python v0.2.4

Published by DjDeveloperr over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.3...0.2.4

deno_python - v0.2.3

Published by DjDeveloperr almost 2 years ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.2...0.2.3

deno_python - v0.2.2

Published by DjDeveloperr about 2 years ago

deno_python - 0.2.1

Published by DjDeveloperr over 2 years ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.2.0...0.2.1

deno_python - v0.2.0

Published by DjDeveloperr over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.1.4...0.2.0

deno_python - v0.1.4

Published by DjDeveloperr over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.1.3...0.1.4

deno_python - v0.1.3

Published by DjDeveloperr over 2 years ago

What's Changed

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.1.2...0.1.3

deno_python - v0.1.2

Published by DjDeveloperr over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/denosaurs/deno_python/compare/0.1.1...0.1.2

deno_python - v0.1.1

Published by DjDeveloperr over 2 years ago

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.

deno_python - v0.1.0

Published by DjDeveloperr almost 3 years ago

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.
Package Rankings
Top 3.48% on Deno.land
Badges
Extracted from project README
Tags deno doc checks License