An instant and schemaless rest api with sqlite
Project description
Rest-In-Peace (Database API)
What is?
Is a database abstraction to use as a REST API with zero config.
How to use
$ pip install rest-in-peace
$ rest-in-peace database.db 8000
Routes
Static server. Return 'public/index.html'
GET /
Return schema
GET /schema.json
Return all items from collection
GET /{collection}
Get a specific item
GET /{collection}/{id}
Create an item
POST /{collection}/{id}
DATA 'Data'
Update an item
PUT /{collection}/{id}
DATA 'Data'
Delete an item
DELETE /{collection}/{id}
Next steps
- Auth
License
MIT
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
Rest-In-Peace-0.1.0.tar.gz
(4.6 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 Rest-In-Peace-0.1.0.tar.gz.
File metadata
- Download URL: Rest-In-Peace-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f72dd82752534b199d3c453739d223673002e9a2436f96f1a8b2860161cc021
|
|
| MD5 |
3e66ee288f15f2de1c4172f671d95c97
|
|
| BLAKE2b-256 |
3d7e8720354df69138ba2ca6ea2d587ce92d494fe323097c1d8fc8d9e48fb638
|
File details
Details for the file Rest_In_Peace-0.1.0-py3-none-any.whl.
File metadata
- Download URL: Rest_In_Peace-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d59db203d294c416cf4b9225eadcedcb5cb64457e39aa79435e982d388bc4c59
|
|
| MD5 |
2ddf6650e1ad8ebd8e67e576b8640cb2
|
|
| BLAKE2b-256 |
0f9d60111c92d5737ec0605e3a69e15ed4bbc6ac9424af35cf31570c0de7a9c7
|