annet-unidp
Pydantic-модели единого diff/patch-формата для Annet.
from annet_unidp import UnifiedDiffPatch, UnifiedPatch
Пакет сохраняет контракт noc.python.unidp: blackbox-команды, entire- и
json_fragment-файлы, команды до и после обновления.
Разработка
uv sync
uv run mypy annet_unidp
uv run pytest
uv build
Выпуск
Релиз создаётся из чистой ветки main. Для первого релиза 0.1.0:
make release BUMP=minor
Git-тег задаёт версию пакета. GitHub Actions проверяет wheel и sdist, публикует
их через Trusted Publishing и создаёт GitHub Release. Для первого релиза в
PyPI нужно настроить pending publisher: owner annetutil, repository unidp,
workflow release.yml, environment pypi, project annet-unidp. Полный
сценарий выпуска и восстановления после ошибок находится в
release skill.
Лицензия — MIT, YANDEX LLC.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file annet_unidp-0.1.0.tar.gz.
File metadata
- Download URL: annet_unidp-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
430a87f9c3ce2c46d4c7140e1a83883916cd14b4fb7109a61c5f16250da2ac6f
|
|
| MD5 |
d1492b22a4c2b46a317ea6a1f61b81a2
|
|
| BLAKE2b-256 |
89abcc6db07c46b9268701b5df6aded10f5f15eff209f9dd4ded40b57691754d
|
Provenance
The following attestation bundles were made for annet_unidp-0.1.0.tar.gz:
Publisher:
release.yml on annetutil/unidp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
annet_unidp-0.1.0.tar.gz -
Subject digest:
430a87f9c3ce2c46d4c7140e1a83883916cd14b4fb7109a61c5f16250da2ac6f - Sigstore transparency entry: 2850849851
- Sigstore integration time:
-
Permalink:
annetutil/unidp@c5e7aee716d0791e6a1e374af51d75865f22ea88 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/annetutil
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c5e7aee716d0791e6a1e374af51d75865f22ea88 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file annet_unidp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: annet_unidp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec2c232234a1dd49e991ff2222204df376ac500b3423b672823551b94c081998
|
|
| MD5 |
5d54f688a2c5698c5553df5659af937f
|
|
| BLAKE2b-256 |
7d4c1cd071a4f51902f15db87541071aeaa377ab07eab87d3ad3762450231259
|
Provenance
The following attestation bundles were made for annet_unidp-0.1.0-py3-none-any.whl:
Publisher:
release.yml on annetutil/unidp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
annet_unidp-0.1.0-py3-none-any.whl -
Subject digest:
ec2c232234a1dd49e991ff2222204df376ac500b3423b672823551b94c081998 - Sigstore transparency entry: 2850850592
- Sigstore integration time:
-
Permalink:
annetutil/unidp@c5e7aee716d0791e6a1e374af51d75865f22ea88 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/annetutil
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c5e7aee716d0791e6a1e374af51d75865f22ea88 -
Trigger Event:
workflow_dispatch
-
Statement type: