https://github.com/henriqueslab/pyx2pxd
https://github.com/henriqueslab/pyx2pxd
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/henriqueslab/pyx2pxd
- Owner: HenriquesLab
- License: gpl-2.0
- Created: 2023-01-17T13:18:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T17:23:18.000Z (about 3 years ago)
- Last Synced: 2025-09-15T16:57:20.224Z (9 months ago)
- Language: Python
- Size: 130 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pyx2pxd
Simple library to auto generate pxd files from pyx by extracting function and class signatures.
Initially developed to aid in the [NanoPyx](https://github.com/HenriquesLab/NanoPyx) project.
---
## Installation
You can install `pyx2pxd` via [pip]:
```shell
pip install pyx2pxd
```
To install latest development version :
```shell
pip install git+https://github.com/HenriquesLab/pyx2pxd.git
```
## Usage
```shell
pyx2pxd folder_path_to_process
```
_Note_: pyx2pxd will only analyze pyx files that contain the comment # cython: autogen_pxd=True. For example:
```code
# 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.
[file an issue]: https://github.com/HenriquesLab/NanoPyx/issues
[pip]: https://pypi.org/project/pip/
[pypi]: https://pypi.org/