Skip to main content

Phzyx Forge — Pydantic schema, failsafe migrations, ORM, AdminBoard, CLI. Docs: https://phzyx.xyz/forge

Project description

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
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/getting-started.


Install

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

That is the full product 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.

phzyx --help
# Greenfield: create folder + scaffold
phzyx new myapp --preset max
# Existing FastAPI app: scaffold in this directory
phzyx forge init --yes --preset max
CLI When
phzyx new NAME New project directory
phzyx forge init Scaffold here
phzyx 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)
  • CLIphzyx 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phzyx_forge-0.1.1.tar.gz (339.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phzyx_forge-0.1.1-py3-none-any.whl (393.0 kB view details)

Uploaded Python 3

File details

Details for the file phzyx_forge-0.1.1.tar.gz.

File metadata

  • Download URL: phzyx_forge-0.1.1.tar.gz
  • Upload date:
  • Size: 339.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for phzyx_forge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 85e3ba66dfee5add17f72b7d1d2eaa964c65c50754d78db7d555c48160768a1c
MD5 a1fa71390f3207276d36fd07ffff9e11
BLAKE2b-256 18f08b04a4fa93939fe4e886e5d700e28e45c52ef91206556345451ad455b9a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for phzyx_forge-0.1.1.tar.gz:

Publisher: publish.yml on phzyxyz/forge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phzyx_forge-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: phzyx_forge-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 393.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for phzyx_forge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18a71bf384842fa827ac36d359fa426c8a095f728fc8abbf7ab7c554cc853f01
MD5 a0fcd9729ff087b3642d524f03bf246e
BLAKE2b-256 c19e514f4efbda14e04f98a00d4d1766025012390b8708bb32dce70084774d48

See more details on using hashes here.

Provenance

The following attestation bundles were made for phzyx_forge-0.1.1-py3-none-any.whl:

Publisher: publish.yml on phzyxyz/forge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page