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.5

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.5
File Size Uploaded
phzyx_forge-0.1.5.tar.gz 344.3 kB Details

Built distribution (wheel)

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

Total release size: 743.2 kB

Release files / phzyx_forge-0.1.5.tar.gz

Download URL phzyx_forge-0.1.5.tar.gz
Size 344.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9a6fa2db83ffb1e0231013818468b2e931f131826ce0b33a7299bdddf4fe5070
BLAKE2b-256 checksum
How to use checksums
4e6a4ec847729860f9390265ffae423f1c4cea64412e87ea2bd1997f39f24513
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 Jul 30, 2026.

Transparency log

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

Download URL phzyx_forge-0.1.5-py3-none-any.whl
Size 398.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bef465a53ebb75381531589562a016678d90636f1f58f63a5b93ab247fc9a1bb
BLAKE2b-256 checksum
How to use checksums
9a196d4c9ca38e774ee340eadbdc2093a71603a09425ee9af20cf20f799d6b7b
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 Jul 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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