Skip to main content

README

初始化:Git + uv 项目

uv init my_package --package
cd my_package
git init
git add .
git commit -m "init project"

用 git tag 驱动版本号

修改 pyproject.toml(核心配置)

# 删除手写 version
[project]
name = "my-package"
dynamic = ["version"]

# 启用 hatch-vcs
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"

含义:

  • 版本号 来自 git tag
  • uv build / publish 时自动解析

Git tag 规则(必须遵守)

git tag v0.1.0

支持:

  • v0.1.0
  • v1.2.3
  • v1.0.0rc1
  • v1.0.0.post1

本地验证版本号

uv build

完整 Git + uv 发布流程(标准)

# 1. 改代码
git checkout -b feature/x
git commit -m "add feature"

# 2. 合并到 main
git checkout main
git merge feature/x

# 3. 打 tag
git tag v0.2.0
git push origin main --tags

# 4. 发布
uv publish

Metadata

Release files for enlogging 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enlogging 0.1.2
File Size Uploaded Provenance Actions
enlogging-0.1.2.tar.gz 10.2 kB Without provenance Details for enlogging-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enlogging 0.1.2
File Interpreter ABI Platform Actions
enlogging-0.1.2-py3-none-any.whl Python 3 none any Details for enlogging-0.1.2-py3-none-any.whl

Total release size: 13.5 kB

Release files / enlogging-0.1.2.tar.gz

Download URL enlogging-0.1.2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e73b2d2861fd21d0b7b80d9ed7f8cc5a1bd828288f03327b50fe05199f3785ed
BLAKE2b-256 checksum
How to use checksums
91b3bc5d57174fc5324998a68aca3f96b4b7c2e99f4226bad0e1d6e05242edd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / enlogging-0.1.2-py3-none-any.whl

Download URL enlogging-0.1.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bafb956bc1c6f909c41fd28553a15d020040b0391022b10634532c75a2a7377
BLAKE2b-256 checksum
How to use checksums
a8a8d517d2e804076afa07d743b167de9f5882cb01d247286b3f19db4dddc611
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for enlogging 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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