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.

Metadata

Release files for phantasos 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phantasos 0.1.1
File Size Uploaded Provenance Actions
phantasos-0.1.1.tar.gz 197.6 kB With provenance Details for phantasos-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phantasos 0.1.1
File Interpreter ABI Platform Actions
phantasos-0.1.1-py3-none-any.whl Python 3 none any Details for phantasos-0.1.1-py3-none-any.whl

Total release size: 451.4 kB

Release files / phantasos-0.1.1.tar.gz

Download URL phantasos-0.1.1.tar.gz
Size 197.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c0d7b52c1a59900c9b0ad469233528df7adb8a1d5c4dae2e8aafe695b9dbf362
BLAKE2b-256 checksum
How to use checksums
82cdbd9ac21c1b8ca4c57c5c6b5a6387dd29253b16dfb5385da5602c441a75ad
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 Aug 18, 2026.

Transparency log

Release files / phantasos-0.1.1-py3-none-any.whl

Download URL phantasos-0.1.1-py3-none-any.whl
Size 253.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b109be66828f82b237fc2ac2fdba2be85aa73d6359b89e666ad5c72384714a19
BLAKE2b-256 checksum
How to use checksums
fc17179fadc498362e2bab50074f2b7dd3de6c7bf94b473c9011790092d8fb55
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 Aug 18, 2026.

Transparency log

Security for phantasos 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for phantasos-0.1.1.tar.gz

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 Aug 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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