Skip to main content

Codepot Gen

OpenAPI inference and template-driven code generation for TypeScript, Dart, and debug output.

Installation

pip install codepot-gen

CLI Usage

codepot-gen emit \
  --input openapi.yaml \
  --language typescript \
  --output ./generated

Short aliases are also installed:

apigen --help
codepot --help

Bundled templates are included in the package. You can still override them:

codepot-gen emit \
  --input openapi.yaml \
  --language dart \
  --output ./sdk \
  --templates ./templates/dart

Python Usage

from codepot_gen import GeneratorApp

app = GeneratorApp()

Build And Publish

Install build tools:

python -m pip install build twine

Build locally:

python -m build

Check the package:

python -m twine check dist/*

Publish to TestPyPI first:

python -m twine upload --repository testpypi dist/*

Publish to PyPI:

python -m twine upload dist/*

Metadata

Release files for codepot-gen 0.1.0

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

Source distribution (sdist)

Source distribution for codepot-gen 0.1.0
File Size Uploaded Provenance Actions
codepot_gen-0.1.0.tar.gz 138.2 kB Without provenance Details for codepot_gen-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codepot-gen 0.1.0
File Interpreter ABI Platform Actions
codepot_gen-0.1.0-py3-none-any.whl Python 3 none any Details for codepot_gen-0.1.0-py3-none-any.whl

Total release size: 352.2 kB

Release files / codepot_gen-0.1.0.tar.gz

Download URL codepot_gen-0.1.0.tar.gz
Size 138.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0777440d6108b49c460e6bcc6cd850f44639f7638907d74c22b4431b3187928a
BLAKE2b-256 checksum
How to use checksums
4befd638faf5a23db08e0be484da420676f1f344b2e5d13b5954bee64036c4e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / codepot_gen-0.1.0-py3-none-any.whl

Download URL codepot_gen-0.1.0-py3-none-any.whl
Size 214.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a34d9371d1db8044d16b45bb7b5330b061f95a855451f5a38b18308f9325cb3
BLAKE2b-256 checksum
How to use checksums
d4010fde6ec01d3b975278945fb37e5f2e1172a6d86599a15768fc090a69dae6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for codepot-gen 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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