Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobian/valor
Python HTTP clients for APIs represented by JSON Schema.
https://github.com/jacobian/valor
Last synced: 2 months ago
JSON representation
Python HTTP clients for APIs represented by JSON Schema.
- Host: GitHub
- URL: https://github.com/jacobian/valor
- Owner: jacobian
- License: bsd-3-clause
- Archived: true
- Created: 2014-07-11T01:46:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-13T22:08:11.000Z (over 10 years ago)
- Last Synced: 2024-08-04T04:05:22.924Z (6 months ago)
- Language: Python
- Homepage:
- Size: 216 KB
- Stars: 99
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- starred-awesome - valor - Python HTTP clients for APIs represented by JSON Schema. (Python)
README
# Valor
[![Build Status](https://travis-ci.org/jacobian/valor.svg?branch=master)](https://travis-ci.org/jacobian/valor) [![Coverage Status](https://coveralls.io/repos/jacobian/valor/badge.png)](https://coveralls.io/r/jacobian/valor)
Python HTTP clients for APIs represented by JSON Schema.
**This is still super-early days yet, many things probably don't work. Use at your own risk.**
Among most other things, docs aren't done, but check this out:
```bash
$ heroku auth:whoami
[email protected]
$ heroku apps
ancient-thicket-4976
arcane-reef-4005
...$ python -i heroku.py
>>> heroku.account.info().email
u'[email protected]'
>>> [app.name for app in heroku.app.list()]
[u'ancient-thicket-4976', u'arcane-reef-4005', ...]
```Then see [heroku.py](https://github.com/jacobian/valor/blob/master/heroku.py) as an example of how this works.
![](http://img4.wikia.nocookie.net/__cb20130412040940/cso/images/1/19/Notbad.jpg)
----
What's with the name? The Ruby version of the same thing is [Heroics](https://github.com/interagent/heroics). Heroics. Valor. See what I did there?