iamtugy / pyminio Goto Github PK
View Code? Open in Web Editor NEWPyminio is a python client wrapped like the os module to control minio server
License: MIT License
Pyminio is a python client wrapped like the os module to control minio server
License: MIT License
You should consider changing this recursion to a BFS implementation, as stack memory is very limited
Originally posted by @osherdp in #2 (comment)
For example in here:
https://github.com/mmm1513/pyminio/actions/runs/308811747
pyminio_client = Pyminio.from_credentials(
endpoint='[350b:c0g0:102:553e:acc2:2::]:4000', # e.g. "localhost:9000/"
access_key='#############################',
secret_key='################################'
)
is giving
~/anaconda3/lib/python3.7/site-packages/pyminio/main.py in from_credentials(cls, endpoint, access_key, secret_key, **kwargs)
60 access_key=access_key,
61 secret_key=secret_key,
---> 62 **kwargs))
63
64 @_validate_directory
~/anaconda3/lib/python3.7/site-packages/minio/api.py in __init__(self, endpoint, access_key, secret_key, session_token, secure, region, http_client, credentials)
140
141 # Validate endpoint.
--> 142 is_valid_endpoint(endpoint)
143
144 # Validate http client has correct base class.
~/anaconda3/lib/python3.7/site-packages/minio/helpers.py in is_valid_endpoint(endpoint)
335
336 if not _ALLOWED_HOSTNAME_REGEX.match(url.hostname):
--> 337 raise InvalidEndpointError('Hostname does not meet URL standards.')
338 except AttributeError as error:
339 raise TypeError(error)
InvalidEndpointError: InvalidEndpointError: message: Hostname does not meet URL standards.
p = Path("/") / "test" / "b"
pyminio.rm(p)
Most cases for minio have very big files, so just make sure you don't load them entirely to the RAM (use file-like interfaces for read and write)
Originally posted by @osherdp in #2 (comment)
Object.data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.