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

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.6
File Size Uploaded
phzyx_forge-0.1.6.tar.gz 344.4 kB Details

Built distribution (wheel)

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

Total release size: 743.5 kB

Release files / phzyx_forge-0.1.6.tar.gz

Download URL phzyx_forge-0.1.6.tar.gz
Size 344.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8b29a48777bbb7e84a606a8b0be1cdb80dea139fbca84e411950ce5fa71a2177
BLAKE2b-256 checksum
How to use checksums
10658c041f31a1cd8d29ab7cbb34fe23909371b6dfc335e801f5541736fdcac4
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.6-py3-none-any.whl

Download URL phzyx_forge-0.1.6-py3-none-any.whl
Size 399.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c43a141c9174c21a6037a69dbb1b585edaf67b9b6c5eb0468c4edae69bc185dc
BLAKE2b-256 checksum
How to use checksums
243f1ca5fc8de5e9e66ae3638e4f6c878d177e4c593f363737a8d933e19b9781
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

This release

0.1.6 This release

2 release files

0.1.5

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