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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file replit_object_storage-1.0.2.tar.gz.
File metadata
- Download URL: replit_object_storage-1.0.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee51c759e0361d6fd6dffc847b9d5019c5572ee6490166aa66ab6001ed70595d
|
|
| MD5 |
27a8175c152bdd3655e370f94dc118a9
|
|
| BLAKE2b-256 |
5a3ce4a79901536c6b3801072eb92b2a29a0c2b99471ac75ba92271a7cad568e
|
File details
Details for the file replit_object_storage-1.0.2-py3-none-any.whl.
File metadata
- Download URL: replit_object_storage-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de9791d50b9c1197e32224d641529fe0d1b3b3e8fafb20d235f2916dac34cfca
|
|
| MD5 |
9c7b0111bd85eee897a030a78ba79d80
|
|
| BLAKE2b-256 |
400d844005c9a92b288afc4ca551efcefedb280c4af53b842a33e51129c72e7e
|