{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "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[](https://pypi.org/project/filetest/)\n\n#### Installation\n```bash\n$ [sudo] pip install filetest\n```\n\n#### Functions\nfunction|`__doc__`\n-|-\n`filetest.d(path)` |return True if path exists and is a directory, else False\n`filetest.f(path)` |return True if file exists and is a regular file, else False\n`filetest.nt(path1, path2)` |return True if path1 is newer than path2, else False\n`filetest.ot(path1, path2)` |return True if path1 is older than path2, else False\n`filetest.r(path)` |return True if path exists and has read permission (for the current user), else False\n`filetest.s(path)` |return True if path exists and is not zero size, else False\n`filetest.w(path)` |return True if path exists and has write permission (for the current user), else False\n`filetest.x(path)` |return True if path exists and has execute permission (for the current user), else False\n\n#### Links\n+ [File test operators](https://www.tldp.org/LDP/abs/html/fto.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/filetest.py", "keywords": "file test", "license": "", "maintainer": "", "maintainer_email": "", "name": "filetest", "package_url": "https://pypi.org/project/filetest/", "platform": "", "project_url": "https://pypi.org/project/filetest/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/filetest.py" }, "release_url": "https://pypi.org/project/filetest/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "file test functions", "version": "2019.4.13" }, "last_serial": 5587351, "releases": { "2019.4.13": [ { "comment_text": "", "digests": { "md5": "27a7bf403bc9be2ca4395b2f4a86976f", "sha256": "d9be238ad0b1fa8758e214ededf7b75e61ddb518581972db13ed8f249305dcbf" }, "downloads": -1, "filename": "filetest-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "27a7bf403bc9be2ca4395b2f4a86976f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1590, "upload_time": "2019-04-17T16:55:06", "url": "https://files.pythonhosted.org/packages/e3/a9/28a070e2c1101a0655047f1d5c34e2ed52217352f5c70e091a5324bf96d2/filetest-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "27a7bf403bc9be2ca4395b2f4a86976f", "sha256": "d9be238ad0b1fa8758e214ededf7b75e61ddb518581972db13ed8f249305dcbf" }, "downloads": -1, "filename": "filetest-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "27a7bf403bc9be2ca4395b2f4a86976f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1590, "upload_time": "2019-04-17T16:55:06", "url": "https://files.pythonhosted.org/packages/e3/a9/28a070e2c1101a0655047f1d5c34e2ed52217352f5c70e091a5324bf96d2/filetest-2019.4.13.tar.gz" } ] }