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.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
mpath-1.1.0-py3-none-any.whl
(2.9 kB
view hashes)