A JSON based RESTapi Query Language.
Project description
Loafang
A JSON based RESTapi Query Language. It's mainly for small to intermediate sized project.
Motivation
- I'm bored.
- I needed a smaller version of graphql.
- It's fun to do something like this
Why name it Loafang
If you google the synonyms for 'rest' one of the result is 'loaf' or 'loafing'. Now, where do you see the word 'rest', 'REST API' and it more of a language kind of thing so 'loafang' makes sense
An example Schema
This is not fixed, but this is what I hope it will look like.
{
"GET:get-user:pe": {
"user --name adwaith --age 10": ["username", "email_address"]
},
"PUT:up-user": {
"user --name some-user": {
"email": "new_email@address.com"
},
"after:GET": "get-user"
}
}
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
loafang-0.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for loafang-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65edeaa73df3577b8d866791e0b46e3b281f4fdbdcf4c23fe50bc931efc379be |
|
MD5 | 9aaf8d5cec13338899f59425711af2d3 |
|
BLAKE2b-256 | e74f62e89b72f560d02b36931e708887d0e0b8dcfdbcc0204823663117f65495 |