Skip to main content

A JSON based RESTapi Query Language.

Project description

Loafang

GitHub PyPI Azure DevOps builds (branch)

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's more of a language kind of thing so 'loafang' makes sense

An example Schema

{
	"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-user"
	}
}

For more docs visit: https://adwaith-rajesh.github.io/loafang/

Road Map

  • Things kind of works
  • Make an easier API for the user to use.
  • More tests

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

loafang-0.2.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

loafang-0.2.0-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 2 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