pycx2


Namepycx2 JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/FajarKim/pycx2
SummaryCompiler Python version 2 source file to binary
upload_time2024-03-16 02:19:20
maintainer
docs_urlNone
authorRangga Fajar Oktariansyah
requires_python==2.7.*
licenseAGPL-3.0
keywords python2 cython compiler performance legacy
VCS
bugtrack_url
requirements Cython
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <img src="https://raw.githubusercontent.com/FajarKim/pycx2/master/image/logo.svg" alt="PYCX2 Logo" width="140"/>
  <h1>PYCX2</h1>
  <p><a href="https://github.com/FajarKim/pycx2/blob/master/README-ID.md">Indonesia</a></p>
  <p><a href="https://github.com/FajarKim/pycx2/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml">Report Bug</a> · <a href="https://github.com/FajarKim/pycx2/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.yml">Request Feature</a></p>
  <p>
    <a href="https://pypi.org/project/pycx2"><img src="https://img.shields.io/pypi/v/pycx2?label=PyPI&labelColor=302d41&color=8aadf4&logoColor=d9e0ee&logo=pypi&style=for-the-badge" alt="PyPI Version"/></a>
    <a href="https://github.com/FajarKim/pycx2/stargazers/"><img src="https://custom-icon-badges.demolab.com/github/stars/FajarKim/pycx2?label=Stars&logo=star&labelColor=302d41&color=c9cbff&logoColor=d9e0ee&style=for-the-badge" alt="Stars"></a>
    <a href="https://github.com/FajarKim/pycx2/network/members/"><img src="https://custom-icon-badges.demolab.com/github/forks/FajarKim/pycx2?label=Forks&logo=fork&labelColor=302d41&color=b5e8e0&logoColor=d9e0ee&style=for-the-badge" alt="Forks"/></a>
    <a href="https://github.com/FajarKim/pycx2/issues"><img src="https://custom-icon-badges.demolab.com/github/issues/FajarKim/pycx2?label=Issues&labelColor=302d41&color=f5a97f&logoColor=d9e0ee&logo=issue&style=for-the-badge" alt="Issues"/></a>
    <a href="https://github.com/FajarKim/pycx2/archive/refs/heads/master.zip"><img src="https://custom-icon-badges.demolab.com/github/languages/code-size/FajarKim/pycx2?label=Download&logo=download&labelColor=302d41&color=b7bdf8&logoColor=d9e0ee&style=for-the-badge" alt="Download Size"/></a>
  </p>
</div>

## Table of Content

