Skip to main content

repathlib

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')
docs.search('d[a-z]+')

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

list(docs.reiterdir('\.rst'))

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

Complete documentation is on readthedocs.

Download files

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

Source Distribution

repathlib-0.1.5.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repathlib-0.1.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file repathlib-0.1.5.tar.gz.

File metadata

  • Download URL: repathlib-0.1.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for repathlib-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8c01c2c37f999dc7687ce5ef3155259d1641b81623e42340836c42b03604b4ad
MD5 cb6257d631f2c88b7299759fd4b0f640
BLAKE2b-256 6880a2292f500ac98de4bb036d7e2df8a35ff6cc73ba8749c1e420d5f8625959

See more details on using hashes here.

File details

Details for the file repathlib-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: repathlib-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for repathlib-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 02930aa9c57cb7e3269ddcf1d7e887b81746ab5e9dfe846a027b0c02e14df719
MD5 e2448d6aaf8da153128c96de74b13891
BLAKE2b-256 44059aa98a9752ad81b7612a62dc1e832aba554d7dfe41342dc58005eb7b9b95

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page