Skip to main content

create-promptex-py

Scaffold a promptex Python project, plugin or adapter from the starter templates bundled with this package.

uvx create-promptex-py

Interactive by default; every answer has a flag for non-interactive use:

uvx create-promptex-py my-prompts --template project --name my-prompts --no-git --yes
Flag Meaning
--template <t> project(消費專案)、plugin、adapter
--name <n> kebab-case 名稱;預設取目標目錄名正規化
--source <p> 改讀本地模板目錄(含各 *-starter 的那一層),開發模板時用
--git / --no-git 是否 git init;互動預設是
--install 鷹架後直接 uv sync;預設只印下一步
--yes 跳過互動,全部取預設或旗標值
--locale <l> 訊息與範例資源的語系:en(預設)或 zh-Hant

語系未以 --locale 指定時,依序讀 PROMPTEX_LOCALE、LANGUAGE、LC_ALL、 LC_MESSAGES、LANG,都沒有就用英文;LC_ALL=C 意為關掉在地化。zh-TW、 zh-HK、zh-MO 與 zh-Hant-* 都對到 zh-Hant。它同時決定鋪出來的範例資源 用哪個語系寫(ADR-030):那份內容從產出 當下起就歸你,框架不再改寫它。plugin 與 adapter 骨架裡教你怎麼填的註解維持英文。

目標目錄非空時列出既有項目、零寫入退出。模板隨本套件一起發布, 鷹架時不需要網路,每個版本具現化的都是它發布時的模板。{{promptexVersion}} 於鷹架當下以本套件版本填入,三套件與 SDK 同版發布。

promptex init 與本工具的分工:init 在既有專案就地補上 promptex(非互動、 極簡骨架);本工具從零開一個 repo(互動、三種模板、git init)。

Metadata

Release files for create-promptex-py 1.0.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 create-promptex-py 1.0.1
File Size Uploaded Provenance
create_promptex_py-1.0.1.tar.gz 25.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for create-promptex-py 1.0.1
File Interpreter ABI Platform
create_promptex_py-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 58.1 kB

Release files / create_promptex_py-1.0.1.tar.gz

Download URL create_promptex_py-1.0.1.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98a6d604f2c7e826038b4aa4f80bacaad88d069c5fea26666244e8a18629a6c7
BLAKE2b-256 checksum
How to use checksums
c82669ddb0126a6f9dccf21a36bf5547213e377e0f5c4006bc4213ebc602e792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / create_promptex_py-1.0.1-py3-none-any.whl

Download URL create_promptex_py-1.0.1-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fa4d7221b0c8e74d9e8a72e5f1a61b9a1e73b38244090190d55e0a4ae928b45
BLAKE2b-256 checksum
How to use checksums
9dc0810d9ba1d9454baeb6a846e23c02d4f6abae2d18627523160fbd8fd0da93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Security for create-promptex-py 1.0.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.

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.

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