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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e713116137c042c06a3c2d20f6ba2afa3b5cea20486207484e94c79ee389ba97
|
|
| MD5 |
02a972f701f72857b1ec64f2c2c3cc89
|
|
| BLAKE2b-256 |
9c3fbb6b9e3765fb5fcd4d12da984a0c10d2c6410c3f87eb3fc3fa4f72099f41
|
Provenance
The following attestation bundles were made for cup_check-0.2.1.tar.gz:
Publisher:
release-python.yml on ale-saglia/cup-check
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cup_check-0.2.1.tar.gz -
Subject digest:
e713116137c042c06a3c2d20f6ba2afa3b5cea20486207484e94c79ee389ba97 - Sigstore transparency entry: 1483853995
- Sigstore integration time:
-
Permalink:
ale-saglia/cup-check@86eca2027ece0fb74eef21a598e01c9bc071bec6 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ale-saglia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@86eca2027ece0fb74eef21a598e01c9bc071bec6 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6289953a5bcf307dff53594f9498ea8ef4030509699e50f7a411a1ce4a0ec20b
|
|
| MD5 |
9064f6e05a84a1522ff3d61285cc1081
|
|
| BLAKE2b-256 |
cd72df226cc70420b4130b692af13161ffd777ad7201871efccda4d35fd53f3b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cup_check-0.2.1-py3-none-any.whl -
Subject digest:
6289953a5bcf307dff53594f9498ea8ef4030509699e50f7a411a1ce4a0ec20b - Sigstore transparency entry: 1483854079
- Sigstore integration time:
-
Permalink:
ale-saglia/cup-check@86eca2027ece0fb74eef21a598e01c9bc071bec6 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ale-saglia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@86eca2027ece0fb74eef21a598e01c9bc071bec6 -
Trigger Event:
release
-
Statement type: