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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file staticbackend-0.1.1.tar.gz.
File metadata
- Download URL: staticbackend-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.6.13 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bd737540f9df348eb1b17a57c968d1ea8c79ab02e1ddb84f6795480dacb3b4e
|
|
| MD5 |
b0e726fa8bb12d684261105670ce6a27
|
|
| BLAKE2b-256 |
cc4793b9570c294733a2e12c8e33bbac1eb1585121d967ed6e878a2525c18ccd
|
File details
Details for the file staticbackend-0.1.1-py3-none-any.whl.
File metadata
- Download URL: staticbackend-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.6.13 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16ca2a3e55bf6e3cc781e904a1a056fe238751c8de8acf6c65d7ee7f11d30e78
|
|
| MD5 |
8c734cf3cc9f64a9425a02f129ca7f9d
|
|
| BLAKE2b-256 |
84ecda1696523fedde8e0e425834fb93917c4dfa215ef0b3e51fab1a940f398a
|