Skip to main content

Toolbox for various path analysis and creating directories.

Project description

Get directory, filename or extension from path:

from path_analysis_toolbox import PathAnalyser
PathAnalyser.directory_filename_extension("C:\\Example\\directory\\filename.mp3")
# ("C:\\Example\\directory", "filename", "mp3")

PathAnalyser.directory("C:\\Example\\directory\\filename.mp3") # "C:\\Example\\directory"
PathAnalyser.filename("C:\\Example\\directory\\filename.mp3") # "filename"
PathAnalyser.extension("C:\\Example\\directory\\filename.mp3") # "mp3"

PathAnalyser.directory_filename_extension("C:\\Example\\directory\\filename")
# ("C:\\Example\\directory", "filename", "")
PathAnalyser.directory_filename_extension("C:")
# ("", "C:", "")

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

path_analysis_toolbox-0.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

path_analysis_toolbox-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file path_analysis_toolbox-0.0.3.tar.gz.

File metadata

  • Download URL: path_analysis_toolbox-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for path_analysis_toolbox-0.0.3.tar.gz
Algorithm Hash digest
SHA256 37e4bae9ecd9bf1d9a4e051d1a47628b23e8dba0fd56625ad980241b45f0ddd6
MD5 1a4b9a1f31d35397c2faeab8022aa24d
BLAKE2b-256 0bf55b1900c3dd466ffb009b8ad49728faff5f2088a4a5f98dbf231eb8f0f5b4

See more details on using hashes here.

File details

Details for the file path_analysis_toolbox-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: path_analysis_toolbox-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for path_analysis_toolbox-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b988e571f0b00a3f41a888b25f3fed52e3253071fa5a77a0508d5b7ae381cd8
MD5 a17a2a4851d7ad2c12053ac4ee7b08b5
BLAKE2b-256 08249ea90095ef35a5e9439a8dedf88865b762e0d2ef4602e2ebc2c2b92e445b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page