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

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.4
File Size Uploaded
phzyx_forge-0.1.4.tar.gz 343.8 kB Details

Built distribution (wheel)

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

Total release size: 742.2 kB

Release files / phzyx_forge-0.1.4.tar.gz

Download URL phzyx_forge-0.1.4.tar.gz
Size 343.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4143f9f07e543a7e119e957e060200265f2ba1b0d2d66abd8919938ce64694e2
BLAKE2b-256 checksum
How to use checksums
35c1cf12a69202a573f8da792f59d045b9fb17cb726c020addf4547085045572
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.4-py3-none-any.whl

Download URL phzyx_forge-0.1.4-py3-none-any.whl
Size 398.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31216ee11984b940b35560a85a8eb5ea075264a7ed313f95d298b7d07a612583
BLAKE2b-256 checksum
How to use checksums
0304184a56eef8cdb59852d945fa080966a4c76ba49882f7ddb2021fdb0be918
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

0.1.5

2 release files

This release

0.1.4 This release

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