Skip to main content

filesystem_autocomplete

PyPI

tests

codecov

utility for recursively mapping files and subdirectories

To use, import walk_directory then supply a starting directory:

>>> from filesystem_autocomplete import walk_directory
>>> dir_info = walk_directory(".")

The resulting object will contain attributes for all files and subdirectories.

From a python shell or jupyter notebook, you can explore the file system using autocomplete. When evaluating, files will print their full path:

>>> dir_info.filesystem_autocomplete.filesystem_autocomplete_py
/home/chavlin/src/dxl/filesystem_autocomplete/filesystem_autocomplete/filesystem_autocomplete.py

directories will print their contents:

>>> dir_info.filesystem_autocomplete
Directory: /home/chavlin/src/dxl/filesystem_autocomplete/filesystem_autocomplete

Files:
__init__.py
filesystem_autocomplete.py

Subdirectories:
__pycache__
tests

To extract the full path for files:

>>> dir_info.filesystem_autocomplete.filesystem_autocomplete_py.filepath
'/home/chavlin/src/dxl/filesystem_autocomplete/filesystem_autocomplete/filesystem_autocomplete.py'

and for directories:

>>> dir_info.filesystem_autocomplete.dirpath
'/home/chavlin/src/dxl/filesystem_autocomplete/filesystem_autocomplete'

handling special characters

Since files and directories are stored as attributes, any invalid characters are replaced with underscores in the object. The full path string contains the original file.

Metadata

Release files for filesystem-autocomplete 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filesystem-autocomplete 0.1.0
File Size Uploaded Provenance Actions
filesystem_autocomplete-0.1.0.tar.gz 3.8 kB Without provenance Details for filesystem_autocomplete-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filesystem-autocomplete 0.1.0
File Interpreter ABI Platform Actions
filesystem_autocomplete-0.1.0-py3-none-any.whl Python 3 none any Details for filesystem_autocomplete-0.1.0-py3-none-any.whl

Total release size: 8.5 kB

Release files / filesystem_autocomplete-0.1.0.tar.gz

Download URL filesystem_autocomplete-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d80dcd2aa3352d94c83eafb2341a6058a4a42313cc0092870ff5aab15d953c8c
BLAKE2b-256 checksum
How to use checksums
db8fed2fd66971ff56f46ff7d32ebddc00f80e2ea3ab1e8e12dc7f01a3036417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / filesystem_autocomplete-0.1.0-py3-none-any.whl

Download URL filesystem_autocomplete-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cca2e92f620c4731ebd2b2afd99d1841697b2bcf2da0825180cf6bcf43a9c0cf
BLAKE2b-256 checksum
How to use checksums
7d1539ecb8c8588b643a722fbb600427d8e05fad9c01c997f069a78ec4dbf00c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for filesystem-autocomplete 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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