Add your description here
Project description
datacontract_helper
howto:
todo: https://github.com/datacontract/datacontract-cli/blob/main/datacontract/data_contract.py
data_contract.lint()
data_contract.test()
# Проверка breaking changes между двумя версиями
breaking_changes = data_contract1.breaking(data_contract2)
# Полный changelog с разными уровнями серьезности
changes = data_contract1.changelog(data_contract2, include_severities=[Severity.ERROR, Severity.WARNING])
try:
data_contract = DataContract(data_contract_file="contract.yaml")
# Уже при создании объекта происходит базовая валидация
except DataContractException as e:
print(f"Validation failed: {e}")
build and publish:
manualy increase version in pyproject.toml and remove old version
1308 uv run python3 -m pip install --upgrade setuptools wheel
1309 uv run python3 -m build --no-isolation
1311 uv run twine upload --config-file ./.pypirc dist/*
Project details
Release history Release notifications | RSS feed
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 datacontract_helper-0.1.45.tar.gz.
File metadata
- Download URL: datacontract_helper-0.1.45.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97238d3a7f7187fa7918463b4accbcfa9077262958b0ec3bb6bfc534924a8571
|
|
| MD5 |
3ec8c28914a9d237d7ff17103658b69f
|
|
| BLAKE2b-256 |
0b209c2fda8d2046c3632fdb67afca93eecec321968dd10dbfd92cd9242f718e
|
File details
Details for the file datacontract_helper-0.1.45-py3-none-any.whl.
File metadata
- Download URL: datacontract_helper-0.1.45-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff9bd875078a1955a4ff1a61ded63c5f6a4afa94a543b795bebcfc681157a48
|
|
| MD5 |
c77037ab43a72b428fc65518bd02191c
|
|
| BLAKE2b-256 |
70c8e3777fe95a489c7e68b9963314bc99bb64a60f2ee5c159ab19f28fc81ff0
|