Skip to content

manor-ai/service-python-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manor Python Modules

Shared Python modules for Manor services.

Quick Install

uv add manor --find-links https://github.com/manor-tech/service-python-modules/releases/latest/download/

Or in pyproject.toml:

[tool.uv]
find-links = ["https://github.com/manor-tech/service-python-modules/releases/latest/download/"]

[project]
dependencies = ["manor"]

Documentation

📖 See full documentation - Includes:

  • Detailed installation instructions
  • Authentication for private repos (GitHub Actions and local)
  • Usage examples for each module
  • Docker configuration
  • Environment variables

Modules

Module Description Docs
manor.logger Structured logging + Datadog README
manor.feature_flags Feature flags with PostHog README
manor.mcp_auth JWT authentication for MCP README

Quick Usage

# Logger
from manor.logger import logger
logger.info("Hello", user_id="123")

# Feature Flags
from manor.feature_flags import is_enabled
if is_enabled("new-feature"):
    do_new_thing()

# MCP Auth
from manor.mcp_auth import get_auth_headers
headers = get_auth_headers()

Development

git clone https://github.com/manor-tech/service-python-modules.git
cd service-python-modules

uv sync --all-groups
uv run pytest -v

Releases

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages