mpath: simple tool to get path information
What is it?
For now it's quit simple and get_path_info() method returns information about given path. It can be either a directory or a file path.
Where to get it
The source code is currently hosted on GitHub at: https://github.com/MosesDastmard/mpath
Binary installers for the latest released version are available at the Python Package Index (PyPI)
# or PyPI
pip install mpath
Example
# or PyPI
from mpath import get_path_info
path = "/home/user/data.csv"
path_info = get_path_info(path)
print(path)
Release files for mpath 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mpath-1.1.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpath-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / mpath-1.1.3.tar.gz
| Download URL | mpath-1.1.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8ecaf91bded57e12676d0373bf27acc154dea56c386f6ad05b476bc2c6ddc4f
|
|
BLAKE2b-256 checksum How to use checksums |
94136a0c241e4bbbda9e6f696241a95c87e5cf8b1a16827e80b882fb80f332d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / mpath-1.1.3-py3-none-any.whl
| Download URL | mpath-1.1.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c69420ef3e4b5e4e9613661408317ae1c76dc10042cb110f041bcde847cb9bd0
|
|
BLAKE2b-256 checksum How to use checksums |
499e2102a6568f044219398178ae34dd5672818c4411cf757f77c6a29a48b638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|