Skip to main content

a short description.

Project description

replit-db-client

a client for repl db for python

docs

import

import client

define the client

client = client.Client

edit keys

adding

client.add(name=value) note you can add multiple at one time just add a comma and another name=value (returns nothing)

removing

client.remove(name) like before just add more seperated by commas todo more (returns nothing)

clearing

client.wipe WARNING THIS CANNOT BE UNDONE (returns nothing)

viewing keys

list keys

client.list(prefix) list all keys with that in the begining of there name (returns list) client.list_multiple(prefix) you can add more seperated by commas (returns dict)

viewing keys

client.view(name) returns the value client.view_multiple(name) add more seperated by commas (returns dict)

view all keys

client.all returns all key names (returns list)

view all data

client.all_dict (returns dict)

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

replitdb-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

replitdb-0.0.1-py3-none-any.whl (2.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