Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

pathlib with regular expressions

Project description


repathlib is a package that combines repathlib and re, enabling you to search, match, etc., on Path objects, and to search directories with Path.reiterdir:

from repathlib import Path
docs = Path('docs')'d[a-z]+')

<re.Match object; span=(0, 4), match='docs'>


[PosixPath('docs/api.rst'), PosixPath('docs/index.rst')]

Complete documentation is on readthedocs.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for repathlib, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size repathlib-0.1.5-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size repathlib-0.1.5.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page