Skip to main content

No project description provided

Project description

PyCabinet


A simple tool for file path management and searching. The creation of a cabinet object from a file path allows the user to easily filter, index and slice the contents of any directory and retrieve the full file path.

The initial plan is to keep PyCabinet doing a simple job; allow users to find file paths of specific files and folders in a systematic and userfriendly way.

Users of pandas should be familiar with the framework for filtering/slicing.

Examples


import pycabinet as pc

c = pc.cabinet(r'/Users/Nick/downloads')
files = c.files()
print(files['.zip'])

>>> ['ParquetViewer_v1.1.0.0.zip', 'SQLiteStudio-3.2.1.zip']


print(files['.zip'][1])

>>> 'SQLiteStudio-3.2.1.zip'


print(files['Par'])

>>> 'ParquetViewer_v1.1.0.0.zip'

files = c.files(full_path=true)
print(files['.zip'])

>>> ['/Users/Nick/downloads/ParquetViewer_v1.1.0.0.zip', '/Users/Nick/downloads/SQLiteStudio-3.2.1.zip']

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

pycabinet-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

pycabinet-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pycabinet-0.0.2.tar.gz.

File metadata

  • Download URL: pycabinet-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for pycabinet-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2f35d9ebd0713090f5ddba8e73fcafbea58b8f1895c1661e73dc57b1adf061af
MD5 ad5969af12d13e784db2da9bb0c74e8b
BLAKE2b-256 817b4d31e8a0a71685fa5a71d48db0960f662c8be9eff36e74303b3c3c58c2a3

See more details on using hashes here.

File details

Details for the file pycabinet-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pycabinet-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for pycabinet-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0a02b1d8418264703306a40f2174a1f51a9e0681a676b29d0f4885c2df2d7d
MD5 a540d2e869241a78786ba94800da9974
BLAKE2b-256 b47ca52e3a9faf8f5236c57531d0510b04ebdaa355ff21aad314943c9f810090

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