{ "info": { "author": "plasmashadow", "author_email": "plasmashadowx@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python" ], "description": "## PyLocated\n\n[![Build Status](https://travis-ci.org/sourcepirate/pylocated.svg?branch=master)](https://travis-ci.org/sourcepirate/pylocated)\n\nA Locatedb interface for python\n\n## Installing\n\n```\n pip install pylocated\n\n```\n\n## Usage\n\n```python\nfrom pylocated import locatedb\n\n#if you want to use default locatedb path you\n#can use the class methods for it.\n\nbuffer = locatedb.find('sample.py', limit=20, ignore_case=False, regex=None)\nfiles = buffer.getvalue()\nprint files\n\n#if you want to setup you own path to locatedb\n\nlocate_db = locatedb(db_path='/var/lib/app.db')\nbuffers = locate_db.find(\"sample.py\", limit=20, ignore_case=False, regex=None)\nprint buffers.getvalue()\n\n```\n\n## API\n\n### locatedb.find or instance.find(): [name, limit=None, ignore_case=False, regex=None]\n used to find the particular files in system.\n where pattern inside regex find the matches of path.\n \n### locatedb.count or instance.count: [name]\n used find the number of occurences for that particular word.\n equivalent to locate -c\n\n### locatedb.statistics or instance.statistics : [name]\n used to give the disk statistics\n equivalent to locate -S\n \n### locatedb.version: \n return the version of locatedb you are using.\n \n \n## License:\n MIT\n © 2015 plasmashadow aka sourcepirate\n plasmashadowx@gmail.com", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/plasmashadow/pylocated.git", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pylocated", "package_url": "https://pypi.org/project/pylocated/", "platform": "", "project_url": "https://pypi.org/project/pylocated/", "project_urls": { "Homepage": "https://github.com/plasmashadow/pylocated.git" }, "release_url": "https://pypi.org/project/pylocated/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "python interface for locate command", "version": "2.0.1" }, "last_serial": 3053233, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a8d4fd52f5440de4bc5079ecae9d7f06", "sha256": "b5354be3b99f300267bead523fd3673c515a08b42eea2b50154f17fc9f0021c6" }, "downloads": -1, "filename": "pylocated-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a8d4fd52f5440de4bc5079ecae9d7f06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2410, "upload_time": "2015-10-17T07:26:23", "url": "https://files.pythonhosted.org/packages/50/4a/c74f31a3f6f684d02a3cd13e031c148afd26baecf0ed3cf52cbf4e88cc64/pylocated-1.0.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "2e1aab12d93535b6faff2790872807fd", "sha256": "1663358e76921f4c6a780002e6e147f32c2dfbb249e18f1bc3341c65cbaa13db" }, "downloads": -1, "filename": "pylocated-2.0.0.tar.gz", "has_sig": false, "md5_digest": "2e1aab12d93535b6faff2790872807fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2934, "upload_time": "2015-10-17T07:43:36", "url": "https://files.pythonhosted.org/packages/60/ca/8496cc60bfac69835e10a6e2821b66e389376bd108df70c3260b0a87cda8/pylocated-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "b02ea3ecfcff3047e7b58a6442640894", "sha256": "812f2c3bd64ccf7634f479616caa498feac5065f091d9918bbe374ba667e3383" }, "downloads": -1, "filename": "pylocated-2.0.1.tar.gz", "has_sig": false, "md5_digest": "b02ea3ecfcff3047e7b58a6442640894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3308, "upload_time": "2017-07-27T16:03:49", "url": "https://files.pythonhosted.org/packages/9e/c7/81cdae3cb574beb2e2f5f0b1019c752b45d9c7a50ad1a414a5e900696125/pylocated-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b02ea3ecfcff3047e7b58a6442640894", "sha256": "812f2c3bd64ccf7634f479616caa498feac5065f091d9918bbe374ba667e3383" }, "downloads": -1, "filename": "pylocated-2.0.1.tar.gz", "has_sig": false, "md5_digest": "b02ea3ecfcff3047e7b58a6442640894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3308, "upload_time": "2017-07-27T16:03:49", "url": "https://files.pythonhosted.org/packages/9e/c7/81cdae3cb574beb2e2f5f0b1019c752b45d9c7a50ad1a414a5e900696125/pylocated-2.0.1.tar.gz" } ] }