Skip to main content

Auto generate pxd files from pyx by extracting function and class signatures

Project description

pyx2pxd

Simple library to auto generate pxd files from pyx by extracting function and class signatures.
Initially developed to aid in the NanoPyx project.


Installation

You can install pyx2pxd via pip:

pip install pyx2pxd

Usage

pyx2pxd folder_path_to_process

Note: pyx2pxd will only analyze pyx files that contain the comment # cython: autogen_pxd=True. For example:

# cython: infer_types=True, wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3, profile=True, autogen_pxd=True

from libc.math cimport fabs
...

License

Distributed under the terms of the [GNU GPL v2.0] license, "pyx2pxd" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pyx2pxd-0.1.4.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

pyx2pxd-0.1.4-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file pyx2pxd-0.1.4.tar.gz.

File metadata

  • Download URL: pyx2pxd-0.1.4.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyx2pxd-0.1.4.tar.gz
Algorithm Hash digest
SHA256 22c4a66ddfd1b2bd2b6469a9165169f164e65d8dc083fcc968a16e25c208926a
MD5 e3b0b645a41b3d686aab05bc29328a90
BLAKE2b-256 3cbf544c9149267e35ea9ba47a1f33a1a64af31f0b97e85521c055f224d8550c

See more details on using hashes here.

File details

Details for the file pyx2pxd-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pyx2pxd-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyx2pxd-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 373323f96b7ae37e48b0a822129c365a5bd1f0295c4ff12ffa1b5a86a14b90f9
MD5 5cc050cd1a677d09a081f23583b61f8a
BLAKE2b-256 6041c3411e00c2cdfdfe4c2ed80a7f57260897d9bfcfe0540901cc93019b017c

See more details on using hashes here.

Supported by

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