QuickPathStr
Copyright (c) 2023 Sean Yeatts. All rights reserved.
This module provides syntax for working with strings in the context of file management. It's designed to reinforce a universal nomenclature by which files, their types, and their directories may be referred.
API Reference
The core of the API is captured within the Filepath class:
class Filepath:
# Deconstructs a complete filepath into its constituent elements
def __init__(self, complete: str) -> None:
self.complete = complete # Ex: C:\Users\myself\Desktop\MyFile.txt
self.directory = str(Path(self.complete).parent) # Ex: C:\Users\myself\Desktop
self.name = str(Path(self.complete).name) # Ex: MyFile.txt
self.root = str(Path(self.complete).stem) # Ex: MyFile
self.extension = str(Path(self.complete).suffix) # Ex: .txt
Metadata
Release files for quickpathstr 0.0.4
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 |
|---|---|---|---|---|
| quickpathstr-0.0.4.tar.gz | 2.2 kB | Without provenance | Details for quickpathstr-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quickpathstr-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for quickpathstr-0.0.4-py3-none-any.whl |
Total release size: 4.9 kB
Release files / quickpathstr-0.0.4.tar.gz
| Download URL | quickpathstr-0.0.4.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e52088196e5bcab393568f3aa5e748de61366f2dd9cf151f2b10400380fe30ae
|
|
BLAKE2b-256 checksum How to use checksums |
6fafb53047afaddaf9d113ecd1976c24b182807321694f068931423683da4479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / quickpathstr-0.0.4-py3-none-any.whl
| Download URL | quickpathstr-0.0.4-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbf904d5d4f791bd670803197083540d2ec7b13f52ec13819ba12f0b69f1187d
|
|
BLAKE2b-256 checksum How to use checksums |
98904e489df214115c43f96cc088409f7358e0236b68dd2307e2951d8c56cc2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for quickpathstr 0.0.4
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.