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.1.tar.gz (19.3 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.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cup_check-0.2.1.tar.gz
  • Upload date:
  • Size: 19.3 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.1.tar.gz
Algorithm Hash digest
SHA256 e713116137c042c06a3c2d20f6ba2afa3b5cea20486207484e94c79ee389ba97
MD5 02a972f701f72857b1ec64f2c2c3cc89
BLAKE2b-256 9c3fbb6b9e3765fb5fcd4d12da984a0c10d2c6410c3f87eb3fc3fa4f72099f41

See more details on using hashes here.

Provenance

The following attestation bundles were made for cup_check-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: cup_check-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6289953a5bcf307dff53594f9498ea8ef4030509699e50f7a411a1ce4a0ec20b
MD5 9064f6e05a84a1522ff3d61285cc1081
BLAKE2b-256 cd72df226cc70420b4130b692af13161ffd777ad7201871efccda4d35fd53f3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cup_check-0.2.1-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