{ "info": { "author": "Peter Bittner", "author_email": "django@bittner.it", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "pyclean |latest-version|\n========================\n\n|build-status| |health| |python-support| |license|\n\nWorried about ``.pyc`` files and ``__pycache__`` directories? Fear not!\nPyclean is here to help. Finally the single-command clean up for Python\nbytecode files in your favorite directories. On any platform.\n\n.. |latest-version| image:: https://img.shields.io/pypi/v/pyclean.svg\n :alt: Latest version on PyPI\n :target: https://pypi.org/project/pyclean\n.. |build-status| image:: https://img.shields.io/travis/bittner/pyclean/master.svg\n :alt: Build status\n :target: https://travis-ci.org/bittner/pyclean\n.. |health| image:: https://img.shields.io/codacy/grade/69de1364a09f41b399f95afe901826eb/master.svg\n :target: https://www.codacy.com/app/bittner/pyclean\n :alt: Code health\n.. |python-support| image:: https://img.shields.io/pypi/pyversions/pyclean.svg\n :alt: Python versions\n :target: https://pypi.org/project/pyclean\n.. |license| image:: https://img.shields.io/pypi/l/pyclean.svg\n :alt: Software license\n :target: https://github.com/bittner/pyclean/blob/master/LICENSE\n\nWait! What is bytecode?\n-----------------------\n\nBytecode is opcodes for the `Python Virtual Machine`_. -- Confused?\n\nIf you want to deep-dive into the topic watch the 2013 EuroPython talk\n`\"All Singing All Dancing Python Bytecode\"`_ by Larry Hastings.\nOtherwise James Bennett's `\"Introduction to Python bytecode\"`_ should\nprovide you with just the sound understanding of what it is all about.\n\n.. _Python Virtual Machine: https://www.ics.uci.edu/~brgallar/week9_3.html\n.. _\"All Singing All Dancing Python Bytecode\":\n https://www.youtube.com/watch?v=0IzXcjHs-P8\n.. _\"Introduction to Python bytecode\":\n https://opensource.com/article/18/4/introduction-python-bytecode\n\nWhy not simply use ``rm **/*.pyc`` or ``find -name '*.py?' -delete``?\n---------------------------------------------------------------------\n\nIf you're happy with ``rm`` or ``find``, go for it! When I was `looking\nfor a simple, concise solution for everybody`_ I figured people are\nstruggling, and simple things are more complicated than they appear at\nfirst sight.\n\nAlso, there is a ``pyclean`` command (and its siblings) on Debian. And,\nwell, only on Debian as it turns out. Not that I'm a big fan of Mircosoft\nWindos, but why ignore the biggest Python population on this planet?\n(As if they weren't punished enough already using this unfree piece of\nsoftware!)\n\n.. _looking for a simple, concise solution for everybody:\n https://stackoverflow.com/questions/785519/how-do-i-remove-all-pyc-files-from-a-project\n\nDebian\n------\n\nThe Python scripts Debian ships with its `python-minimal`_ and\n`python3-minimal`_ packages can be found at:\n\n- `salsa.debian.org/cpython-team/python-defaults\n `__\n- `salsa.debian.org/cpython-team/python3-defaults\n `__\n- `salsa.debian.org/debian/pypy\n `__\n\n.. _python-minimal: https://packages.debian.org/stable/python-minimal\n.. _python3-minimal: https://packages.debian.org/stable/python3-minimal\n\nInstallation\n============\n\n.. code:: console\n\n $ pip install pyclean\n\nUse pyclean with Tox\n--------------------\n\nIf you want to avoid installing ``pyclean`` you can add it to your\n``tox.ini`` file as follows:\n\n.. code:: ini\n\n [testenv:clean]\n deps = pyclean\n commands = pyclean {toxinidir}\n\nYou'll then be able to run it with `Tox`_ like this:\n\n.. code:: console\n\n tox -e clean\n\n.. _Tox: https://tox.readthedocs.io/\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bittner/pyclean", "keywords": "python,bytecode,tools", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pyclean", "package_url": "https://pypi.org/project/pyclean/", "platform": "", "project_url": "https://pypi.org/project/pyclean/", "project_urls": { "Homepage": "https://github.com/bittner/pyclean" }, "release_url": "https://pypi.org/project/pyclean/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Pure Python cross-platform pyclean. Clean up your Python bytecode.", "version": "1.0.0" }, "last_serial": 4974590, "releases": { "0.0.0": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "dee81cc02e40845a71f20ce2c659b222", "sha256": "2f20aeaa1713d26d73032f45328dd077bbdb0e00bd12ee8aa1b8cfb123c56c6b" }, "downloads": -1, "filename": "pyclean-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "dee81cc02e40845a71f20ce2c659b222", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22683, "upload_time": "2019-03-22T20:47:48", "url": "https://files.pythonhosted.org/packages/da/cf/ac6e62b9a5e743f843326256348d8ba48161b36b3d9807c991213a5e1543/pyclean-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9a1cbf7ec7fb68f98a7bdfbd3f76777", "sha256": "3a46276297f6971a3e1c67333df2b59f251761dec36dba7c0bda6bc9e6cad8c5" }, "downloads": -1, "filename": "pyclean-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f9a1cbf7ec7fb68f98a7bdfbd3f76777", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22067, "upload_time": "2019-03-22T20:47:49", "url": "https://files.pythonhosted.org/packages/24/68/eddc55023d75d14a8022f8519d7990551ff4b7e74b367c519baf041c89c8/pyclean-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dee81cc02e40845a71f20ce2c659b222", "sha256": "2f20aeaa1713d26d73032f45328dd077bbdb0e00bd12ee8aa1b8cfb123c56c6b" }, "downloads": -1, "filename": "pyclean-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "dee81cc02e40845a71f20ce2c659b222", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22683, "upload_time": "2019-03-22T20:47:48", "url": "https://files.pythonhosted.org/packages/da/cf/ac6e62b9a5e743f843326256348d8ba48161b36b3d9807c991213a5e1543/pyclean-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9a1cbf7ec7fb68f98a7bdfbd3f76777", "sha256": "3a46276297f6971a3e1c67333df2b59f251761dec36dba7c0bda6bc9e6cad8c5" }, "downloads": -1, "filename": "pyclean-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f9a1cbf7ec7fb68f98a7bdfbd3f76777", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22067, "upload_time": "2019-03-22T20:47:49", "url": "https://files.pythonhosted.org/packages/24/68/eddc55023d75d14a8022f8519d7990551ff4b7e74b367c519baf041c89c8/pyclean-1.0.0.tar.gz" } ] }