Skip to content

HexChap/MSCore

Repository files navigation

MSCore

Toolkit for writing HTTP microservices using FastAPI, Pydantic and TortoiseORM

Installation

Create and activate a virtual environment and then install MSCore:

pip install git+https://github.com/HexChap/MSCore#egg=ms_core

Development Setup

  1. Clone the repo
git clone https://github.com/HexChap/MSCore
cd MSCore
  1. Install dependencies using uv (recommended)
uv sync --group dev

Testing

MSCore includes a comprehensive test suite covering all major components:

Running Tests

# Run all tests
python -m pytest

# Run with verbose output
python -m pytest -v

# Run with coverage
python -m pytest --cov=ms_core --cov-report=html

Local Documentation

  1. Serve the docs
mkdocs serve

Continuous Integration

The project uses GitHub Actions for automated testing:

  • Runs on Python 3.12 and 3.13
  • Includes linting and security checks
  • Generates coverage reports
  • Tests all major functionality

About

Core functionality for all the HTTP microservices, used in my projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages