Browse Source

Updated travis.

hotfix/merge
Marcos Pereira 7 years ago
parent
commit
4853b77c26
  1. 6
      .travis.yml
  2. 31
      README.md
  3. 5
      keycloak/connection.py

6
.travis.yml

@ -1,8 +1,8 @@
language: python
python:
- "3.5"
- "3.6"
- "pypy"
install:
- pip install -r requirements.txt
- pip3 install -r requirements.txt
script:
python -m unittest discover
python3 -m unittest discover

31
README.md

@ -0,0 +1,31 @@
[![Build Status](https://travis-ci.org/marcospereirampj/python-keycloak.svg?branch=master)](https://travis-ci.org/marcospereirampj/python-keycloak)
[![Documentation Status](https://readthedocs.org/projects/python-toggl/badge/?version=latest)](http://python-toggl.readthedocs.org/en/latest/?badge=latest)
Python Keycloak
====================
**python-keycloak** is a Python package providing access to the Keycloak API.
## Installation ##
### Requirements ###
python-keycloak depends on:
* [requests](http://docs.python-requests.org/en/master/)
* [httmock](https://github.com/patrys/httmock)
### Install ###
```bash
python setup.py install
```
## Bug reports ##
Please report bugs and feature requests at
https://github.com/marcospereirampj/python-keycloak/issues
## Documentation ##
The documentation for python-keycloak is available on [readthedocs](http://python-toggl.readthedocs.org/en/latest/).

5
keycloak/connection.py

@ -15,8 +15,11 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
try:
from urllib.parse import urljoin
except ImportError:
from urlparse import urljoin
from urllib.parse import urljoin
from .exceptions import *
import requests

Loading…
Cancel
Save