Skip to main content

Small library to work with Collection+JSON documents.

Project description

https://badge.fury.io/py/collection-json.png https://travis-ci.org/ricardokirkner/collection-json.python.png?branch=master https://coveralls.io/repos/ricardokirkner/collection-json.python/badge.png

collection-json is a small library, written in Python, to work with Collection+JSON documents.

Installation

The easiest way to install collection-json is to run

$ pip install collection-json

For other ways of installing it, please refer to the documentation.

Examples

Parsing a Collection+JSON document is really simple

>>> import requests
>>> from collection_json import Collection
>>> data = requests.get('http://www.youtypeitwepostit.com/api/').text
>>> collection = Collection.from_json(data)
>>> collection
<Collection: version='1.0' href='http://www.youtypeitwepostit.com/api/'>

The documentation includes several usage examples, go and check it out!

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

collection-json-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file collection-json-0.1.0.tar.gz.

File metadata

File hashes

Hashes for collection-json-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e99773e75f8596c4590fec1910e88f1a131751efe0a4cf5c536da7c8068e570
MD5 77b5326a2306de2ce9536fe2b0ee45dc
BLAKE2b-256 6527f8e96d92be1db7ed6f6effc3e0766a32eaba5cc5efc05192a3c46160cac1

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