https://github.com/shipengine/shipengine-python-sample-app
Demonstrates how to use ShipEngine™ in a Python app
https://github.com/shipengine/shipengine-python-sample-app
address-validation api-client python python3 rest-api sample-app shipment-tracking shipping shipping-api shipping-label shipping-rates tracking-api
Last synced: 3 months ago
JSON representation
Demonstrates how to use ShipEngine™ in a Python app
- Host: GitHub
- URL: https://github.com/shipengine/shipengine-python-sample-app
- Owner: ShipEngine
- Created: 2018-10-17T17:00:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T14:22:26.000Z (over 6 years ago)
- Last Synced: 2024-12-29T23:49:07.023Z (5 months ago)
- Topics: address-validation, api-client, python, python3, rest-api, sample-app, shipment-tracking, shipping, shipping-api, shipping-label, shipping-rates, tracking-api
- Language: Python
- Homepage: https://docs.shipengine.com
- Size: 10.7 KB
- Stars: 3
- Watchers: 23
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ShipEngine Python Sample App
====================================This is a ShipEngine sample app, written in Python 3. It demonstrates how easy it is to use various parts of the ShipEngine API in Python.
Installation & Usage
-------------------------------------
You can run the sample app directly on your system if you have [Python 3](https://www.python.org/) and [pip](https://pip.pypa.io/en/stable/installing/) installed. Or, if you have [Docker](https://www.docker.com/products/docker-desktop) installed, then you can run the app as a Docker container.### Local installation
You can run the app on your local system if you have [Python 3](https://www.python.org/) and [pip](https://pip.pypa.io/en/stable/installing/) installed.**1. Install dependencies**
```
pip install -r requirements.txt
```**2. Run the app**
```
python app.py
```### Docker
If you have [Docker](https://www.docker.com/products/docker-desktop) installed, then you can run the app as a Docker container.**1. Build the image**
```
docker build --tag se_python_sample_app .
```> **Note:* Don't forget the period (`.`) at the end of this command
**2. Run the container**
```
docker run -it se_python_sample_app
```