create-promptex-py
Scaffold a promptex Python project, plugin or adapter from the promptex-templates starters.
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 名稱;預設取目標目錄名正規化 |
--ref <r> |
抓 promptex-templates 的指定 branch/tag;預設 v<本套件版本> |
--source <p> |
改用本地 promptex-templates checkout(離線與開發用) |
--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 骨架裡教你怎麼填的註解維持英文。
目標目錄非空時列出既有項目、零寫入退出。模板不內嵌:單一來源住
promptex-templates 倉庫,鷹架時以 git 取得對應版本 tag(需要 git;
{{promptexVersion}} 於鷹架當下以本套件版本填入,三套件與 SDK 同版發布)。
promptex init 與本工具的分工:init 在既有專案就地補上 promptex(非互動、
極簡骨架);本工具從零開一個 repo(互動、三種模板、git init)。
Metadata
Release files for create-promptex-py 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| create_promptex_py-1.0.0.tar.gz | 19.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| create_promptex_py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.0 kB
Release files / create_promptex_py-1.0.0.tar.gz
| Download URL | create_promptex_py-1.0.0.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
010e5dc8a2b0970ef530b5d959620a5c476b128161b6d50b56c9fd74436e1af0
|
|
BLAKE2b-256 checksum How to use checksums |
a4572c2e516e4986e7d3211893a084301bcee816e4a5abf2e14f6820e93f2eed
|
| 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.0-py3-none-any.whl
| Download URL | create_promptex_py-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d42f3f6a37a00c9af0a4d283c0ff30226c3786d6e24394af833e7502b8b21528
|
|
BLAKE2b-256 checksum How to use checksums |
ae7740032b96b6de6fa6fe982a99eb1f80226678fc5be05e96411011ff5ebf1d
|
| 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.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.