Walkmate
Traverse the file tree.
Installation
pip install walkmate
Usage
Given a multi-level directory structure:
.
├── one.py
├── two.py
└── child
└── three.py
We can list all the files tree:
>>> tree("test/fixtures")
["one.py", "two.py", "child/three.py"]
Filter with a regex:
>>> tree("test/fixtures", r"one\.py$")
["one.py"]
Add exlude patterns too:
>>> tree("test/fixtures", r"\.py$", [r"one\.py$"])
["two.py", "child/three.py"]
Specify the maximum depth:
>>> tree("test/fixtures", depth=1)
["one.py", "two.py"]
Metadata
Release files for walkmate 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| walkmate-1.5.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| walkmate-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / walkmate-1.5.0.tar.gz
| Download URL | walkmate-1.5.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
626c5e84d589fd1e107d2e0d8f5f3aa0e2b251f72bfe38c4d7694c3158f49117
|
|
BLAKE2b-256 checksum How to use checksums |
5269c69095be5ccbf81603f3c45509facf37b16eb1dec4254d22e9fd8befba81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Release files / walkmate-1.5.0-py3-none-any.whl
| Download URL | walkmate-1.5.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5024879da3e9de4ab67271d99279ed849b94b3c2c709c48dc2b3fd81bb75e659
|
|
BLAKE2b-256 checksum How to use checksums |
dc5b1cec5d86b4556deaa5be234fccba5d2bbec00bd6420b4ed4467ed4e10624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|