Python code for pruning python files
It may be usefull to remove some parts of the code like comments, spaces etc. Also used by the authoor to keep interface only when providing code to LLM for smaller context size
How to deploy
We use setup.py and setup.cfg to deploy the package to PyPI. To create a source distribution and upload it to PyPI, run the following commands:
python setup.py sdist bdist_wheel
Install twine if you haven't already:
pip install twine
Then upload the package to PyPI:
twine upload dist/*
Metadata
Release files for code-pruner 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| code_pruner-0.5.7.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| code_pruner-0.5.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / code_pruner-0.5.7.tar.gz
| Download URL | code_pruner-0.5.7.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b774dacfb23250337a1417ac5021f8d5871998a35ea7cad152e11fd3e09ef059
|
|
BLAKE2b-256 checksum How to use checksums |
409bb051b641799b2a759d67b1c9a73e9df84f3be3b513712b4b67235e4fe6cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|
Release files / code_pruner-0.5.7-py3-none-any.whl
| Download URL | code_pruner-0.5.7-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb29b9f48ef84ba600ecfd47c4d1e1e5089e760b363079540c4c4c95cb3a470b
|
|
BLAKE2b-256 checksum How to use checksums |
4dde95137ce2548d18b3c9bdfbc503893e41030ebe37db7272cce06eefd6922e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|