Current collected state Current
Observed since 20 Oct, 21:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Afrigis Python Library
# Afrigis Python Library
[](https://codeclimate.com/github/chris-cmsoft/python-afrigis/maintainability)
[](https://codeclimate.com/github/chris-cmsoft/python-afrigis/test_coverage)
[](https://travis-ci.org/chris-cmsoft/python-afrigis)
### Installation
```bash
$ pip install afrigis
```
### Services:
#### Geocode
Example on using the Geocode service
```python
from afrigis.services import geocode
result = geocode('AFRIGIS_KEY', 'AFRIGIS_SECRET', 'NADID | SEOID')
print(result)
# {'number_of_records': 4, ...}
```
### Running tests
```bash
$ py.test
```
### Building and pushing to pypi
> In order to di this please make sure you are authenticated against Pypi first :).
> You ca do this with the following method: https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file
```bash
$ python setup.py sdist upload
```Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1 | 24 May 2018 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 21:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:045ca8f2741c205adf22a7f96d824502c1e8d130aa880307cf066eb436632f57