{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: MacOS X", "Operating System :: MacOS", "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" ], "description": "\n\n[]()\n[](https://pypi.org/project/mdfind/)\n\n#### Installation\n```bash\n$ [sudo] pip install mdfind\n```\n\n#### Functions\nfunction|`__doc__`\n-|-\n`mdfind.count(query=None, name=None, onlyin=None)` |return search results count\n`mdfind.mdfind(args)` |execute mdfind with arguments\n`mdfind.name(name, onlyin=None)` |`mdfind -name name` search by name\n`mdfind.query(query, onlyin=None)` |search by Spotlight query\n\n#### Examples\n```python\n>>> import mdfind\n>>> mdfind.name('Group Containers')\n['/Users/username/Library/Group Containers']\n```\n\n```python\n>>> mdfind.query('kMDItemContentType==public.shell-script')\n[...]\n```\n\n```python\n>>> mdfind.count(query='kMDItemContentType==public.mp3')\n42\n>>> mdfind.count(name='Group Containers')\n1\n```\n\n```python\n>>> mdfind.mdfind(['-count','-onlyin','/usr','kMDItemContentType==public.shell-script'])\n42\n```\n\n#### Links\n+ [File Metadata Query Expression Syntax](https://developer.apple.com/library/archive/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html)\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://github.com/looking-for-a-job/mdfind.py", "keywords": "mdfind", "license": "", "maintainer": "", "maintainer_email": "", "name": "mdfind", "package_url": "https://pypi.org/project/mdfind/", "platform": "", "project_url": "https://pypi.org/project/mdfind/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/mdfind.py" }, "release_url": "https://pypi.org/project/mdfind/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "mdfind wrapper", "version": "2019.4.13" }, "last_serial": 5587467, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "e187a0c086d5f4ff813822aa2a0ccd8f", "sha256": "b0e3db8a6a4d54a06028f1dc01e670e27fa385c8cc5fe6db290994b46e572ec8" }, "downloads": -1, "filename": "mdfind-0.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e187a0c086d5f4ff813822aa2a0ccd8f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1984, "upload_time": "2018-09-22T22:42:23", "url": "https://files.pythonhosted.org/packages/25/0e/1cccad1f8475e0b49b40f692325cfadc202bb55ac3029cd2afafc8c75d7f/mdfind-0.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0702013ce2d77a95a6efdaa354d1a7b", "sha256": "5299e2569a0e05e14da1c2f1cf91d01bdca3648b3ab54858dbc418ebe8b1e4ed" }, "downloads": -1, "filename": "mdfind-0.0.0.tar.gz", "has_sig": false, "md5_digest": "c0702013ce2d77a95a6efdaa354d1a7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1373, "upload_time": "2018-09-22T22:42:25", "url": "https://files.pythonhosted.org/packages/50/a2/994b685166351d266904325479c47ef51ac1c057ec45392c5adb7da9e511/mdfind-0.0.0.tar.gz" } ], "2018.11.20": [ { "comment_text": "", "digests": { "md5": "cfd03f33eee793f030cfdd2cd0cfdc3a", "sha256": "07c82bc2c9a98ed154013905a17c95cfaf37c04638117efaf5b9d87780e23d29" }, "downloads": -1, "filename": "mdfind-2018.11.20-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cfd03f33eee793f030cfdd2cd0cfdc3a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8855, "upload_time": "2018-11-20T18:00:25", "url": "https://files.pythonhosted.org/packages/46/90/4eae40474e58aa6d6536cbe9f0c284652225e4bc6b8c47421ddf1680443b/mdfind-2018.11.20-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c94abaa9a2748ce9d1de0ffc12a2fd2c", "sha256": "a179c226aa477c664c2063711b0682962cebea02ce212b9fcd2df4215b131dd2" }, "downloads": -1, "filename": "mdfind-2018.11.20.tar.gz", "has_sig": false, "md5_digest": "c94abaa9a2748ce9d1de0ffc12a2fd2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1622, "upload_time": "2018-11-20T18:00:27", "url": "https://files.pythonhosted.org/packages/3b/25/e27f0c674922345809f4c37326c01ef0850ac51078b2eb2e715df73b6847/mdfind-2018.11.20.tar.gz" } ], "2019.3.22": [ { "comment_text": "", "digests": { "md5": "4ca99c8912bff79fc7f52ecb6d5b032e", "sha256": "34cf3b1d88a24240df3646934e436715e753930e82a05a11d5eb17c749286dd8" }, "downloads": -1, "filename": "mdfind-2019.3.22-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4ca99c8912bff79fc7f52ecb6d5b032e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 129527, "upload_time": "2019-03-24T11:15:00", "url": "https://files.pythonhosted.org/packages/40/af/b96a53ba97a34aaf3b3c2c41bd4135290ece7647dfedae6c881746693e64/mdfind-2019.3.22-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "810734edc14d446e9d53298f9663e6ac", "sha256": "c74d5f3a355b16cd1ccf9527320d639d107c1c82072f6c903c0dfc7df8abfc41" }, "downloads": -1, "filename": "mdfind-2019.3.22.tar.gz", "has_sig": false, "md5_digest": "810734edc14d446e9d53298f9663e6ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1764, "upload_time": "2019-03-24T11:15:01", "url": "https://files.pythonhosted.org/packages/a4/4c/cc818467ab8d282aacbd4ea434c2cf4052663bab817c42e6681bf3614415/mdfind-2019.3.22.tar.gz" } ], "2019.4.13": [ { "comment_text": "", "digests": { "md5": "8a99a0b96313eda2564d53b94fb7d3b1", "sha256": "e2c52016a7e6b37cfaa7d789cc8b4d489d372907bfd9b9695d19c2e1109e8a81" }, "downloads": -1, "filename": "mdfind-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "8a99a0b96313eda2564d53b94fb7d3b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1791, "upload_time": "2019-04-13T08:12:50", "url": "https://files.pythonhosted.org/packages/9a/fc/85525fa26cf9c0b5d4e510f08e5ddf4f9738a84598e2e60e9f79192544e5/mdfind-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a99a0b96313eda2564d53b94fb7d3b1", "sha256": "e2c52016a7e6b37cfaa7d789cc8b4d489d372907bfd9b9695d19c2e1109e8a81" }, "downloads": -1, "filename": "mdfind-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "8a99a0b96313eda2564d53b94fb7d3b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1791, "upload_time": "2019-04-13T08:12:50", "url": "https://files.pythonhosted.org/packages/9a/fc/85525fa26cf9c0b5d4e510f08e5ddf4f9738a84598e2e60e9f79192544e5/mdfind-2019.4.13.tar.gz" } ] }