Skip to main content

Mix Python and Cython code in the same module.

Project description

Pyorcy has 2 purposes:

  • Allow the mix of python and cython code in a single file. This can also be done with cython’s “pure python” mode, but with import limitations. pyorcy gives you the full cython super-powers.

  • Launch an automatic compilation, triggered by a function decorator. This mechanism is similar to what numba offers.

So basically, you can develop and debug using the python mode. When you are happy with your function, then you just annotate the variables and add the decorator for automatic Cython code generation and compilation. Simple.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyorcy-0.1.2.tar.gz (9.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page