Skip to main content

Afrigis Python Library

Project description

# Afrigis Python Library

[![Maintainability](https://api.codeclimate.com/v1/badges/ecd8973da991fa593b82/maintainability)](https://codeclimate.com/github/chris-cmsoft/python-afrigis/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/ecd8973da991fa593b82/test_coverage)](https://codeclimate.com/github/chris-cmsoft/python-afrigis/test_coverage) [![Build Status](https://travis-ci.org/chris-cmsoft/python-afrigis.svg?branch=master)](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 `

Project details


Download files

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

Source Distribution

afrigis-0.1.tar.gz (6.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page