Metadata-Version: 2.1
Name: pathstring
Version: 0.1.0
Summary: String with path operations.
Home-page: https://github.com/uyar/pathstring
License: BSD-3-Clause
Keywords: path
Author: H. Turgut Uyar
Author-email: uyar@tekir.org
Requires-Python: >=3.5,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Documentation, https://github.com/uyar/pathstring
Project-URL: Repository, https://github.com/uyar/pathstring
Description-Content-Type: text/x-rst

pathstring is a very small module that provides a string class
which supports path operations. Technically, it subclasses ``str``
and delegates path related operations to ``pathlib.Path``.

Differences from pathlib paths are:

- Paths are strings, no need to cast them to strings.

- It adds an ``rmtree`` operation which invokes ``shutil.rmtree``.
  Actually, since paths are also strings, in addition to ``path.rmtree()``,
  ``shutil.rmtree(path)`` will also work.

- It adds a ``strict`` parameter to the ``relative_to`` operation
  which, when set to ``False`` will also navigate up in the hierarchy.

License
-------

Copyright (C) 2019 H. Turgut Uyar <uyar@tekir.org>

pathstring is released under the BSD license. Read the included
``LICENSE.txt`` file for details.

