give basic information about path
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpath-1.1.2.tar.gz.
File metadata
- Download URL: mpath-1.1.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
599587d2b8086f18d42527d13ab815fa73b2e755cedc923799511dae12dc468f
|
|
| MD5 |
ebcc8eb349a95a53ca10f06ffe54f6b8
|
|
| BLAKE2b-256 |
91613d919023b39d0b086a4f92b8422afb0e4151d9b9cf948efab6a556bec9aa
|
File details
Details for the file mpath-1.1.2-py3-none-any.whl.
File metadata
- Download URL: mpath-1.1.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58de3ee5c836edb7c03748f1b75b8c4a88cbafc448d77b2b0525a631a1309fc4
|
|
| MD5 |
3a356f27dea040b3dad9e3793947aff6
|
|
| BLAKE2b-256 |
75206efbb3be6155ad27855621fdc622090dad57e218f67482c745a5eea321a2
|