.. image:: https://img.shields.io/pypi/v/jaraco.path.svg
:target: https://pypi.org/project/jaraco.path
.. image:: https://img.shields.io/pypi/pyversions/jaraco.path.svg
.. image:: https://github.com/jaraco/jaraco.path/workflows/tests/badge.svg
:target: https://github.com/jaraco/jaraco.path/actions?query=workflow%3A%22tests%22
:alt: tests
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: Black
.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/badge/skeleton-2023-informational
:target: https://blog.jaraco.com/skeleton
Hidden File Detection
---------------------
``jaraco.path`` provides cross platform hidden file detection::
from jaraco import path
if path.is_hidden('/'):
print("Your root is hidden")
hidden_dirs = filter(is_hidden, os.listdir('.'))
Directory Builder
-----------------
When testing (and perhaps in other cases), it's often necessary to construct
a tree of directories/files. This project provides a ``build`` function to
simply create such a directory from a dictionary definition::
from jaraco.path import build
build(
{
'foo': 'Content of foo',
'subdir': {
'foo': 'Content of subdir/foo',
},
},
)
Raw data
{
"_id": null,
"home_page": "https://github.com/jaraco/jaraco.path",
"name": "jaraco.path",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Jason R. Coombs",
"author_email": "jaraco@jaraco.com",
"download_url": "https://files.pythonhosted.org/packages/aa/b4/b86cfcf87d841271a56903a75001e58f1e6b5fdb3a211c1ec5ad6e7de03a/jaraco.path-3.7.0.tar.gz",
"platform": null,
"description": ".. image:: https://img.shields.io/pypi/v/jaraco.path.svg\n :target: https://pypi.org/project/jaraco.path\n\n.. image:: https://img.shields.io/pypi/pyversions/jaraco.path.svg\n\n.. image:: https://github.com/jaraco/jaraco.path/workflows/tests/badge.svg\n :target: https://github.com/jaraco/jaraco.path/actions?query=workflow%3A%22tests%22\n :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n :target: https://github.com/astral-sh/ruff\n :alt: Ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Code style: Black\n\n.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest\n.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2023-informational\n :target: https://blog.jaraco.com/skeleton\n\nHidden File Detection\n---------------------\n\n``jaraco.path`` provides cross platform hidden file detection::\n\n from jaraco import path\n if path.is_hidden('/'):\n print(\"Your root is hidden\")\n\n hidden_dirs = filter(is_hidden, os.listdir('.'))\n\n\nDirectory Builder\n-----------------\n\nWhen testing (and perhaps in other cases), it's often necessary to construct\na tree of directories/files. This project provides a ``build`` function to\nsimply create such a directory from a dictionary definition::\n\n from jaraco.path import build\n build(\n {\n 'foo': 'Content of foo',\n 'subdir': {\n 'foo': 'Content of subdir/foo',\n },\n },\n )\n",
"bugtrack_url": null,
"license": "",
"summary": "miscellaneous path functions",
"version": "3.7.0",
"project_urls": {
"Homepage": "https://github.com/jaraco/jaraco.path"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3c7791eee32a2e145965a2b8487690b96a57c4e7917600a0130a3b0b62cca80c",
"md5": "5857eeb7ba5329197e938121cd935b3d",
"sha256": "12af6d2eebff5970471390281692b35e1d9ef55caf8033f8ed38c297fe704345"
},
"downloads": -1,
"filename": "jaraco.path-3.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5857eeb7ba5329197e938121cd935b3d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6401,
"upload_time": "2023-07-07T15:50:51",
"upload_time_iso_8601": "2023-07-07T15:50:51.577760Z",
"url": "https://files.pythonhosted.org/packages/3c/77/91eee32a2e145965a2b8487690b96a57c4e7917600a0130a3b0b62cca80c/jaraco.path-3.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aab4b86cfcf87d841271a56903a75001e58f1e6b5fdb3a211c1ec5ad6e7de03a",
"md5": "17cb2a412540b8026e243a05b98840c7",
"sha256": "bd55b67bbf53557d1fe1059d27fc4c2652ba1e94451a14f6678235d7703cf650"
},
"downloads": -1,
"filename": "jaraco.path-3.7.0.tar.gz",
"has_sig": false,
"md5_digest": "17cb2a412540b8026e243a05b98840c7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 11039,
"upload_time": "2023-07-07T15:50:53",
"upload_time_iso_8601": "2023-07-07T15:50:53.003639Z",
"url": "https://files.pythonhosted.org/packages/aa/b4/b86cfcf87d841271a56903a75001e58f1e6b5fdb3a211c1ec5ad6e7de03a/jaraco.path-3.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-07 15:50:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jaraco",
"github_project": "jaraco.path",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "jaraco.path"
}