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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5605b688b6439481989b87be95004349d0c931404443f368850e725b69513eee |
|
MD5 | 75db41c8530c1ad78591913e12445a14 |
|
BLAKE2b-256 | 4f9d796e5e0920c61b0f01d062c69ef21c44f0f10d84c9d3e1935966bf890fc2 |
Close
Hashes for replit_object_storage-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1edc99975e6fbb30209cb05e7f3c52b52920ddea36ed4c4ff85e1b8bd52d7e1c |
|
MD5 | 047a0e80432e7fcdee820e1e9144aab6 |
|
BLAKE2b-256 | 3c9921619b4aa824553b6f1870acd1df0c20d35e594cb47bfab47e0b9e57c39a |