Skip to main content

give basic information about path

Project description

mpath: simple tool to get path information

PyPI Latest Release

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 hashes)

Uploaded Source

Built Distribution

mpath-1.1.3-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page