Skip to main content

Filesystem python wrapper

Filesystem wrapper for python developers

Install

pip install filesystem

https://pypi.python.org/pypi/filesystem/

Usage

import filesystem
# Using the glob syntax
pointers = filesystem.glob("filesystem/*")

# Walk recursively a directory
tree = [x for x in filesystem.walk("filesystem")]

print pointers
# [{'name': '__init__.py', 'created': 1429784337.4815214, 'abspath': '/home/oskar/github/oskarnyqvist/python/filesystem/filesystem/__init__.py', 'modified': 1429784141.817514, 'access': 1429784337.4815214, 'ext': 'py', 'is_link': False, 'is_file': True, 'is_dir': False, 'dirname': 'filesystem', 'size': 1119}, {'name': '__init__.pyc', 'created': 1429784169.241515, 'abspath': '/home/oskar/github/oskarnyqvist/python/filesystem/filesystem/__init__.pyc', 'modified': 1429784169.241515, 'access': 1429784337.3615215, 'ext': 'pyc', 'is_link': False, 'is_file': True, 'is_dir': False, 'dirname': 'filesystem', 'size': 1902}]
py_files = [x for x in pointers if x["ext"] == "py"]
print py_files
# [{'name': '__init__.py', 'created': 1429784337.4815214, 'abspath': '/home/oskar/github/oskarnyqvist/python/filesystem/filesystem/__init__.py', 'modified': 1429784141.817514, 'access': 1429784337.4815214, 'ext': 'py', 'is_link': False, 'is_file': True, 'is_dir': False, 'dirname': 'filesystem', 'size': 1119}]
print [x["name"] for x in py_files]
# ['__init__.py']

Metadata

Release files for filesystem 0.2.5

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 0.2.5
File Size Uploaded Provenance
filesystem-0.2.5.tar.gz 3.4 kB Without provenance Details

Release files / filesystem-0.2.5.tar.gz

Download URL filesystem-0.2.5.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
69debec75acb4e2536a487186d8aceaed3475fac0b462ca087a9ca79d0990ad3
BLAKE2b-256 checksum
How to use checksums
48667a35ffa2f297f16722bcb12bef946f19932aa383313514cd7391fa4356a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for filesystem 0.2.5

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.

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