Toolkit for creating clients of HAL based Hypermedia APIs.
Project description
HALchemy for Python
HAL-based Hypermedia API clients for humans.
This project has lofty goals, and is in its very early stages. Please use with caution and beware of breaking changes until at least v0.7.0
Getting started
pip install halchemy
In your code, instantiate an Api
object with the URL of your API.
from halchemy import Api
api = Api('http://example.org/api')
root = api.get() # get the root resource
people = api.get_from_rel(root, 'people') # follow the people rel to get the list of people
(more docs coming)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for halchemy-0.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d24827cb4b2a1c26dd78eb290664a207b33d4acb84d3a4c2f82d5886f1566d |
|
MD5 | 3bbdfa3ecfde1f12dcd34d01c88ff6cb |
|
BLAKE2b-256 | 63b11d9db19b5ed1cf96bc98560e3ab367685c56b0f41ea7f1d1454400b4794f |