Skip to main content

StaticBackend Python client

Project description

backend-python

StaticBackend Python 3 client.

Requirements

CPython 3.6.2+

Installatin

pip install staticbackend

Usage

from staticbackend import Config, StaticBackend

config = Config(
    api_token=os.environ["PUBLICKEY"],
    root_token=os.environ["ROOTKEY"],
    endpoint=os.environ["ENDPOINT"],
)
backend = StaticBackend(config)
state = backend.user.login("foo@bar.com", "zot")
docs = state.database.list_documents(db)
print(docs)

Features

  • User Management
    • Register
    • Login
    • Reset Password
  • Database
    • Create a document
    • List documents
    • Get a document
    • Query for documents
    • Update a document
    • Delete documents
  • Storage
    • Upload files
  • Forms
    • Submit HTML forms
  • Websocket

License

MIT

Contributing

TBD.

CHANGELOG

See CHANGELOG.md

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

staticbackend-0.1.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

staticbackend-0.1.1-py3-none-any.whl (8.0 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