Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Small library to work with Collection+JSON documents.

Project Description


.. image::

.. image::

.. image::

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


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_.


Parsing a Collection+JSON document is really simple

>>> import requests
>>> from collection_json import Collection
>>> data = requests.get('').text
>>> collection = Collection.from_json(data)
>>> collection
<Collection: version='1.0' href=''>

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

.. _documentation:


1. Check for open issues or open a fresh issue to start a discussion around a
feature idea or a bug.
1. Fork `the repository`_ on GitHub to start making your changes to the
**master** branch (or branch off of it).
1. Write a test which shows that the bug was fixed or that the feature works
as expected.
1. Send a pull request and bug the maintainer until it gets merged and
published. :) Make sure to add yourself to AUTHORS_.

.. _`the repository`:

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.5 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Mar 3, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate