Socket
Socket
Sign inDemoInstall

replit-object-storage

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    replit-object-storage

A library for interacting with Object Storage on Replit


Maintainers
1

Readme

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")

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc