Skip to content

FajarKim/pycx2

Repository files navigation

Table of Content

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. License
  6. Donate
  7. Changelog

Introduction

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.

Features

  • 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.

Installation

You can install pycx2 using pip:

pip install pycx2

or use pip2:

pip2 install pycx2

Usage

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)

License

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.

Donate

Love the project? Please consider donating to help it improve!

GitHub Buy Me a Coffee Trakteer

Changelog

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

License