ilyeshammadi / calculator-microservice

Simple microservice calculator built with Python Pyramid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator Microservice

Getting Started

Change directory into your project.

$ cd calculator

Create a Python virtual environment.

$ python3 -m venv env

Upgrade packaging tools.

$ env/bin/pip install --upgrade pip setuptools

Install the project in editable mode with its testing requirements.

$ env/bin/pip install -e ".[testing]"

Run your project's tests.

$ env/bin/pytest

Run your project.

$ env/bin/pserve development.ini

Run using Docker 🐳

$ docker build -t calculator .
$ docker run -p 6543:6543 calculator

API Specs

API Specs

About

Simple microservice calculator built with Python Pyramid


Languages

Language:Python 89.0%Language:Dockerfile 11.0%