{ "info": { "author": "Marco Buttu", "author_email": "marco.buttu@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Education", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.3", "Topic :: Documentation", "Topic :: Education :: Testing", "Topic :: Text Processing :: Filters", "Topic :: Utilities" ], "description": "=============================\nInstalling and using PyFinder\n=============================\n\nIntroduction\n============\nPyFinder allows you either to find files in the file-system or some text\ninside files. \nIt provides a library (the `pyfinder.py` file) and a script called ``pyfinder``,\nthat can be executed from the command line.\n\n\nSupported Python versions\n=========================\nPyFinder requires Python version 3.3 or above.\n\n\nInstallation instructions\n=========================\nPyFinder is only released as a source distribution. Installing by \n`pip `_ is the simplest and preferred way on all systems::\n\n $ pip install pyfinder\n\nOtherwise download the source tarball from ``_,\nuncompress it, enter the `pyfinder-x.y` directory and then run the ``install`` command::\n\n $ python setup.py install\n\nHow to use PyFinder\n===================\nTo use the ``pyfinder`` module just import it and call its functions. Here is some\nexamples::\n\n >>> import os\n >>> import email\n >>> import pyfinder\n >>> for file in pyfinder.file_finder('message.py', os.path.dirname(email.__file__)):\n ... print(os.path.basename(file))\n ... \n ... \n message.py\n >>> for match in pyfinder.file_inspector(pyfinder.__file__, 'def file_*'):\n ... print(match, end='')\n ... \n ... \n def file_finder(pattern: str, top_dir: str=os.curdir, recursive: bool=False):\n def file_inspector(file_name: str, pattern: str):\n\nFor more information about the module usage look at its documentation (``pyfinder.__doc__``).\nThere is also a ``pyfinder`` script that allows you to easily find files and text inside files\nfrom the command line. For information about the script usage look at the output of ``pyfinder -h``.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/pyfinder/", "keywords": "python generators distutils", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pyfinder", "package_url": "https://pypi.org/project/pyfinder/", "platform": "all", "project_url": "https://pypi.org/project/pyfinder/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi/pyfinder/" }, "release_url": "https://pypi.org/project/pyfinder/0.2/", "requires_dist": null, "requires_python": null, "summary": "Look for files and text inside files", "version": "0.2" }, "last_serial": 743352, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c2fc95578eca70b0ac3381eec802865e", "sha256": "4220996924ec745f8449a8b9aefcf17dde149420d79d50cee4cd2f012d846a59" }, "downloads": -1, "filename": "pyfinder-0.1.tar.gz", "has_sig": false, "md5_digest": "c2fc95578eca70b0ac3381eec802865e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2686, "upload_time": "2013-05-08T17:11:58", "url": "https://files.pythonhosted.org/packages/bf/df/dbb2e9bd6712ba05a27e24ca17637c3704a2ba2812f96be12295ffe4f987/pyfinder-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "5b35bf886b2142bf5ac15d6adad4e354", "sha256": "681cf2dcdab2917aac6e5295a6501a3c3c6f4711faf4695a78d045b4c3f65500" }, "downloads": -1, "filename": "pyfinder-0.2.tar.gz", "has_sig": false, "md5_digest": "5b35bf886b2142bf5ac15d6adad4e354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2695, "upload_time": "2013-05-10T06:08:22", "url": "https://files.pythonhosted.org/packages/ec/d1/bd4f7fcd2443afdca5c636f7392e52854fc37273608a450e8cc565a1695e/pyfinder-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b35bf886b2142bf5ac15d6adad4e354", "sha256": "681cf2dcdab2917aac6e5295a6501a3c3c6f4711faf4695a78d045b4c3f65500" }, "downloads": -1, "filename": "pyfinder-0.2.tar.gz", "has_sig": false, "md5_digest": "5b35bf886b2142bf5ac15d6adad4e354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2695, "upload_time": "2013-05-10T06:08:22", "url": "https://files.pythonhosted.org/packages/ec/d1/bd4f7fcd2443afdca5c636f7392e52854fc37273608a450e8cc565a1695e/pyfinder-0.2.tar.gz" } ] }