pypi-sdk.space
เครื่องมือ CLI และ automation สำหรับ repo thanabartbb/pypi-sdk.space — build, ตรวจสุขภาพก่อน publish ไป PyPI, ติดตามการเปลี่ยนแปลง และแจ้ง Slack
ลิงก์สำคัญสำหรับบัญชี PyPI ของคุณ (Trusted publishing /):
ติดตั้ง
make dev
pypi-space doctor
คำสั่งพื้นฐาน (CLI)
| คำสั่ง | ใช้เมื่อ |
|---|---|
pypi-space doctor |
ตรวจ Python, twine, webhook, config |
pypi-space version show |
ดูเวอร์ชันใน pyproject.toml |
pypi-space version bump patch --write |
bump semver แล้วเขียนไฟล์ |
pypi-space build |
สร้าง wheel + sdist ใน dist/ |
pypi-space check-dist |
twine check บน artifact |
pypi-space pypi info <name> |
อ่านเวอร์ชันล่าสุดจาก PyPI |
pypi-space publishing |
checklist + ลิงก์ publishing errors |
pypi-space monitor run --json |
สแกนการเปลี่ยนแปลง (local vs PyPI) |
pypi-space monitor slack |
ส่งสรุปไป Slack ผ่าน SLACK_WEBHOOK_URL |
Makefile shortcuts: make test, make monitor, make monitor-slack
Cursor commands (ใน IDE)
พิมพ์ / แล้วเลือก:
/pypi-status— สรุปสุขภาพ repo + PyPI/pypi-publish-check— เช็คก่อน release / publish/pypi-slack-update— รัน monitor แล้วโพสต์ Slack (MCP)/pypi-watch— ตั้ง timer ให้ agent ติดตามและแจ้งเป็นระยะ
Slack & GitHub Actions
- สร้าง Incoming Webhook ใน Slack workspace
- ใส่ secret ใน GitHub repo:
SLACK_WEBHOOK_URL - Workflow
monitor-and-notify.ymlจะรันตาม schedule และเมื่อ push ที่main
Channel เริ่มต้นใน config/monitor.yaml ชี้ไป #general — แก้ slack.channel_id ได้
Publish ไป PyPI
ใช้ Trusted publishing จาก GitHub Actions (publish.yml) หลัง tag release
หาก publish ล้มเหลว เปิดหน้า errors ของบัญชี PyPI:
https://pypi.org/manage/account/publishing/#errors
License
Apache-2.0 — see LICENSE.
Metadata
Release files for pypi-sdk-space 0.1.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 | |
|---|---|---|---|
| pypi_sdk_space-0.1.0.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypi_sdk_space-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / pypi_sdk_space-0.1.0.tar.gz
| Download URL | pypi_sdk_space-0.1.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e45d8dcbabcaaa3227f5d11d0daf6705f4d72fb0a98ddcacc0de0342b6c76e03
|
|
BLAKE2b-256 checksum How to use checksums |
d0de06947b1465ef4ef28dd240500c2dda7243822a870e212eafcd7489435615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logRelease files / pypi_sdk_space-0.1.0-py3-none-any.whl
| Download URL | pypi_sdk_space-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
369b08df330dce1712ebf4de28afac140113bad46d38b8e2797910665a77a382
|
|
BLAKE2b-256 checksum How to use checksums |
35499bb0abe6ce7fdbca5fd71f32ec3ee9f151c79c476cba8c8c26f9c923adda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency log