Unified File System - Object Oriented way to work seamlessly between Posix and S3 filesystems
Project description
Unified File System
Developers face common problem in writing code in local filesystem first and then make the code to work with S3. This creates a painful situation if not too much of code duplication.
Unified File System (ufs
) package solves that problem where it exposes generic File
and Directory
classes.
Unified File System is an Object-Oriented way to work seamlessly between Posix and S3 filesystems
Description
Usually we pass two different kinds of path parameter (Posix vs S3). And, we have to handle them differently either
using os
or boto3
python library.
With ufs
, we have a wrapper classes like PosixFile
/ S3File
(inherits from File
)
and PosixDirector
/ S3Directory
(inherits from Directory
).
This makes writing functions and classes with a clear expectation to run with both Posix and S3 paths seamlessly.
Installation
Install with pip:
pip install ufs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ufs-0.1.0.tar.gz
.
File metadata
- Download URL: ufs-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537be4aa371a58c9c1dcd58ca18359e5cda75d9694713c081a3e14585dbf58f3 |
|
MD5 | f6e0c8412773b731da6a65f9e1dc3c8c |
|
BLAKE2b-256 | d4bd743de56152813acdc30a45a7aff41eee92f01dd39466cc2ade448babf567 |
File details
Details for the file ufs-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ufs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb2182621921b3cdfea25afc0279bade5b632367b2447920348e23b5e92d753 |
|
MD5 | 0c3eb1110bcca44cac7086859f036157 |
|
BLAKE2b-256 | 92f2c2f9a3d28a449e1e65a890bcabdf6212e547f1916cac3864d2a9d18ffc1f |