tomodachi

(★ 205)

💻 Microservice lib designed to ease service building using Python and asyncio, with ready to use support for HTTP + WS, AWS SNS+SQS, RabbitMQ / AMQP, middlewares, envelopes, logging, lifecycles. Extend to GraphQL, protobuf, etc.

  • .codecov.yml
  • .gitignore
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • LICENSE
  • Makefile
  • poetry.lock
  • pyproject.toml
  • README.md
  • SECURITY.md

# Installation Guide

1. Get the code
git clone https://github.com/kalaspuff/tomodachi

Downloads the entire project code from GitHub to your computer.

cd tomodachi

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
local ~$ pip install tomodachi

Installs the Python libraries listed in requirements.txt (or similar).

local ~/code/service$ python -m tomodachi.run service.py

Runs the Python script (or module).

RUN pip install tomodachi

Installs the Python libraries listed in requirements.txt (or similar).

local ~$ pip install tomodachi[opentelemetry]

Installs the Python libraries listed in requirements.txt (or similar).

local ~$ pip install tomodachi[opentelemetry,opentelemetry-exporter-prometheus]

Installs the Python libraries listed in requirements.txt (or similar).

If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation