Skip to main content

JamesonRGrieve's Zephyrex Framework Server

Generation Paths

Documentation Viewing

This documentation is best viewed using Obsidian with the custom plugin included in this repository. The plugin automatically hides folders without documentation, providing a clean, focused view of all available documentation.

Setup:

  1. Install Obsidian
  2. Open this repository as an Obsidian vault
  3. The custom plugin (hide-folders-without-md) will automatically activate
  4. Navigate through the documentation using Obsidian's graph view and linked references

Alternative: Traditional Navigation

Documentation can also be viewed directly in your text editor or GitHub, though you won't benefit from the cross-referencing and visualization features that Obsidian provides.

Documentation Directory

Framework Overview

Core Library Components

Database Layer

Business Logic Layer

Endpoint Layer

Extension System

Migration System

Quick Start

Installation

From PyPI:

pip install zephyrex

From source (for framework development):

git clone https://git.zephyrex.dev/ZephyrexTechnologies/ServerFramework.git
cd ServerFramework
pip install -e ".[dev]"

Every bundled extension is included; each one's third-party packages install through an extra of the same name, hyphenated: pip install "zephyrex[auth-mfa,secret-vault]". cache adds the Redis/Valkey client core uses for its cache and rate limiter, mcp-server adds what core needs to serve this API as MCP tools (MCP=true), and all installs every extra. The extras are generated from what each extension and its providers declare (python -m zephyrex.extensions.sync_dependencies; the test suite fails if they drift).

Requirements

  • Python 3.11+

Running the server

python -m zephyrex run   # or the console script: `zephyrex run`

The server boots on port 1996 by default.

Basic Configuration

APP_NAME=MyApp
SERVER_URI=http://localhost:1996
APP_EXTENSIONS=email,auth_mfa,database,payment

Documentation Philosophy

  1. Architectural Focus: Documentation describes the "why" and "how" of components, not just the "what"
  2. Minimal Code Snippets: Code examples are minimal; the documentation focuses on patterns and concepts
  3. Cross-Referenced: Heavy use of links between related documentation
  4. Layer Separation: Documentation organized by architectural layer
  5. Pattern-Based: Emphasis on reusable patterns over specific implementations

Contributing to Documentation

When adding new documentation:

  1. Follow the existing naming convention: LAYER.Component.md
  2. Focus on architectural decisions and patterns
  3. Link to related documentation using relative paths
  4. Keep code snippets minimal and focused
  5. Include "Best Practices" sections where appropriate

Framework Benefits

This framework provides:

  • Pydantic-First Design: Single source of truth for all schemas
  • Zero Boilerplate: Automatic generation of database models, endpoints, and documentation
  • True Testing: No mocks, real implementations with proper isolation
  • Extension Architecture: Modular plugin system with isolated migrations
  • Type Safety: End-to-end type checking from API to database

For a comprehensive overview, start with Framework.md

License

AGPL-3.0-or-later. A server built on Zephyrex offers its users its source, as section 13 of the license requires for network use: GET /source returns the source URL, version and license. It points at APP_REPOSITORY, which defaults to the canonical repository, https://git.zephyrex.dev/ZephyrexTechnologies/ServerFramework; a deployment that runs modified code sets APP_REPOSITORY to its own source.

Every response also carries the source, always:

Header Values
Source-Link APP_REPOSITORY
Source-Hash-Status verified: the running source matches the release it was installed from; modified: it does not; unverified: there is no release to check against (a source checkout)
Source-Git-Status The running source's git state: clean or dirty in a git checkout of it; none when it is not one (no .git, as for an installed release, which Source-Hash-Status vouches for); error when git cannot say (not installed, timed out, refused)

Each release wheel carries zephyrex/_provenance.json, the digest of exactly what it ships and the commit it was built from, covered by the wheel's sigstore signature; the running server hashes its own source against it at startup, offline. GET /source adds the version, commit, digest and, per loaded extension, its own source: a bundled extension is part of the framework's, and one loaded from your extensions directory declares repository in its manifest.toml and is checked on its own. None of this changes what the server does: it reports, it never refuses to run.

Metadata

Release files for zephyrex 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zephyrex 0.0.1
File Size Uploaded
zephyrex-0.0.1.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for zephyrex 0.0.1
File Interpreter ABI Platform
zephyrex-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 MB

Release files / zephyrex-0.0.1.tar.gz

Download URL zephyrex-0.0.1.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
70d9d2ea3876584aa524614be1ea0f10cbd31d3a7fe58bbb42ebe0711469e538
BLAKE2b-256 checksum
How to use checksums
78dff62ed4d912b118bf42881c1f4b04cccae93bfeaf89f08bd403650d428ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / zephyrex-0.0.1-py3-none-any.whl

Download URL zephyrex-0.0.1-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cfb15b95744320baf6ed962ba00ca25fec37ba55bf54882cd441f867f75198bd
BLAKE2b-256 checksum
How to use checksums
b05727d9ad80c82692421ce7139fd9a2b3898f2826b6f7cdb8bab672d0043f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page