{ "info": { "author": "Yan Wenjun", "author_email": "mylastnameisyan@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Libraries" ], "description": "python file system better assertion\n===================================\n\nAn assertion lib for ``the`` to assert file system stuff.\n\nAPI\n===\n\n- ``basename(dir)``. assert basename of a path.\n- ``dirname(dir)``. assert dirname of a path.\n- ``extname(file)``. assert file extension\n- ``path``. assert path exists\n- ``file``. assert it a file\n- ``dir``. assert it a dir\n- ``mount``. assert it a mount point\n- ``absolute_path``. assert it an absolute path\n- ``readable``. assert readable.\n- ``writable``. assert writable.\n- ``executable`` assert executable\n\nUsage:\n======\n\n.. code:: python\n\n from the import the\n import thefs\n\n the.use(thefs)\n\n the(\"/a/b/c.md\").should.have.basename(\"c.md\")\n the(\"/a/b/c.md\").should.have.dirname(\"/a/b\")\n the(\"/a/b/c.md\").should.have.extname(\"/a/b\")\n\n the(\"/a/b/c.md\").should.be.a.path\n the(\"/a/b/c.md\").should.be.a.file\n the(\"/a/b/c.md\").should.be.a.dir\n the(\"/a/b/c.md\").should.be.a.link\n the(\"/a/b/c.md\").should.be.a.mount\n the(\"/a/b/c.md\").should.be.an.absolute_path\n\n the(\"/a/b/c.md\").should.be.readable\n the(\"/a/b/c.md\").should.be.writable\n the(\"/a/b/c.md\").should.be.executable", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/the-py/the-fs", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "thefs", "package_url": "https://pypi.org/project/thefs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/thefs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/the-py/the-fs" }, "release_url": "https://pypi.org/project/thefs/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "file system assertion plugin for `the`", "version": "0.0.1" }, "last_serial": 900640, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "259b9b6ff739ec919e510c20e33aeb71", "sha256": "6b76d737d7bd0a61db3158381e50c6ed190c0f74c48fce4d2b54c4b98f75b14d" }, "downloads": -1, "filename": "thefs-0.0.1.tar.gz", "has_sig": false, "md5_digest": "259b9b6ff739ec919e510c20e33aeb71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2189, "upload_time": "2013-10-22T15:01:48", "url": "https://files.pythonhosted.org/packages/ac/e2/5d1144dbf264d3e4f2b26a7b0d99223e08bcf9b52d450d1b901190f3e739/thefs-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "259b9b6ff739ec919e510c20e33aeb71", "sha256": "6b76d737d7bd0a61db3158381e50c6ed190c0f74c48fce4d2b54c4b98f75b14d" }, "downloads": -1, "filename": "thefs-0.0.1.tar.gz", "has_sig": false, "md5_digest": "259b9b6ff739ec919e510c20e33aeb71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2189, "upload_time": "2013-10-22T15:01:48", "url": "https://files.pythonhosted.org/packages/ac/e2/5d1144dbf264d3e4f2b26a7b0d99223e08bcf9b52d450d1b901190f3e739/thefs-0.0.1.tar.gz" } ] }