Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0a1

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.0a1
File Size Uploaded Provenance
create_promptex_py-1.0.0a1.tar.gz 14.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 27.0 kB

Release files / create_promptex_py-1.0.0a1.tar.gz

Download URL create_promptex_py-1.0.0a1.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8e15b7776790a524eb7c688761e5c75c436817144a5dc1056e89f4648984be98
BLAKE2b-256 checksum
How to use checksums
96ee13d8b5fe32f523d7730dc30710b4db70f4beacb0b67fc5e11d7d78b1439e
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.0a1-py3-none-any.whl

Download URL create_promptex_py-1.0.0a1-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
698a7ba4011848a5835923c83ff2d65d5c0e99ff76549551b014961c160abfdb
BLAKE2b-256 checksum
How to use checksums
5030925c22deff4d1db867e94567f394db3a8f3c8f04758c261123d78658af69
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.0a1

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