A library for interacting with Object Storage on Replit
Project description
replit-object-storage-python
The library for interacting with Replit's Object Storage service, on Replit.
Usage
Setup
Start by importing the Object Storage Client:
from replit.object_storage import Client
Then to use the Client:
client = Client()
Downloading an Object
contents = client.download_as_text("file.json")
Uploading an Object
client.upload_from_text("file.json", data)
List Objects
client.list()
Delete an Object
contents = client.delete("file.json")
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
Built Distribution
Close
Hashes for replit_object_storage-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be2af227131064b7ac5dadfe752f49fdb7c49403460bd207217ec1ec6f15824b |
|
MD5 | 32e6374d9588b00815f9d852fa604fb7 |
|
BLAKE2b-256 | 5dbdaf215eb42cf2a05290394386f2c93727511aad131ecc990e66ddf570e1a4 |
Close
Hashes for replit_object_storage-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a9cfc6e977306d07fc9d601acc44f5be6e3fc925ff1b3584b9cd1c88d71c9f |
|
MD5 | dd1da84bb183d6a1fe70288290b89988 |
|
BLAKE2b-256 | 8bbcbd8dc89d17146233914ead08ec17769e7a595e73f78b583b223060d86e97 |