Zipa is a magic pythonic REST client that allows you to easily access REST APIs that follow conventions being used around the web.


pip install zipa

Zipa in a shell

pip install zipa
>>> from zipa import api_github_com as gh
>>> gh.orgs.django.repos()

Under the hood zipa transforms your imports into clients. It follows a simple convention: HOSTNAME__PREFIX. For the hostname, single underscores are translated into dots and for the prefix into slashes.

For example: api_twitter_com__v1 becomes The prefix part is optional.

How to contribute

Development of Zipa happens on GitHub. You are highly encouraged to contribute with code, tests, documentation, or just to share your experience.

Get involved

See Also

How to use Zipa for getting and manipulating data

Getting data is as simple as calling a function, check out how to make a simple get, pass arguments [...]

SSL Certificate Verification

The magic behind Zipa

Here are the rules zipa is following when doing its magic.