Skip to main content

Phzyx Forge

The Phzyx data stack in one install — Pydantic schema, failsafe migrations, dual sync/async ORM, AdminBoard, and the phzyx CLI.

Define once in Pydantic. Push or migrate safely. Ship AdminBoard without bolting on a second product.


Start here (website & docs)

PyPI is only the install surface. Full guides, tutorials, performance story, and product home live on the Phzyx site:

Product home https://phzyx.xyz
Docs (Forge) https://phzyx.xyz/forge
Beginner (first run) https://phzyx.xyz/forge/beginner
Getting started https://phzyx.xyz/forge/getting-started
Quickstart tutorial https://phzyx.xyz/forge/tutorials/quickstart
AdminBoard https://phzyx.xyz/products/adminboard
Python / install https://phzyx.xyz/python
Performance https://phzyx.xyz/performance
Source https://github.com/phzyxyz/forge
Issues https://github.com/phzyxyz/forge/issues

If you only open one page after install → phzyx.xyz/forge/beginner.


Install

uv add phzyx-forge
# or
pip install phzyx-forge

That is the full library for local work: schema · engine · ORM · AdminBoard (FastAPI + SPA) · CLI · SQLite (aiosqlite included).

FastAPI is required for the default AdminBoard path (included as a dependency). Forge is built to complete the FastAPI-era feature set — stay on the API stack you chose instead of switching frameworks only for admin/batteries.

# First run — any OS (macOS / Linux / Windows)
uv tool install phzyx-forge
# upgrading an older install?
uv tool install phzyx-forge --reinstall

forge new myapp --yes            # alias: phzyx new myapp --yes
cd myapp
uv sync
uv run forge start               # alias: uv run phzyx start
# → http://127.0.0.1:9898  /docs  /admin/

# Already inside a uv project? scaffold *here* (no nested folder):
#   uv add phzyx-forge
#   uv run forge init --yes
#   uv run forge start

Always use uv run … inside a project. Do not run bare uvicorn from Homebrew/global Python.

CLI When
forge / phzyx Same binary (both ship in this wheel)
forge new NAME New project directory
forge start Dev server :9898 (prompts if schema/migrations pending)
forge init Scaffold here
forge add auth|admin One wiring file only (not install)

Full CLI docs: phzyx.xyz/forge/cli.

Extras (when you need them)

Extra Adds
(core) Full Forge + SQLite
postgres Postgres drivers
mysql MySQL / MariaDB driver
mssql SQL Server driver
auth phzyx-auth battery
cache phzyx-cache battery
litestar Litestar Admin adapter
full Every driver + auth + cache + Litestar
uv add 'phzyx-forge[postgres]'
uv add 'phzyx-forge[auth]'
uv add 'phzyx-forge[full]'

Already installed Forge? Same commands merge extras — nothing to uninstall.


Quick taste

from phzyx.schema.model import Model
from phzyx.orm import Session
from phzyx.admin.fastapi import AdminBoard

# Prefer the full walkthrough:
# https://phzyx.xyz/forge/getting-started

Imports stay under phzyx.* — one brand, one mental model.


What you get

  • Schema — Pydantic models as source of truth
  • Engine — push / migrate with failsafe-minded workflow
  • ORM — dual sync + async sessions
  • AdminBoard — intentional admin API + SPA (not a bolt-on afterthought)
  • CLI — phzyx new, phzyx db push, doctor, presets

Pre-1.0: APIs may evolve. Prefer a lockfile (uv.lock); read the site for the current story.


Where to go next

  1. Getting started — first app path
  2. Forge docs hub — guides & reference
  3. AdminBoard — operator UI
  4. GitHub forge — source, issues, releases

License

MIT · Athul Nandaswaroop · phzyx.xyz

Metadata

Release files for phzyx-forge 0.1.7

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

Source distribution (sdist)

Source distribution for phzyx-forge 0.1.7
File Size Uploaded Provenance
phzyx_forge-0.1.7.tar.gz 349.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phzyx-forge 0.1.7
File Interpreter ABI Platform
phzyx_forge-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 755.3 kB

Release files / phzyx_forge-0.1.7.tar.gz

Download URL phzyx_forge-0.1.7.tar.gz
Size 349.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0966e62771133657233e1ee52318eaa65aca0a6c5370dd757921fa4743652c71
BLAKE2b-256 checksum
How to use checksums
227d8a964fede09b69039782bdd82dcdb28fb2cd86d3e5bc3a2bf5aaa3a7e02a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

Release files / phzyx_forge-0.1.7-py3-none-any.whl

Download URL phzyx_forge-0.1.7-py3-none-any.whl
Size 405.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
897bc48de9bf74a8cb17488eb9bb634c8d47c0d267785b397ff43a24b4d1fabd
BLAKE2b-256 checksum
How to use checksums
cbd1071e3115d0696f02ecd3c7fa8fe0b1879e1e63cb06ffa74aa6fddb979145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

Security for phzyx-forge 0.1.7

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for phzyx_forge-0.1.7.tar.gz

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 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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