Skip to main content

fs.filefs: Custom filesystem for pyfilesystem2

PyPI version LICENSE

This package provides FileFS, a custom filesystem for pyfilesystem2 that allows you to mount files from other filesystems.

Installation

pip install fs.filefs

Usage Example

from fs.osfs import OSFS
from fs.filefs import FileFS

image_fs = OSFS("~/images")
file_fs = FileFS()
file_fs.add_file("screenshot_1.png", image_fs)
file_fs.add_file("screenshot_2.png", image_fs, name="img_2.png")

print(file_fs.listdir("/"))  # ['screenshot_1.png', 'img_2.png']

Develpment

# Install package in editable mode
pip install -e .

# Run tests
python -m unittest discover -s tests

Metadata

Release files for fs.filefs 1.0.3

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

Source distribution (sdist)

Source distribution for fs.filefs 1.0.3
File Size Uploaded Provenance Actions
fs_filefs-1.0.3.tar.gz 3.6 kB Without provenance Details for fs_filefs-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fs.filefs 1.0.3
File Interpreter ABI Platform Actions
fs_filefs-1.0.3-py3-none-any.whl Python 3 none any Details for fs_filefs-1.0.3-py3-none-any.whl

Total release size: 7.1 kB

Release files / fs_filefs-1.0.3.tar.gz

Download URL fs_filefs-1.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bbcb981a5b318b6f13ae3db5592b17c24768c8c23c80f21a63260b12d2d5b892
BLAKE2b-256 checksum
How to use checksums
ec265e280bc12f9dce2738603489c6b681eeec7620f3b4742d36ed76033fb52e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / fs_filefs-1.0.3-py3-none-any.whl

Download URL fs_filefs-1.0.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72ac46a21c72cc7172b0063575777fc1a58f056bf2ded92f0b06d835be152c25
BLAKE2b-256 checksum
How to use checksums
8d0779138304a93eef598f8dad67c216d4604bbf0bfc53ab11c0285d1ff958db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for fs.filefs 1.0.3

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.

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