Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datacontract_helper-0.1.40.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datacontract_helper-0.1.40-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file datacontract_helper-0.1.40.tar.gz.

File metadata

  • Download URL: datacontract_helper-0.1.40.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for datacontract_helper-0.1.40.tar.gz
Algorithm Hash digest
SHA256 33e1f6217b3ac7cd455ca4dec952b756d2ad4a0bdc5ed8222eb142e75197ef52
MD5 c4bc60a92bba0d1ef69bf4f9b819883d
BLAKE2b-256 0247f27b70dfe17f01c75b261b5266438a6c5bcab67ade7a3cb54a61fb3c6be8

See more details on using hashes here.

File details

Details for the file datacontract_helper-0.1.40-py3-none-any.whl.

File metadata

File hashes

Hashes for datacontract_helper-0.1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb26d1cd156eb7271718feba954834d313fa59b15e01558539dfd995d09d806
MD5 5eeabffb45091d3faab93af8709e2ac1
BLAKE2b-256 7af52ba91d0b69ecf126bd58bd781f41cb29680f4ba3d61cd6d5b4ca927ee893

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page