Skip to main content

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


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.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

pynie-0.0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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