Skip to main content

Tinypath is a tiny file path module that provides only the most crucial and commonly needed functionality, including turning files and folders into classes. Designed as a companion module for projects that require handling arbitrary paths from users without breaking, and easy navigation of local file systems.

By staying tiny in both size and functionality, the API is easy to learn so you can start using it right away. Essentially, it provides object-oriented access to files and folders with several convenient attributes such as checking file or folder size, handling a lot of the intricacies of os.path behind the scene so you do not have to.

Platforms

Tested on Python version 2.x.

Dependencies

Pure Python, no dependencies.

Installing it

Tinypath is installed with pip from the commandline:

pip install tinypath

More Information:

License:

This code is free to share, use, reuse, and modify according to the MIT license, see license.txt

Credits:

Karim Bahgat (2015)

Changes

0.1.1 (2015-12-11)

  • Lowercased package name

0.1.0 (2015-06-26)

  • First pypi release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinypath-0.1.1.zip (8.5 kB view details)

Uploaded Source

File details

Details for the file tinypath-0.1.1.zip.

File metadata

  • Download URL: tinypath-0.1.1.zip
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinypath-0.1.1.zip
Algorithm Hash digest
SHA256 0f17b727336c2eab536c34779936d8386ddd8ddb2a0eeb3031e9a1dfba7a3005
MD5 8da4ebfa34d9a0806e8500dc959016a1
BLAKE2b-256 4aa294557b2be0968a3f7b6ba857188590dd4c40340be70965b8189f6e29cddb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page