Skip to main content

A library for interacting with Object Storage on Replit

Project description


The library for interacting with Replit's Object Storage service, on Replit.



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


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

replit_object_storage-1.0.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

replit_object_storage-1.0.0-py3-none-any.whl (5.9 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