# smart_pathlib - utils for making common path operations interoperable with Cloud object storages
## What ?
smart_pathlib is highly inspired by smart_open and provide drop-in replacement for Python part of os, os.path, glob modules functions such as exists, stat, listdir, glob.
## Why ?
The goal is to provide a clean and Pythonic API for common file manipulations. It simplifies rapid application development, making your code that manipulates files interoperable with local file system and Cloud blob storage solutions such as S3, GCS, Azure Blob Storage.
## Example
A drop-in replacement os.path.exists that operates on different storage types:
`python # Test if a local file exists from smart_pathlib import exists assert exists('/Users/me/Downloads/test_file.txt') `
`python # Test if a file exists on GCS from smart_pathlib import exists assert exists('gs://my_bucket/test_file.txt') `
## Installation
You can select the “flavor” of smart_pathlib to install, depending on your storage provider:
` pip install smart_pathlib[gcp] # Install GCP deps `
Or install all packages using: ` pip install smart_pathlib[all] `
Metadata
Release files for smart-pathlib 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smart_pathlib-0.0.1.tar.gz | 6.8 kB | Without provenance | Details for smart_pathlib-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smart_pathlib-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for smart_pathlib-0.0.1-py3-none-any.whl |
Total release size: 15.5 kB
Release files / smart_pathlib-0.0.1.tar.gz
| Download URL | smart_pathlib-0.0.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c666906a3661cbb240e55e853fe2a374b4ac694f04fc98f37332e8e83476a689
|
|
BLAKE2b-256 checksum How to use checksums |
8cad9df693b0826c6827a998f8c37ef3b450ffc939604def1f72bbd408001a2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / smart_pathlib-0.0.1-py3-none-any.whl
| Download URL | smart_pathlib-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65da5b3b81067c9e02c197940c61815a2628ce54823eb105dba3492d64fb29e7
|
|
BLAKE2b-256 checksum How to use checksums |
9209e43c28492dcaa41ec79e5dc1c878dce0ae1b9765fed639d9433a27bf4f23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for smart-pathlib 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.