Skip to main content

Phantasos

CI Docs License: Apache-2.0

Phantasos generates Python SDKs and command-line tools from OpenAPI specs for Palo Alto Networks products

You describe an API in a small products/<name>/ folder. The OpenAPI spec plus a short sdk.yml. Phantasos runs OpenAPI Generator and adds what the raw generator leaves out:

  • Spec cleanup,
  • Fixes for known codegen bugs
  • Ready-made auth
  • Pagination
  • Error handling
  • Project Scaffold (tests, CI, docs)

From the built SDK you then generate a matching command-line interface. Each result is a standalone project that depends only on httpx, urllib3 and pydantic.

Quick start

git clone https://github.com/kaisero/phantasos && cd phantasos
pip install -e .

# generate an SDK from products/prisma-browser
phantasos sdk build prisma-browser

# generate a CLI from the built SDK
phantasos cli build prisma-browser

No Java setup needed: the first build downloads OpenAPI Generator and a pinned JRE once into ~/.cache/phantasos.

Documentation

Guides, Configuration reference and architecture live at kaisero.github.io/phantasos.

Download files

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

Source Distribution

phantasos-0.1.1.tar.gz (197.6 kB view details)

Uploaded Source

Built Distribution

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

phantasos-0.1.1-py3-none-any.whl (253.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phantasos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c0d7b52c1a59900c9b0ad469233528df7adb8a1d5c4dae2e8aafe695b9dbf362
MD5 2a2d924db0f51a7fbdb803e9bf7b15c0
BLAKE2b-256 82cdbd9ac21c1b8ca4c57c5c6b5a6387dd29253b16dfb5385da5602c441a75ad

See more details on using hashes here.

Provenance

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

Publisher: release.yml on kaisero/phantasos

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

File details

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

File metadata

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

File hashes

Hashes for phantasos-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b109be66828f82b237fc2ac2fdba2be85aa73d6359b89e666ad5c72384714a19
MD5 af75f4aba820b71b9417ea1de0737717
BLAKE2b-256 fc17179fadc498362e2bab50074f2b7dd3de6c7bf94b473c9011790092d8fb55

See more details on using hashes here.

Provenance

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

Publisher: release.yml on kaisero/phantasos

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 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