Skip to main content

Compiler Python version 2 source file to binary

Project description

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

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

pycx2-1.0.3.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

pycx2-1.0.3-py2-none-any.whl (17.2 kB view hashes)

Uploaded Python 2

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