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.
Metadata
Release files for annet-unidp 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 | Provenance | Actions |
|---|---|---|---|---|
| annet_unidp-0.1.0.tar.gz | 4.3 kB | With provenance | Details for annet_unidp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| annet_unidp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for annet_unidp-0.1.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / annet_unidp-0.1.0.tar.gz
| Download URL | annet_unidp-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
430a87f9c3ce2c46d4c7140e1a83883916cd14b4fb7109a61c5f16250da2ac6f
|
|
BLAKE2b-256 checksum How to use checksums |
89abcc6db07c46b9268701b5df6aded10f5f15eff209f9dd4ded40b57691754d
|
| 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 Sep 15, 2026.
Transparency logRelease files / annet_unidp-0.1.0-py3-none-any.whl
| Download URL | annet_unidp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec2c232234a1dd49e991ff2222204df376ac500b3423b672823551b94c081998
|
|
BLAKE2b-256 checksum How to use checksums |
7d4c1cd071a4f51902f15db87541071aeaa377ab07eab87d3ad3762450231259
|
| 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 Sep 15, 2026.
Transparency logSecurity for annet-unidp 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for annet_unidp-0.1.0.tar.gz
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 Sep 15, 2026.
Transparency logA 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.