PYCX2 is a Python 2 code compiler that utilizes Cython for performance enhancements. It provides a straightforward way to compile Python 2.7 code, aiming to improve execution speed and efficiency, especially for legacy Python code optimization.
- Python 2.7 Support: Specifically designed for compiling Python 2.7 code.
- Cython Integration: Utilizes Cython to generate C extensions for enhanced performance.
- Command-Line Interface: Easy-to-use CLI for compiling Python 2 code.
You can install pycx2
using pip
:
pip install pycx2
or use pip2
:
pip2 install pycx2
Basic usage with command CLI:
pycx2 source_file.py
Using import module:
from pycx2 import compile as compile_
compile_.compile("source_file.py" #, True/False for enable verbose mode)
PYCX2 is released under the AGPL-3.0 license, which grants the following permissions:
- Commercial use
- Modification
- Distribution
- Patent use
- Private use
For more convoluted language, see the LICENSE.
Love the project? Please consider donating to help it improve!
Stay updated on the latest changes and updates to PYCX2 by referring to the Changelog.
Thank you for choosing PYCX2! We aim to provide a secure and reliable solution for encrypting source file Python.
Made with ❤️ and Python
Copyright © 2024 Rangga Fajar Oktariansyah