pycify


Namepycify JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/tusharsadhwani/pycify
SummaryConvert your entire Python project to .pyc files.
upload_time2024-06-17 17:32:05
maintainerNone
docs_urlNone
authorTushar Sadhwani
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycify

Convert your entire Python project from `.py` files to `.pyc` files.

## Installation

```bash
pip install pycify
```

## Usage

```console
$ python cli.py
Hello CLI!

$ pycify .
Replacing ./utils/foo.py with ./utils/__pycache__/foo.cpython-311.pyc
Replacing ./cli.py with ./__pycache__/cli.cpython-311.pyc

$ tree .
.
├── cli.pyc
└── utils
    └── foo.pyc

2 directories, 2 files

$ python cli.pyc
Hello CLI!
```

## Local Development / Testing

- Create and activate a virtual environment
- Run `pip install -r requirements-dev.txt` to do an editable install
- Run `pytest` to run tests

## Type Checking

Run `mypy .`

## Create and upload a package to PyPI

Make sure to bump the version in `setup.cfg`.

Then run the following commands:

```bash
rm -rf build dist
python setup.py sdist bdist_wheel
```

Then upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):

```bash
twine upload dist/*
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tusharsadhwani/pycify",
    "name": "pycify",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Tushar Sadhwani",
    "author_email": "tushar.sadhwani000@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/46/cd/6b075752358ccfb232d7aec9226666b52ca4fd537708255f3a32ef987f67/pycify-1.2.0.tar.gz",
    "platform": null,
    "description": "# pycify\n\nConvert your entire Python project from `.py` files to `.pyc` files.\n\n## Installation\n\n```bash\npip install pycify\n```\n\n## Usage\n\n```console\n$ python cli.py\nHello CLI!\n\n$ pycify .\nReplacing ./utils/foo.py with ./utils/__pycache__/foo.cpython-311.pyc\nReplacing ./cli.py with ./__pycache__/cli.cpython-311.pyc\n\n$ tree .\n.\n\u251c\u2500\u2500 cli.pyc\n\u2514\u2500\u2500 utils\n    \u2514\u2500\u2500 foo.pyc\n\n2 directories, 2 files\n\n$ python cli.pyc\nHello CLI!\n```\n\n## Local Development / Testing\n\n- Create and activate a virtual environment\n- Run `pip install -r requirements-dev.txt` to do an editable install\n- Run `pytest` to run tests\n\n## Type Checking\n\nRun `mypy .`\n\n## Create and upload a package to PyPI\n\nMake sure to bump the version in `setup.cfg`.\n\nThen run the following commands:\n\n```bash\nrm -rf build dist\npython setup.py sdist bdist_wheel\n```\n\nThen upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):\n\n```bash\ntwine upload dist/*\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Convert your entire Python project to .pyc files.",
    "version": "1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/tusharsadhwani/pycify"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e14ece6f12b0b8d2cf22358d1117a3d85fab76a13d87e90b47bb6376885c2343",
                "md5": "bd60cdb5b1067ee30df3c4baef89735f",
                "sha256": "41e92192f1d16d6e15872a52445e7b14d5492f0e1cf40730e7dd2db32a7b4785"
            },
            "downloads": -1,
            "filename": "pycify-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd60cdb5b1067ee30df3c4baef89735f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5774,
            "upload_time": "2024-06-17T17:32:03",
            "upload_time_iso_8601": "2024-06-17T17:32:03.392303Z",
            "url": "https://files.pythonhosted.org/packages/e1/4e/ce6f12b0b8d2cf22358d1117a3d85fab76a13d87e90b47bb6376885c2343/pycify-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46cd6b075752358ccfb232d7aec9226666b52ca4fd537708255f3a32ef987f67",
                "md5": "f632e929a29823c10a6894e80d552fbe",
                "sha256": "cac7ab09b18c4692a1c1259b57a480051d8bbcdc181ca2512612fdb8e9b01d8f"
            },
            "downloads": -1,
            "filename": "pycify-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f632e929a29823c10a6894e80d552fbe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5050,
            "upload_time": "2024-06-17T17:32:05",
            "upload_time_iso_8601": "2024-06-17T17:32:05.569927Z",
            "url": "https://files.pythonhosted.org/packages/46/cd/6b075752358ccfb232d7aec9226666b52ca4fd537708255f3a32ef987f67/pycify-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-17 17:32:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tusharsadhwani",
    "github_project": "pycify",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "pycify"
}
        
Elapsed time: 0.29867s