Smarty Python SDK
If you want to access our APIs (other than the Download API) from a Python application, the Smarty Python SDK can make it a lot easier. Our Python SDK includes ready-made data structures and takes care of all the gritty, low-level HTTP intricacies for you.
Contents
Requirements
- Have a Python project that is written for Python 2.7 or Python 3.x.
- Realize that you need an address verification component.
- Wisely conclude that you don't want to build your own address verification component.
- Realize that Smarty has already created an address verification component.
- Either have the Requests module installed, or sit comfortably, knowing your friend pip will install this dependency for you.
- Congratulations! You are now ready to use the Smarty Python SDK.
How to get it
pip
The easiest way to get your giddy hands on this goodness is by using pip.
Be sure pip is installed, then just pop open your terminal and run
$ pip install smartystreets_python_sdk
Download the source code
You can find source code of the Smarty Python SDK repository on Github which contains many sample code snippets.
$ python setup.py install
How to use it
Demo
Examples
Here are a few examples showing how to use the Python SDK: