Generic library for storage level operations
Project description
nie
Generic object storage services and distributed file system read and write solutions 💯
The following storage services are supported:
The following distributed file systems are supported:
Other Features:
- python3.10+
Getting Started
- Check out the documentation.
examples
from nie.ss.minio import MinioClient
from loguru import logger
client = MinioClient(
end_point='192.168.31.1:9000',
access_key='ak',
secret_key='sk',
bucket_name='nie',
)
with client.open('tweets/en32tge57626gh372eb.txt', 'r', encoding='utf-8') as file:
logger.debug(file.read())
has_obj: bool = client.os.path.exists('tweets/en32tge57626gh372eb.txt'')
logger.debug(has_obj)
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
pynie-0.0.2.tar.gz
(5.9 kB
view hashes)
Built Distribution
pynie-0.0.2-py3-none-any.whl
(7.9 kB
view hashes)