{ "info": { "author": "Lucian Cooper", "author_email": "cooperlucian@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Utilities" ], "description": "# cparse\n\n[![PyPI version shields.io](https://img.shields.io/pypi/v/cparse.svg?style=flat-square)](https://pypi.python.org/pypi/cparse/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/cparse.svg?style=flat-square)](https://pypi.python.org/pypi/cparse/)\n[![PyPI license](https://img.shields.io/pypi/l/cparse.svg?style=flat-square)](https://pypi.python.org/pypi/cparse/)\n[![readthedocs](https://readthedocs.org/projects/cparse/badge/?version=latest&style=flat-square)](https://cparse.readthedocs.io)\n\nCode parsing command line tool.\n\n\n## Installation\n\nWith `pip` via [PyPi](https://pypi.org)\n\n```bash\npip install cparse\n```\n\nClone the repository and install\n\n```bash\ngit clone git://github.com/luciancooper/cparse.git\ncd cparse\npython setup.py install\n```\n\n## Documentation\nFull documentation can be found [**here**](https://cparse.readthedocs.io)\n\n`cparse ` currently includes 6 commands\n\n * [`ls`](#ls) - list files in directory\n * [`tree`](#tree) - print file tree\n * [`stat`](#stat) - directory file extension stats\n * [`py`](#py) - python code parsing\n * [`html`](#html) - html link parsing\n * [`css`](#css) - css code parsing\n\n### `ls`\nPrints a list of the files in a directory. \n\n```bash\ncparse ls [-r] [-n ] [-d | -f] [-a] [-lim ] [-fmt ]\n [-exc ] [-inc ]\n [-wc ] [-grep ] [-ft ]\n [-m | -M | -c | -C | -b | -B | -i | -I | -g | -G] \n```\n\n### `tree`\nPrints a tree representation of the contents of a directory.\n\n```bash\ncparse tree [-d | -f] [-a] [-n ] [-fmt ]\n [-exc ] [-inc ]\n [-wc ] [-grep ] [-ft ]\n [-m | -M | -c | -C | -b | -B | -i | -I | -g | -G] \n```\n\n### `stat`\n\nPrints a table displaying the file extension proportions of a directory\n\n```bash\ncparse stat [-a] \n```\n\n### `py`\n\nParses the code of a provided python file\n\n```bash\ncparse py \n```\n\n### `html`\n\nParses the links in an HTML file and represents them as a file tree.\n\n```bash\ncparse html \n```\n\n### `css`\n\nParses CSS code, providing options to condense redundant rules and group identical selectors. \n\n```bash\ncparse css [-g] [-c] [-s] \n```\n\n\n## Dependencies\n\n * [pydecorator](https://github.com/luciancooper/pydecorator)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/luciancooper/cparse", "keywords": "parser", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cparse", "package_url": "https://pypi.org/project/cparse/", "platform": "", "project_url": "https://pypi.org/project/cparse/", "project_urls": { "Documentation": "https://cparse.readthedocs.io", "Homepage": "https://github.com/luciancooper/cparse" }, "release_url": "https://pypi.org/project/cparse/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Code parser tool", "version": "0.0.2" }, "last_serial": 5147568, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "acc73684f0c823185d3014c0c8ac5975", "sha256": "818768df3d5e0ba078c9946b72125473927f5b34a29a268444762ab669fee6d8" }, "downloads": -1, "filename": "cparse-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "acc73684f0c823185d3014c0c8ac5975", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24518, "upload_time": "2019-02-07T06:39:28", "url": "https://files.pythonhosted.org/packages/b8/0b/ea0f4625a37a40f322a19cbf1974f044bac261a7c43d54c45d8e66944f0b/cparse-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71844c6b09d22a3eb5cd4f2e672c5445", "sha256": "85e53a5ae7a2c0015e14b332cd4baa4488fbdb0d09eea682a05f9b335af7be65" }, "downloads": -1, "filename": "cparse-0.0.1.tar.gz", "has_sig": false, "md5_digest": "71844c6b09d22a3eb5cd4f2e672c5445", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15206, "upload_time": "2019-02-07T06:39:18", "url": "https://files.pythonhosted.org/packages/2c/93/cba16a9ed50ab4ea935b2958d476c7eb1a8fbd72a27d2b9495d0fe633c1a/cparse-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a9aa5ec15bd5afd554ce967c62bfb240", "sha256": "4fead9e030305c48eda401b78ae9f735b5d718bf718a6bf82c7760b05f0b18e7" }, "downloads": -1, "filename": "cparse-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a9aa5ec15bd5afd554ce967c62bfb240", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34409, "upload_time": "2019-04-16T01:13:41", "url": "https://files.pythonhosted.org/packages/92/f0/1dff52602db2340ccea9ddac4f95d4dba4320d00ab926ce80784471146b9/cparse-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "902662f1ffab8b1ff09041fbd9e93de6", "sha256": "383ea836ccab101af8967682e4ef0173e6b05a0bbb66b9a028de286a516bdf21" }, "downloads": -1, "filename": "cparse-0.0.2.tar.gz", "has_sig": false, "md5_digest": "902662f1ffab8b1ff09041fbd9e93de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21608, "upload_time": "2019-04-16T01:13:32", "url": "https://files.pythonhosted.org/packages/98/15/e202eb9b79db19fe89a1796225fb8c6f936b9e1df781eb3761dbe6357cb2/cparse-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9aa5ec15bd5afd554ce967c62bfb240", "sha256": "4fead9e030305c48eda401b78ae9f735b5d718bf718a6bf82c7760b05f0b18e7" }, "downloads": -1, "filename": "cparse-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a9aa5ec15bd5afd554ce967c62bfb240", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34409, "upload_time": "2019-04-16T01:13:41", "url": "https://files.pythonhosted.org/packages/92/f0/1dff52602db2340ccea9ddac4f95d4dba4320d00ab926ce80784471146b9/cparse-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "902662f1ffab8b1ff09041fbd9e93de6", "sha256": "383ea836ccab101af8967682e4ef0173e6b05a0bbb66b9a028de286a516bdf21" }, "downloads": -1, "filename": "cparse-0.0.2.tar.gz", "has_sig": false, "md5_digest": "902662f1ffab8b1ff09041fbd9e93de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21608, "upload_time": "2019-04-16T01:13:32", "url": "https://files.pythonhosted.org/packages/98/15/e202eb9b79db19fe89a1796225fb8c6f936b9e1df781eb3761dbe6357cb2/cparse-0.0.2.tar.gz" } ] }