Skip to content

programmersd21/auto_cythonizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ auto_cythonizer ⚑

PyPI - Version PyPI - Python Version


πŸ’» Installation

pip install auto-cythonizer

πŸ’ͺ Example(s)

Find em' here

✨ Features

  • 🐍 Automatically converts Python .py files into .pyx and compiles them to .so/.pyd with maximum Cython optimizations.
  • ⚑ Caching enabled to speed up repeated builds.
  • 🏎️ Multi-threaded scanning of Python files for faster processing.
  • πŸ“ Automatic code annotation for loops and functions to leverage Cython's performance directives.
  • πŸ” Missing module detection during build.
  • πŸ”§ Auto-detects installed Python libraries and can fully Cythonize and rebuild them.
  • 🚫 Exclude files and folders during build using exclude.txt or .gitignore style patterns, including wildcards.
  • 🧹 Smart cleaning system with -c flag that removes build artifacts while keeping the target folder intact.
  • πŸ“¦ Wheel building and automatic installation with pip.

πŸš€ Usage

-t, --target TARGET  πŸ“ Folder to Cythonize
-o, --output OUTPUT  πŸ“¦ Output directory
-i, --install        πŸ“€ Build wheel & install
-l, --lib LIB        πŸ“š Cythonize installed library
-c, --clean CLEAN    🧹 Clean compiled files in folder
-x, --pyxview        πŸ‘€ View all generated .pyx files with file sizes

πŸ“„ License

auto-cythonizer is distributed under the terms of the MIT license.

Releases

No releases published

Packages

 
 
 

Contributors

Languages