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.

Files for pyorcy, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyorcy-0.1.2.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page