Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (41 loc) · 911 Bytes

README.md

File metadata and controls

57 lines (41 loc) · 911 Bytes

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("[email protected]", "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

License

MIT

Contributing

TBD.

CHANGELOG

See CHANGELOG.md