{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Desktop Environment :: File Managers", "Topic :: System :: Filesystems", "Topic :: Utilities" ], "description": "**[English](https://github.com/victordomingos/Count-files/blob/master/README.md)** | [Português](https://github.com/victordomingos/Count-files/blob/master/docs/README_PT.md) | [Русский](https://github.com/victordomingos/Count-files/blob/master/docs/README_RU.md) | [Українська](https://github.com/victordomingos/Count-files/blob/master/docs/README_UA.md)\n\n\n# Count Files [![Github commits (since latest release)](https://img.shields.io/github/commits-since/victordomingos/Count-files/latest.svg)](https://github.com/victordomingos/Count-files) ![PyPI](https://img.shields.io/pypi/v/count-files) ![PyPI - Downloads](https://img.shields.io/pypi/dm/count-files)\n\nA command-line interface (CLI) utility written in Python to help you\ncounting or searching files with a specific extension, files without an extension or all files regardless of the extension, in the specified directory.\n\n![Count Files_screenshot - counting files by extension](https://user-images.githubusercontent.com/18650184/42160179-29998a52-7dee-11e8-9813-b8594e50fe77.png)\n\n\n## Documentation\n\n- [English](https://countfiles.readthedocs.io/en/latest/)\n- [Português](https://github.com/victordomingos/Count-files/blob/master/docs/Documentation_PT.md)\n- [Русский](https://github.com/victordomingos/Count-files/tree/master/docs/documentation_ru/README.md)\n- [Українська](https://github.com/victordomingos/Count-files/tree/master/docs/documentation_ua/README.md)\n\n\n## Dependencies\n\nTo run this application, you need to have a working Python 3.6+ installation.\n\n\n## Installation\n\n### On regular desktop operating systems\n\nCount Files is a platform-independent application that run in Python and can be easily installed using [pip](https://pip.pypa.io/en/stable/quickstart/):\n\n```\npip3 install count-files\n```\n\nIf you are interested in the current development version, you can simply clone this git repository and install it using [`pip3 install -e`](https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs). Please notice, however, that only released versions are expected to be stable and usable. The development code is often unstable or buggy, for the simple reason that it is a work in progress.\n\n### On iPhone or iPad (in Pythonista 3 for iOS)\n\nIt may also be used on iOS (iPhone/iPad) using the [StaSh](https://github.com/ywangd/stash) \ncommand-line in the Pythonista 3 app. Please see [documentation](https://countfiles.readthedocs.io/en/latest/installation.html) for further instructions. \n\n\n## How to use\n\nTo check the list of available options and their usage, you just need to use\none of the following commands:\n\n```\ncount-files -h\n```\n\n```\ncount-files --help\n```\n\nBy default, the program counts or searches for files recursively in current working directory and all of its subdirectories. Any hidden files or folders will be ignored.\nThe names of extensions are case insensitive by default. The results for `ini` and `INI` will be the same.\n\nOptionally, you can pass it a path to the directory to scan, choose non-recursive counting or searching, process the file extensions with case-sensitive mode and enable search or counting in hidden files and folders. \nYou can get additional information about the size of each found file and see a short preview for text files. \nSee more about [CLI arguments](https://countfiles.readthedocs.io/en/latest/howtouse.html#cli-arguments).\n\nThe most simple form of usage is to type a simple command in the shell, without \nany arguments. It will display a table showing the frequency for \neach file extension (e.g.: .txt, .py, .html, .css) and the total number of \nfiles found.\n\n```\ncount-files\n```\n\nAnother main feature of this application consists in searching files by a \ngiven extension, which presents to the user a list of all found files paths.\n\n```\ncount-files -fe txt [path]\n``` \n```\ncount-files --file-extension txt [path]\n```\n\nYou can also count the total number of files with a certain extension, without listing them.\n\n```\ncount-files -t py [path]\n``` \n```\ncount-files --total py [path]\n```\n\nFor information about files without an extension, specify a single dot as the extension name.\n\n\n```\ncount-files -fe . [path]\n``` \n```\ncount-files --file-extension . [path]\n```\n\n```\ncount-files -t . [path]\n``` \n```\ncount-files --total . [path]\n```\n\nIf you need to list or to count all the files, regardless of the extension, specify two dots as the extension name.\n\n```\ncount-files -fe .. [path]\n``` \n```\ncount-files --file-extension .. [path]\n```\n\n```\ncount-files -t .. [path]\n``` \n```\ncount-files --total .. [path]\n```\n\n## Did you find a bug or do you have a suggestion?\n\nPlease, open a new issue or a pull request to the [repository](https://github.com/victordomingos/Count-files).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://no-title.victordomingos.com/projects/count-files/", "keywords": "file count code analysis cli search extension recursive non-recursive", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "count-files", "package_url": "https://pypi.org/project/count-files/", "platform": "", "project_url": "https://pypi.org/project/count-files/", "project_urls": { "Bug Reports": "https://github.com/victordomingos/Count-files/issues", "Documentation": "https://countfiles.readthedocs.io", "Homepage": "https://no-title.victordomingos.com/projects/count-files/", "Source": "https://github.com/victordomingos/Count-files" }, "release_url": "https://pypi.org/project/count-files/1.5.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "A command-line interface (CLI) utility that helps you count all the files or search for files with a certain file extension (or without it) in the specified directory.", "version": "1.5.0" }, "last_serial": 5657448, "releases": { "1.4.0": [ { "comment_text": "", "digests": { "md5": "c2cd3ec768c9e3398dba56de74c2c806", "sha256": "2ddae0e5d74d87e5f30b131ed9161129f6de16e979dfbf02052ddeb38ae7cddb" }, "downloads": -1, "filename": "count_files-1.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c2cd3ec768c9e3398dba56de74c2c806", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15912, "upload_time": "2018-09-09T20:47:28", "url": "https://files.pythonhosted.org/packages/65/ec/62cb90b55595b583bfea5da0c5dab88644e11c06022c10e6a857ae32cc41/count_files-1.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31755f570347b26c45aef093be9155b4", "sha256": "54145b8e3297ea981ee5e5a4a269fec188410a1de0b88d9b2d7f1f066ed38618" }, "downloads": -1, "filename": "count-files-1.4.0.tar.gz", "has_sig": false, "md5_digest": "31755f570347b26c45aef093be9155b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 14970, "upload_time": "2018-09-09T20:47:30", "url": "https://files.pythonhosted.org/packages/1f/f1/a8e2cec1d122a5f68f25b2056a919796ff46f876c7120fafc4a03aa58c2b/count-files-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "5e8d8cc62bbd0c5cc4e3f8e39e60b170", "sha256": "ab8026a2bf82404fe6a4e5475b080055305e6bafa31878661a7213822db351e7" }, "downloads": -1, "filename": "count_files-1.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e8d8cc62bbd0c5cc4e3f8e39e60b170", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 23917, "upload_time": "2019-08-09T19:13:51", "url": "https://files.pythonhosted.org/packages/a1/8d/12e987a87a5047809422f5d2587ce2a0a320efecfdf94ad229f66244a793/count_files-1.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bdff287adefac24d4bac3d40c3d02a6", "sha256": "4ff8f6e22c6d45c13a912f3c85ff095dc0c7e24ea212bd6cf1375e86dd82ef0b" }, "downloads": -1, "filename": "count-files-1.5.0.tar.gz", "has_sig": false, "md5_digest": "6bdff287adefac24d4bac3d40c3d02a6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21362, "upload_time": "2019-08-09T19:13:53", "url": "https://files.pythonhosted.org/packages/bd/3f/a6565c81983763d65e283fcb2642455315318c9defd52eb29bf84223e1aa/count-files-1.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e8d8cc62bbd0c5cc4e3f8e39e60b170", "sha256": "ab8026a2bf82404fe6a4e5475b080055305e6bafa31878661a7213822db351e7" }, "downloads": -1, "filename": "count_files-1.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e8d8cc62bbd0c5cc4e3f8e39e60b170", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 23917, "upload_time": "2019-08-09T19:13:51", "url": "https://files.pythonhosted.org/packages/a1/8d/12e987a87a5047809422f5d2587ce2a0a320efecfdf94ad229f66244a793/count_files-1.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bdff287adefac24d4bac3d40c3d02a6", "sha256": "4ff8f6e22c6d45c13a912f3c85ff095dc0c7e24ea212bd6cf1375e86dd82ef0b" }, "downloads": -1, "filename": "count-files-1.5.0.tar.gz", "has_sig": false, "md5_digest": "6bdff287adefac24d4bac3d40c3d02a6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21362, "upload_time": "2019-08-09T19:13:53", "url": "https://files.pythonhosted.org/packages/bd/3f/a6565c81983763d65e283fcb2642455315318c9defd52eb29bf84223e1aa/count-files-1.5.0.tar.gz" } ] }