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 details)
Built Distribution
pynie-0.0.2-py3-none-any.whl
(7.9 kB
view details)
File details
Details for the file pynie-0.0.2.tar.gz
.
File metadata
- Download URL: pynie-0.0.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3772b493110a0f6e54dcf07bb42b6002833022721f1d864a95475da0a0f6ce4e |
|
MD5 | 6d41900985dd5e7af13f413ffa0dc7b2 |
|
BLAKE2b-256 | 384860e3b9b80732f0620fc3b601f2ff545e2d201661161bc380fe45e9e2037c |
File details
Details for the file pynie-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pynie-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1088bda4681d9907c84463ea176e9ffb54c673eb73601b686249268cdb6c5087 |
|
MD5 | 26426ec0644a3705065a69289d9ef6eb |
|
BLAKE2b-256 | 3f1c0b04dc3d97add681a7963903c99caff0b0ba4342913faeea1cb205de2985 |