Convert your entire Python project to .pyc files.
Project description
pycify
Convert your entire Python project from .py files to .pyc files.
Installation
pip install pycify
Usage
$ 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.txtto do an editable install - Run
pytestto 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:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycify-1.2.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycify-1.2.0.tar.gz.
File metadata
- Download URL: pycify-1.2.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cac7ab09b18c4692a1c1259b57a480051d8bbcdc181ca2512612fdb8e9b01d8f
|
|
| MD5 |
f632e929a29823c10a6894e80d552fbe
|
|
| BLAKE2b-256 |
46cd6b075752358ccfb232d7aec9226666b52ca4fd537708255f3a32ef987f67
|
File details
Details for the file pycify-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pycify-1.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41e92192f1d16d6e15872a52445e7b14d5492f0e1cf40730e7dd2db32a7b4785
|
|
| MD5 |
bd60cdb5b1067ee30df3c4baef89735f
|
|
| BLAKE2b-256 |
e14ece6f12b0b8d2cf22358d1117a3d85fab76a13d87e90b47bb6376885c2343
|