Skip to main content

Agnostic Abstract Filesystem API which allows to use S3, GCS, Azure Datalake, your local FS, Youtube etc Optimized for use with FastAPI/Pydantic.

Project description

msaFilesystem Logo


msaFilesystem - Agnostic Abstract Filesystem API which allows to use S3, GCS, Azure Datalake, your local FS, Youtube etc
Optimized for use with FastAPI/Pydantic.
Package version Supported Python versions


Alpha/EarlyStage !!!

Documentation: msaFilesystem Documentation (https://msaFilesystem.u2d.ai/)


Features

  • Abstract Filesystem: Agnostic Abstract Filesystem API which allows to use S3, GCS, Azure Datalake, your local FS, Youtube etc. Based on: PyFilesystem2
  • App Filesystems: Manage filesystems in platform-specific application directories. These classes abstract away the different requirements for user data across platforms.
  • FTP Filesystem: A FTP (File Transport Protocol) Filesystem. Optionally, the connection can be made securely via TLS. This is known as FTPS, or FTP Secure.
  • Memory Filesystem: A filesystem that stored in memory. Memory filesystems are useful for caches, temporary data stores, unit testing, etc.
  • Mount Filesystem: A Mount FS is a virtual filesystem which can seamlessly map sub-directories on to other filesystems.
  • Multi Filesystem: A MultiFS is a filesystem composed of a sequence of other filesystems, where the directory structure of each overlays the previous filesystem in the sequence.
  • OS Filesystem: Manage the filesystem provided by your OS. In essence, an OSFS is a thin layer over the io and os modules of the Python standard library.
  • Sub Filesystem: Manage a directory in a parent filesystem. A SubFS is a filesystem object that maps to a sub-directory of another filesystem.
  • Tar Filesystem: Read and write tar files.
  • Temporary Filesystem: Manage filesystems in temporary locations. A temporary filesytem is stored in a location defined by your OS (/tmp on linux). The contents are deleted when the filesystem is closed.
  • Zip Filesystem: Read and write zip files.
  • SMB Filesystem: A filesystem over SMB.
  • WebDAV Filesystem: A filesystem for WebDAV.
  • Azure Datalake & S3FS Filesystem: A filesystem for Azure Datalake storage & S3FS.
  • Google Cloud Storage (GCS) Filesystem: A filesystem for Google Cloud Storage (GCS). With GCSFS, you can interact with Google Cloud Storage as if it was a regular filesystem.
  • Google Drive Filesystem: A filesystem for Google Drive. Interact with Google Drive as if it was a regular filesystem.
  • Dropbox Filesystem: A filesystem for Dropbox.
  • OneDrive Filesystem: A filesystem for Dropbox.
  • YouTube Videos and Playlists Filesystem: A filesystem for YouTube Videos and Playlists.
  • External Filesystems: See the following wiki page for a list of filesystems not in the core library, and community contributed filesystems.

Main Dependencies

  • fs~=2.4.16: Module that provides a common interface to any filesystem
  • six~=1.16.0: Python 2 and 3 compatibility utilities
  • pysmb~=1.2.8: SMB/CIFS library
  • fs.webdavfs~=0.4.2: WebDAV support
  • fs-dlk~=0.1.3: Azure Datalake support
  • fs-s3fs~=1.1.1: Amazon S3 filesystem support
  • fs-gcsfs~=1.5.1: Google Cloud Storage (GCS) support
  • fs.googledrivefs~=2.3.0: Google Drive support
  • fs.dropboxfs~=0.2.2.post2: Dropbox support
  • fs.onedrivefs~=1.1.1: OneDrive support
  • fs.youtube~=0.3.1: Youtube support
  • fs.smbfs~=1.0.5: SMB support

License Agreement

  • msaFilesystem is based on MIT open source and free to use, it is free for commercial use, but please show/list the copyright information about msaFilesystem somewhere.

How to create the documentation

We use mkdocs and mkdocsstring. The code reference and nav entry get's created virtually by the triggered python script /docs/gen_ref_pages.py while mkdocs serve or build is executed.

Requirements Install for the PDF creation option:

PDF Export is using mainly weasyprint, if you get some errors here pls. check there documentation. Installation is part of the msaFilesystem, so this should be fine.

We can now test and view our documentation using:

mkdocs serve

Build static Site:

mkdocs build

Build and Publish

Build:

python setup.py sdist

Publish to pypi:

twine upload dist/*

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

msafilesystem-0.0.6.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

msafilesystem-0.0.6-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file msafilesystem-0.0.6.tar.gz.

File metadata

  • Download URL: msafilesystem-0.0.6.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1012-azure

File hashes

Hashes for msafilesystem-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bc16af7ad653851016703fb48f70cdada91fb3e27c9e550e187e537530cedf64
MD5 4c5f58a84be862410e2a9e30c921c707
BLAKE2b-256 18985694c2e1ff64b969b06b0a8f013104fce7374182c9f17a29535a9a215da4

See more details on using hashes here.

File details

Details for the file msafilesystem-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: msafilesystem-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1012-azure

File hashes

Hashes for msafilesystem-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 884ea977e497b88048e6d99d47f0716ce2fe900f51e46091ed8c8aecb745607a
MD5 500d23a8d6fb89e40d914af4925e1075
BLAKE2b-256 ee1d76b66d2355ba3f776a9720047849e314b5a8ab6fb3d2dde9be4c15758b5d

See more details on using hashes here.

Supported by

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