python jsonapi parser
Furrycorn is intended to make interacting with jsonapi-outputting APIs easier to consume. It is opinionated but lienient when possible, failing fast when things go awry.
To understand how to use this library, you will need some knowledge of the jsonapi v1.0 specification.
- a URL abstraction for interacting with services hosting jsonapi APIs.
- a DOM-like object model of entities in jsonapi response bodies.
- a toolkit for relationship traversal and entity iteration.
The core model is well-tested, but not the toolkit–furrycorn is still in active development.
Compatible with Python 3.6+. Will investigate other versions on request.
pip install furrycorn should do it for your projects.
Requirement setup should be a breeze using pipenv.
If you’re using nixos, simply boot a nix-shell in the project directory to get a development shell.
For the rest of the world:
- Clone the directory and navigate to your local repo in a command line.
- pipenv install --three
- pipenv shell
You will need to set one or two environment variables to use the examples, depending on the example. The methodology for doing this varies by OS.
For development, make sure PYTHONPATH includes the project root. Run tests with py.test.
Pleas submit changes by pull request on an aptly named topic branch.
The author of this library prefers a functional style of coding which centers on “types”. It’s a lot easier to reason about types than logical steps, and given the highly structured nature of jsonapi, it felt like a good fit.
Feel free to message with any questions you have. I’m happy to help and explain.
This project is Copyright © 2018 odeum.gg and licensed under the MIT license. View the license for details.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size furrycorn-0.7-py3-none-any.whl (17.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size furrycorn-0.7.tar.gz (10.4 kB)||File type Source||Python version None||Upload date||Hashes View|