Skip to main content

Scaffold tested Hayate API, Cloudflare Workers, and MCP 2025-11-25 projects

Project description

create-hayate

API, Cloudflare Workers, and MCP 2025-11-25 project scaffolding for hayateuvx create-hayate my-app and you have a running, tested project in minutes.

uvx create-hayate my-app --template workers
cd my-app
uv run pytest        # green out of the box
uv run python manage_workers.py dev

Templates

Name What you get Serve with
api (default) TODO API + tests that call the app core directly uv run uvicorn app:app --reload
workers The same app on Cloudflare Python Workers uv run python manage_workers.py dev / deploy
mcp MCP 2025-11-25 server shared by ASGI and Workers Uvicorn or manage_workers.py

The mcp template uses the Workers-native, schema-validated hayate-mcp runtime on both platforms. It does not require hayate-auth: connect an existing identity provider through request context, or add the authorization server package when the application owns authentication.

Design

  • Zero-dependency CLI (stdlib only: argparse + string.Template), templates bundled in the package — no network fetch, works offline, version-pinned.
  • Templates mirror the upstream examples/ style, and CI generates every template and runs its test suite, so they can't rot.
  • The Workers template pins Python 3.13 and Node.js 24 to the versions used by workerd/Pywrangler, and its launcher fails fast on an unsupported Node runtime instead of producing an incomplete dependency bundle.
  • Generated projects use the Hayate 0.11 compatibility line. Workers uploads exclude caches, package metadata, ASGI/AWS adapters, and the WSGI bridge while retaining uts46 for complete internationalized URL behavior.
  • WorkerEntrypoint remains the feature-complete default. HTTP-only services can explicitly select the lower-overhead global compatibility path with --workers-entrypoint global; it cannot expose named RPC methods or class handlers such as scheduled.
  • One question at most (the template); --no-input for scripts and CI.

The internal design memo (Japanese, per project convention) lives in DESIGN.md; release history is in CHANGELOG.md.

Status: alpha (0.3.x). Generated API, Workers, and MCP projects are exercised in CI against their real dependency resolution and test suites.

License

MIT

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

create_hayate-0.3.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

create_hayate-0.3.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file create_hayate-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for create_hayate-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6ff2c596680b593734431b7879cfba4b721c629970f3d3b804c3c6c3e669ad40
MD5 ad77d578e1e26df541f1cc106938db2f
BLAKE2b-256 f157f7fb4ecaab953efbfb63e731e71fa6bb6246b017e9254e3c4f7743ec8866

See more details on using hashes here.

Provenance

The following attestation bundles were made for create_hayate-0.3.0.tar.gz:

Publisher: release.yml on hayatepy/create-hayate

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

File details

Details for the file create_hayate-0.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for create_hayate-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f6ec5020a16833a07b719ee3641d14d65b5c2757658a70e9d5aeede96e11fa8
MD5 4f86f9f63ae5ee236d756721e914fd60
BLAKE2b-256 278ebcf5388d31230779bd25f8f3044b6dc88e68cce2ffcec6b30da6f3a06e05

See more details on using hashes here.

Provenance

The following attestation bundles were made for create_hayate-0.3.0-py3-none-any.whl:

Publisher: release.yml on hayatepy/create-hayate

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