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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file loafang-0.2.0.tar.gz.

File metadata

  • Download URL: loafang-0.2.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for loafang-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6dc52252298c615cc671b38d3a82a013da9dbba857e50a15e236e6c9f66b25e5
MD5 8b2f7743355f9d3ca2f19592a36a4ed7
BLAKE2b-256 61c81bc7bbbe50148f1d4b9cd1fd4f78940881331e9ade5b43d6d213ec70dd14

See more details on using hashes here.

File details

Details for the file loafang-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: loafang-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for loafang-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9221a0975128033bc60ef444ddf33c76f527b346fb168c02be8a6c5cddae2ce4
MD5 02acebbc9fc5b7c4d756ed4faf3c17cf
BLAKE2b-256 c01196618f873d8d6b7515ceeb7216cf27406aa36c29103048b41b87f6111e26

See more details on using hashes here.

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