Skip to main content

Handy directory operations

Project description

GitHub Pages
PyPI

dir_ops

Handy directory operations along with homemade Dir/Path classes


Installation

pip install kabbes_dir_ops


Usage

For more in-depth documentation, read the information provided on the Pages. Or better yet, read the source code.

import dir_ops as do
do.join( 'C', 'Path', 'To', 'File' )
>>> 'C:/Path/To/File'
do.path_to_dirs( 'C:/Path/To/File/asdf.txt' )
>>> [ 'C', 'Path', 'To', 'File', 'asdf.txt' ]
Path_inst = do.Path( 'C:/Path/To/File/asdf.txt')
print( Path_inst.exists() )
>>> True
Path_inst.print_atts() #from parent_class dependency
>>>
---Path Class---
path:	C:/Path/To/File/asdf.txt
dirs:	['C:', 'Path', 'To', 'File', 'asdf.txt']
ending:	txt
size:	None

Author

James Kabbes

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

kabbes_dir_ops-0.10.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

kabbes_dir_ops-0.10.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file kabbes_dir_ops-0.10.0.tar.gz.

File metadata

  • Download URL: kabbes_dir_ops-0.10.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for kabbes_dir_ops-0.10.0.tar.gz
Algorithm Hash digest
SHA256 f6c5825f66c31cae95caddd21e74a088c0931f2ca56c20b99e475f8ccc1a48f6
MD5 3d428105aee3006f5ba150e03bda122f
BLAKE2b-256 b3c5e409aa2fe341d64bd97fef7f9ad5f63229b75997f2c9f679255a0e2d8719

See more details on using hashes here.

File details

Details for the file kabbes_dir_ops-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: kabbes_dir_ops-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for kabbes_dir_ops-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6047889cfc0d94a03866ecb7f921007cb9d7c92f440921ae7ed34b2519054de1
MD5 9556ec5e6246c0fc18e6e92c9b3fe326
BLAKE2b-256 825af875de502b1b416b930e3aa5c3bf8527d72af8b4c9a74896e87ab5f00a5f

See more details on using hashes here.

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