{ "info": { "author": "H. Turgut Uyar", "author_email": "uyar@tekir.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "|pypi| |support| |license| |pipelines| |black|\n\n.. |pypi| image:: https://img.shields.io/pypi/v/pathstring.svg?style=flat-square\n :target: https://pypi.org/project/pathstring/\n :alt: PyPI version.\n\n.. |support| image:: https://img.shields.io/pypi/pyversions/pathstring.svg?style=flat-square\n :target: https://pypi.org/project/pathstring/\n :alt: Supported Python versions.\n\n.. |license| image:: https://img.shields.io/pypi/l/pathstring.svg?style=flat-square\n :target: https://pypi.org/project/pathstring/\n :alt: Project license.\n\n.. |pipelines| image:: https://dev.azure.com/uyar0839/pathstring/_apis/build/status/uyar.pathstring?branchName=master\n :target: https://dev.azure.com/uyar0839/pathstring/_build\n :alt: Azure Pipelines build status.\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square\n :target: https://github.com/python/black\n :alt: Code formatted by Black.\n\n\npathstring is a very small module that provides only one class\n(``pathstring.Path``) which is a string with support for path operations.\nTechnically, it subclasses ``str`` and delegates path related operations to\n``pathlib.Path``.\n\nDifferences from pathlib paths are:\n\n- Paths are strings, no need to cast them to strings.\n\n- No distinction between \"pure\" and \"concrete\" paths.\n\n- No explicit distinction between Posix and Windows paths, but paths are\n always \"native\" to their platform.\n\n- Adds a ``Path.rmtree()`` method which invokes ``shutil.rmtree()``\n on the path. Actually, since paths are strings, ``shutil.rmtree(path)``\n will also work.\n\n- Adds a ``strict`` parameter to the ``Path.relative_to()`` method\n which, when set to ``False``, will also navigate \"up\" in the hierarchy.\n\n- No support for case-insensitive comparisons on Windows.\n\n- No ``Path.replace()`` method since it would cause confusion with\n ``str.replace()``.\n\nFeatures are tested extensively against `pathlib documentation`_ to guarantee\ncompatibility.\n\nLicense\n-------\n\nCopyright (C) 2019 H. Turgut Uyar \n\npathstring is released under the BSD license. Read the included\n``LICENSE.txt`` file for details.\n\n.. _pathlib documentation: https://docs.python.org/3/library/pathlib.html\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.org/project/pathstring/", "keywords": "path", "license": "BSD-3-Clause", "maintainer": "H. Turgut Uyar", "maintainer_email": "uyar@tekir.org", "name": "pathstring", "package_url": "https://pypi.org/project/pathstring/", "platform": "", "project_url": "https://pypi.org/project/pathstring/", "project_urls": { "Homepage": "https://pypi.org/project/pathstring/", "Repository": "https://github.com/uyar/pathstring" }, "release_url": "https://pypi.org/project/pathstring/1.0.0/", "requires_dist": null, "requires_python": ">=3.5,<4.0", "summary": "String with path operations.", "version": "1.0.0" }, "last_serial": 5343495, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f4e5963cc318fe283b1ef09356e1bf09", "sha256": "24483891970d7988b823a44818c6ba1c0c8a01b9b46ff43da3543a4d27ca684c" }, "downloads": -1, "filename": "pathstring-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f4e5963cc318fe283b1ef09356e1bf09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 10019, "upload_time": "2019-03-27T09:47:26", "url": "https://files.pythonhosted.org/packages/3b/8e/d75953a7e3b0542a2017732d4382013c8a3f2c55ba450aea734506a2a05e/pathstring-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82a89f5fc234d9e5182679e1d85ae167", "sha256": "0f28a01953a29f79d8c634a438fa8921e4ae456f8a7d4786df67c4797a8067f5" }, "downloads": -1, "filename": "pathstring-0.1.0.tar.gz", "has_sig": false, "md5_digest": "82a89f5fc234d9e5182679e1d85ae167", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 4508, "upload_time": "2019-03-27T09:47:28", "url": "https://files.pythonhosted.org/packages/93/db/b79884103740b60ffe03ad06a7b5d011f648992d25152237c82a940fb4bf/pathstring-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0770034593d60d9e257028e7f1426390", "sha256": "18971b12acdaaba11f5f443552c7e4a0e5bba9d5092d4906ad40b42e28c4b2ed" }, "downloads": -1, "filename": "pathstring-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0770034593d60d9e257028e7f1426390", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11841, "upload_time": "2019-05-22T19:16:55", "url": "https://files.pythonhosted.org/packages/8b/b1/b9800f136d50e2797022c1e05836680194ad3bc6ed34b760964650626260/pathstring-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e970e2dcb1debbb09ac0b43dc7242654", "sha256": "9949141ab634f722593c80c864f3db29fb28e481ba574aa790a73b8a89635354" }, "downloads": -1, "filename": "pathstring-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e970e2dcb1debbb09ac0b43dc7242654", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 4904, "upload_time": "2019-05-22T19:16:56", "url": "https://files.pythonhosted.org/packages/f2/1d/97e73f49c7ed23040d5fdab893f8f160ed218a56c1fe37f0a5e192cc78b8/pathstring-0.2.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "9e550dce81fce1d93e15ef1ae961a768", "sha256": "8a89d029d8ccffb4a0c27d393ddae688ba2a5e88a1d5207c02f9902654c7e0d2" }, "downloads": -1, "filename": "pathstring-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9e550dce81fce1d93e15ef1ae961a768", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11895, "upload_time": "2019-05-31T16:08:44", "url": "https://files.pythonhosted.org/packages/a3/59/b45850ded1299fd38465d3d6c88a0e16731ef2eef3edf8ab9c59375c26b4/pathstring-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b2934c0c68dc3c919e4ba95962d42ea", "sha256": "98173829639fcb239ca4c2cc8078854a92c30c57d9307e0ad60fabebc689e11e" }, "downloads": -1, "filename": "pathstring-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5b2934c0c68dc3c919e4ba95962d42ea", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 10936, "upload_time": "2019-05-31T16:08:46", "url": "https://files.pythonhosted.org/packages/7c/d6/32d26ab085a1aa9c7a8dbab27b78480b0da6ba4ab75ef25c898a770d8891/pathstring-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9e550dce81fce1d93e15ef1ae961a768", "sha256": "8a89d029d8ccffb4a0c27d393ddae688ba2a5e88a1d5207c02f9902654c7e0d2" }, "downloads": -1, "filename": "pathstring-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9e550dce81fce1d93e15ef1ae961a768", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11895, "upload_time": "2019-05-31T16:08:44", "url": "https://files.pythonhosted.org/packages/a3/59/b45850ded1299fd38465d3d6c88a0e16731ef2eef3edf8ab9c59375c26b4/pathstring-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b2934c0c68dc3c919e4ba95962d42ea", "sha256": "98173829639fcb239ca4c2cc8078854a92c30c57d9307e0ad60fabebc689e11e" }, "downloads": -1, "filename": "pathstring-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5b2934c0c68dc3c919e4ba95962d42ea", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5,<4.0", "size": 10936, "upload_time": "2019-05-31T16:08:46", "url": "https://files.pythonhosted.org/packages/7c/d6/32d26ab085a1aa9c7a8dbab27b78480b0da6ba4ab75ef25c898a770d8891/pathstring-1.0.0.tar.gz" } ] }