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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cup_check-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8d7892f8280d0b69e30ff9917490ff0bc5a6c2c0eb94099047822a2416beb683
MD5 1e3837f57510bfaff418e5943717c6e5
BLAKE2b-256 b77c57e3f874821a89a1b070c72e611c3f745db4625d3bfa09f859a67bb47dd6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cup_check-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e84e26d988fc052f7da9d0d49553408b9edae24f8bbbcc02f56ec99226cde6
MD5 84d5d286f999b02f2cf8eae79ecccc2d
BLAKE2b-256 8b31c8324e8e9aba5caa2a6292f0de36372d027cf487401d690443b304961e49

See more details on using hashes here.

Provenance

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