Skip to main content

easycython

Because writing a setup.py each time is painful.

Status

Linux:

x64

2.7

3.4

3.5

3.6

https://travis-ci.org/cjrh/easycython.svg?branch=master https://coveralls.io/repos/cjrh/easycython/badge.png

Windows:

x86

2.7

3.4

3.5

3.6

x64

2.7

3.4

3.5

3.6

https://ci.appveyor.com/api/projects/status/23heqrp96f6ftmsr

Introduction

easycython.py is a script that will attempt to automatically convert one or more .pyx files into the corresponding compiled .pyd|.so binary modules files. Example:

$ python easycython.py myext.pyx

pip install easycython will automatically create an executable script in your Scripts/ folder, so you should be able to simply:

$ easycython myext.pyx

or even:

$ easycython *.pyx

You can type:

$ easycython -h

to obtain the following CLI:

usage: easycython.py [-h] [--annotation] [--no-annotation] [--numpy-includes]
                     [--no-numpy-includes]
                     [filenames [filenames ...]]

positional arguments:
  filenames

optional arguments:
  -h, --help           show this help message and exit
  --annotation
  --no-annotation      (default: True)
  --numpy-includes
  --no-numpy-includes  (default: True)
  • --annotation (default) will emit the HTML Cython annotation file.

  • --numpy-includes (default) will add the numpy headers to the build command.

  • Compiler flags -O2 -march=native are automatically passed to the compiler. I have not yet had to step through the generated C code with a debugger.

Metadata

Release files for easycython 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easycython 1.0.7
File Size Uploaded Provenance Actions
easycython-1.0.7.tar.gz 5.6 kB Without provenance Details for easycython-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easycython 1.0.7
File Interpreter ABI Platform Actions
easycython-1.0.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for easycython-1.0.7-py2.py3-none-any.whl

Total release size: 11.2 kB

Release files / easycython-1.0.7.tar.gz

Download URL easycython-1.0.7.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7f9030c93f0ca6e84053ffdcfa30bf04f432e4defff9786fa943d0c065f699ce
BLAKE2b-256 checksum
How to use checksums
7adec82b4271ee9926a34bc657d3b4d367826ac53f9a4a10a9505efab6a33cc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / easycython-1.0.7-py2.py3-none-any.whl

Download URL easycython-1.0.7-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
58642848729ef3015891d67f4a396a91a53a0adeba6a5d8961df98bcd8dda7ab
BLAKE2b-256 checksum
How to use checksums
a3f75d30fca4718f7c0be56cc0c748c6ff10136e833e5089ab34b22ee664d902
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for easycython 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page