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
mpath-1.1.3.tar.gz
(2.6 kB
view details)
Built Distribution
mpath-1.1.3-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file mpath-1.1.3.tar.gz
.
File metadata
- Download URL: mpath-1.1.3.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 | f8ecaf91bded57e12676d0373bf27acc154dea56c386f6ad05b476bc2c6ddc4f |
|
MD5 | 126d7409b61c5f286c908a3b98834f83 |
|
BLAKE2b-256 | 94136a0c241e4bbbda9e6f696241a95c87e5cf8b1a16827e80b882fb80f332d1 |
File details
Details for the file mpath-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: mpath-1.1.3-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 | c69420ef3e4b5e4e9613661408317ae1c76dc10042cb110f041bcde847cb9bd0 |
|
MD5 | 82997c957407e8083f7a8cda63c20fd8 |
|
BLAKE2b-256 | 499e2102a6568f044219398178ae34dd5672818c4411cf757f77c6a29a48b638 |