Skip to main content

Validazione formale locale dei Codici Unici di Progetto (CUP).

Project description

cup-check

Libreria Python per validare localmente il formato dei Codici Unici di Progetto (CUP).

La verifica e solo formale: un CUP con formato valido viene restituito come FORMATO_VALIDO_DA_VERIFICARE, non come CUP esistente.

from cup_check import validate_format

result = validate_format("G17H03000130001")

print(result.outcome)
print(result.failed_rules)

Per validare piu valori:

from cup_check import validate_many

results = validate_many(["G17H03000130001", "117H03000130001"])

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

cup_check-0.2.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

cup_check-0.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file cup_check-0.2.0.tar.gz.

File metadata

  • Download URL: cup_check-0.2.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cup_check-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31a40a07a33d51a40142d7657a3f8245e20c7f992645d1c190a3e2f07f5bca71
MD5 15461ae64206387aa36c6ac4caec9d4f
BLAKE2b-256 616f10ef311fb26a77e8c623472e56c45106a0a8839a2010c53cbc0a54e572bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cup_check-0.2.0.tar.gz:

Publisher: release-python.yml on ale-saglia/cup-check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cup_check-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cup_check-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cup_check-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c1d856e6d9013a592c79dfd182125e70a5ae42dc25502df8d3cd9ded7ee73a
MD5 63f380153795a07526e42ae3fc821c93
BLAKE2b-256 d7781daf02dfe4fc89d4bd24d25f7ff890720a807a07a82cdbd5fa4803892a22

See more details on using hashes here.

Provenance

The following attestation bundles were made for cup_check-0.2.0-py3-none-any.whl:

Publisher: release-python.yml on ale-saglia/cup-check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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