1. [Introduction](#introduction)
2. [Features](#features)
3. [Installation](#installation)
4. [Usage](#usage)
5. [License](#license)
6. [Donate](#donate)
7. [Changelog](#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`:

```bash
pip install pycx2
```

or use `pip2`:

```bash
pip2 install pycx2
```

## Usage

Basic usage with command CLI:

```bash
pycx2 source_file.py
```

Using import module:

```python
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](https://github.com/FajarKim/pycx2/blob/main/LICENSE).

## Donate

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

[![GitHub](https://img.shields.io/badge/GitHub-Sponsor-blue?labelColor=302d41&color=f5bde6&logo=github&logoColor=d9e0ee&style=for-the-badge)](https://github.com/sponsors/FajarKim/)
[![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-Donate-blue?labelColor=302d41&color=eed49f&logo=buymeacoffee&logoColor=d9e0ee&style=for-the-badge)](https://buymeacoffee.com/fajarkim/)
[![Trakteer](https://custom-icon-badges.demolab.com/badge/Trakteer-Donate-blue?labelColor=302d41&color=ed8796&logo=trakteerid&logoColor=d9e0ee&style=for-the-badge)](https://trakteer.id/fajarkim/)

## Changelog

Stay updated on the latest changes and updates to PYCX2 by referring to the [Changelog](https://github.com/FajarKim/pycx2/releases).

Thank you for choosing PYCX2! We aim to provide a secure and reliable solution for encrypting source file Python.

<div align="center">
  <img src="https://raw.githubusercontent.com/FajarKim/FajarKim/master/images/line.svg?sanitize=true"/>
</div>

<p align="center">Made with ❤️ and Python</p>
<p align="center">Copyright © 2024 Rangga Fajar Oktariansyah</p>
<div align="center">
  <a href="https://github.com/FajarKim/pycx2/blob/main/LICENSE"><img src="https://custom-icon-badges.demolab.com/github/license/FajarKim/pycx2?label=License&labelColor=302d41&color=91d7e3&logo=law&logoColor=d9e0ee&style=for-the-badge" alt="License"></a>
</div>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/FajarKim/pycx2",
    "name": "pycx2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "==2.7.*",
    "maintainer_email": "",
    "keywords": "python2 cython compiler performance legacy",
    "author": "Rangga Fajar Oktariansyah",
    "author_email": "fajarrkim@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c7/75/9ccfe5a669e884bc98376894ad0b3f4362c9fd7ca8bca4a677b46442e3f8/pycx2-1.0.3.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/FajarKim/pycx2/master/image/logo.svg\" alt=\"PYCX2 Logo\" width=\"140\"/>\n  <h1>PYCX2</h1>\n  <p><a href=\"https://github.com/FajarKim/pycx2/blob/master/README-ID.md\">Indonesia</a></p>\n  <p><a href=\"https://github.com/FajarKim/pycx2/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml\">Report Bug</a> \u00b7 <a href=\"https://github.com/FajarKim/pycx2/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.yml\">Request Feature</a></p>\n  <p>\n    <a href=\"https://pypi.org/project/pycx2\"><img src=\"https://img.shields.io/pypi/v/pycx2?label=PyPI&labelColor=302d41&color=8aadf4&logoColor=d9e0ee&logo=pypi&style=for-the-badge\" alt=\"PyPI Version\"/></a>\n    <a href=\"https://github.com/FajarKim/pycx2/stargazers/\"><img src=\"https://custom-icon-badges.demolab.com/github/stars/FajarKim/pycx2?label=Stars&logo=star&labelColor=302d41&color=c9cbff&logoColor=d9e0ee&style=for-the-badge\" alt=\"Stars\"></a>\n    <a href=\"https://github.com/FajarKim/pycx2/network/members/\"><img src=\"https://custom-icon-badges.demolab.com/github/forks/FajarKim/pycx2?label=Forks&logo=fork&labelColor=302d41&color=b5e8e0&logoColor=d9e0ee&style=for-the-badge\" alt=\"Forks\"/></a>\n    <a href=\"https://github.com/FajarKim/pycx2/issues\"><img src=\"https://custom-icon-badges.demolab.com/github/issues/FajarKim/pycx2?label=Issues&labelColor=302d41&color=f5a97f&logoColor=d9e0ee&logo=issue&style=for-the-badge\" alt=\"Issues\"/></a>\n    <a href=\"https://github.com/FajarKim/pycx2/archive/refs/heads/master.zip\"><img src=\"https://custom-icon-badges.demolab.com/github/languages/code-size/FajarKim/pycx2?label=Download&logo=download&labelColor=302d41&color=b7bdf8&logoColor=d9e0ee&style=for-the-badge\" alt=\"Download Size\"/></a>\n  </p>\n</div>\n\n## Table of Content\n\n1. [Introduction](#introduction)\n2. [Features](#features)\n3. [Installation](#installation)\n4. [Usage](#usage)\n5. [License](#license)\n6. [Donate](#donate)\n7. [Changelog](#changelog)\n\n## Introduction\n\nPYCX2 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.\n\n## Features\n\n- **Python 2.7 Support:** Specifically designed for compiling Python 2.7 code.\n- **Cython Integration:** Utilizes Cython to generate C extensions for enhanced performance.\n- **Command-Line Interface:** Easy-to-use CLI for compiling Python 2 code.\n\n## Installation\n\nYou can install `pycx2` using `pip`:\n\n```bash\npip install pycx2\n```\n\nor use `pip2`:\n\n```bash\npip2 install pycx2\n```\n\n## Usage\n\nBasic usage with command CLI:\n\n```bash\npycx2 source_file.py\n```\n\nUsing import module:\n\n```python\nfrom pycx2 import compile as compile_\n\ncompile_.compile(\"source_file.py\" #, True/False for enable verbose mode)\n```\n\n## License\n\nPYCX2 is released under the AGPL-3.0 license, which grants the following permissions:\n- Commercial use\n- Modification\n- Distribution\n- Patent use\n- Private use\n\nFor more convoluted language, see the [LICENSE](https://github.com/FajarKim/pycx2/blob/main/LICENSE).\n\n## Donate\n\nLove the project? Please consider donating to help it improve!\n\n[![GitHub](https://img.shields.io/badge/GitHub-Sponsor-blue?labelColor=302d41&color=f5bde6&logo=github&logoColor=d9e0ee&style=for-the-badge)](https://github.com/sponsors/FajarKim/)\n[![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-Donate-blue?labelColor=302d41&color=eed49f&logo=buymeacoffee&logoColor=d9e0ee&style=for-the-badge)](https://buymeacoffee.com/fajarkim/)\n[![Trakteer](https://custom-icon-badges.demolab.com/badge/Trakteer-Donate-blue?labelColor=302d41&color=ed8796&logo=trakteerid&logoColor=d9e0ee&style=for-the-badge)](https://trakteer.id/fajarkim/)\n\n## Changelog\n\nStay updated on the latest changes and updates to PYCX2 by referring to the [Changelog](https://github.com/FajarKim/pycx2/releases).\n\nThank you for choosing PYCX2! We aim to provide a secure and reliable solution for encrypting source file Python.\n\n<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/FajarKim/FajarKim/master/images/line.svg?sanitize=true\"/>\n</div>\n\n<p align=\"center\">Made with \u2764\ufe0f and Python</p>\n<p align=\"center\">Copyright \u00a9 2024 Rangga Fajar Oktariansyah</p>\n<div align=\"center\">\n  <a href=\"https://github.com/FajarKim/pycx2/blob/main/LICENSE\"><img src=\"https://custom-icon-badges.demolab.com/github/license/FajarKim/pycx2?label=License&labelColor=302d41&color=91d7e3&logo=law&logoColor=d9e0ee&style=for-the-badge\" alt=\"License\"></a>\n</div>\n\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0",
    "summary": "Compiler Python version 2 source file to binary",
    "version": "1.0.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/FajarKim/pycx2/issues",
        "Documentation": "https://github.com/FajarKim/pycx2#readme",
        "Donate": "https://buymeacoffee.com/fajarkim",
        "Homepage": "https://github.com/FajarKim/pycx2",
        "Source Code": "https://github.com/FajarKim/pycx2"
    },
    "split_keywords": [
        "python2",
        "cython",
        "compiler",
        "performance",
        "legacy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "598c40f66c4ac7564a68edd629a7836536af53d10b2d89f78c63e77cfcd9d460",
                "md5": "36c9fdff49ad4e27c8f2bf818fe11895",
                "sha256": "4ea974fc350fd9de04c523bda1d81c62a20886e52dc8d46c1d1aa115deb5843c"
            },
            "downloads": -1,
            "filename": "pycx2-1.0.3-py2-none-any.whl",
            "has_sig": false,
            "md5_digest": "36c9fdff49ad4e27c8f2bf818fe11895",
            "packagetype": "bdist_wheel",
            "python_version": "py2",
            "requires_python": "==2.7.*",
            "size": 17238,
            "upload_time": "2024-03-16T02:19:18",
            "upload_time_iso_8601": "2024-03-16T02:19:18.605359Z",
            "url": "https://files.pythonhosted.org/packages/59/8c/40f66c4ac7564a68edd629a7836536af53d10b2d89f78c63e77cfcd9d460/pycx2-1.0.3-py2-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7759ccfe5a669e884bc98376894ad0b3f4362c9fd7ca8bca4a677b46442e3f8",
                "md5": "21dd653bdd6dc6e38746f8b8cc774eef",
                "sha256": "046771478f4e77ab58f4aeabe25bb0ca10695cb133777c8afbff23d58cb553bf"
            },
            "downloads": -1,
            "filename": "pycx2-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "21dd653bdd6dc6e38746f8b8cc774eef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "==2.7.*",
            "size": 4770,
            "upload_time": "2024-03-16T02:19:20",
            "upload_time_iso_8601": "2024-03-16T02:19:20.229476Z",
            "url": "https://files.pythonhosted.org/packages/c7/75/9ccfe5a669e884bc98376894ad0b3f4362c9fd7ca8bca4a677b46442e3f8/pycx2-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-16 02:19:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "FajarKim",
    "github_project": "pycx2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "Cython",
            "specs": [
                [
                    ">=",
                    "0.29.34"
                ]
            ]
        }
    ],
    "lcname": "pycx2"
}
        
Elapsed time: 0.21258s