Skip to main content

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

Metadata

Release files for pycx2 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycx2 1.0.3
File Size Uploaded
pycx2-1.0.3.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycx2 1.0.3
File Interpreter ABI Platform
pycx2-1.0.3-py2-none-any.whl Python 2 none any Details

Total release size: 22.0 kB

Release files / pycx2-1.0.3.tar.gz

Download URL pycx2-1.0.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
046771478f4e77ab58f4aeabe25bb0ca10695cb133777c8afbff23d58cb553bf
BLAKE2b-256 checksum
How to use checksums
c7759ccfe5a669e884bc98376894ad0b3f4362c9fd7ca8bca4a677b46442e3f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

Release files / pycx2-1.0.3-py2-none-any.whl

Download URL pycx2-1.0.3-py2-none-any.whl
Size 17.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4ea974fc350fd9de04c523bda1d81c62a20886e52dc8d46c1d1aa115deb5843c
BLAKE2b-256 checksum
How to use checksums
598c40f66c4ac7564a68edd629a7836536af53d10b2d89f78c63e77cfcd9d460
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page