Skip to main content

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)

Source distribution for quickpathstr 0.0.4
File Size Uploaded
quickpathstr-0.0.4.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quickpathstr 0.0.4
File Interpreter ABI Platform
quickpathstr-0.0.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

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