Skip to content

Introduction

Aloha! Thanks for your interest in this Python package.

License GitHub Workflow Status Join the Gitter Chat PyPI version PyPI Downloads Code Activity Recent Code Update

Please generously STAR our project or donate to us! GitHub Stars

The Python package aloha is a versatile toolkit for building Python microservices. It encapsulates commonly used components and features, such as:

  • Rapidly creating RESTful APIs and starting services
  • Logging utilities
  • Managing environments, configuration files, and resource files
  • Connecting to popular databases
  • Detecting and monitoring runtime environments

Installation

Install aloha with extra requirements
pip install aloha[all]

Notice that [all] after the package name is a set of extra requirements that enable additional features.

These extras include:

  • all: includes everything listed below
  • service: packages used to build RESTful APIs (aloha uses Tornado for services)
  • build: compile Python code into binary files, useful for source code protection
  • db: connect to popular databases, such as MySQL / PostgreSQL / Redis
  • stream: process stream data using confluent_kafka
  • data: process data or do data science tasks using packages like pandas
  • report: export data and reports to Excel files
  • test: unit test utilities
  • docs: documentation build utilities