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.42.tar.gz (9.8 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.42-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datacontract_helper-0.1.42.tar.gz
  • Upload date:
  • Size: 9.8 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.42.tar.gz
Algorithm Hash digest
SHA256 04af6c297ee42fe2e5d06e32c63cebc9743393e5ef125ab422389d2a2a6cadab
MD5 d6ac01a429a04a6eb811850faaa17d6d
BLAKE2b-256 681326e32d5b7788861fa2f24d8e5c28a5c23a73271c9f68fabd2e005c525b9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datacontract_helper-0.1.42-py3-none-any.whl
Algorithm Hash digest
SHA256 f1728f7ad14082d995af778d141388c0c89683bd8df7797b8e94303fd6e8830e
MD5 b3b06ca15afa5bdf87881f408992da65
BLAKE2b-256 47b40fb7386b87c7016600a3b9787ebb4327d1e3fbfe9b9b1df7f56538fc6b94

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