sysnet-ident
Tento balíček obsahuje procedury generování a kontrolu identifikačních kódů
Požadavky
Python 3.9+
Instalace a použití
pip install --update sysnet-ident
(pokud potřebujete ke spuštění pip with oprávnění rool: sudo pip install sysnet-ident)
Pak importujte balíček:
import sysnet_ident
Setuptools
Instalace via Setuptools.
python setup.py install --user sysnet-sysnet_ident
(nebo sudo python setup.py install sysnet-ident pro instalaci balíčku pro všechny uživatele)
A import balíčku:
import sysnet_ident
Použití v programu
Balíček poskytuje řadu procedur.
- check_pid - Kontroluje spravnost PID
- correct_pid - Zkontroluje a opravi PID
- next_api_key - Vytvoří nový URL-safe API Key
- next_pid - vytvoří nový PID
- next_token - Vytvoří náhodný URL-safe textový řetězec v kódování Base64
- next_uuid - vytvoří nový UUID identifikátor
- is_identifier_pid - test identifikátoru: je ve formátu PID?
- is_identifier_unid - test identifikátoru: je ve formátu UNID?
- is_identifier_uuid - test identifikátoru: je ve formátu UUID?
- is_valid_uuid - je identifikátor validním UUID?
- hash_ - kontrolní součet textu
- hash_files_ - fontrolní součet souborů
Systémové proměnné
Nastavení factory je řízeno systémovými proměnnými
- PID_PREFIX - implicitní tříznakový prefix pro PID
- PASSWORD_USE_LOWER - použití malých písmen při generování hesla (True)
- PASSWORD_USE_UPPER - použití velkých písmen při generování hesla (True)
- PASSWORD_USE_DIGITS - použití číslic při generování hesla (True)
- PASSWORD_USE_PUNCTUATION - použití interpunkce při generování hesla (False)
Metadata
Release files for sysnet-ident 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sysnet-ident-1.0.2.tar.gz | 17.9 kB | Without provenance | Details for sysnet-ident-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sysnet_ident-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for sysnet_ident-1.0.2-py3-none-any.whl |
Total release size: 34.6 kB
Release files / sysnet-ident-1.0.2.tar.gz
| Download URL | sysnet-ident-1.0.2.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e581aaf4844457e96392bafd9ac97540a9a2403419ef5d8a737ad750e74679dd
|
|
BLAKE2b-256 checksum How to use checksums |
a922e924cd50705153d6850f6011b805edf1d88a512c718367bf28a53990390f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / sysnet_ident-1.0.2-py3-none-any.whl
| Download URL | sysnet_ident-1.0.2-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17ec5e71365f9cb0edf5618d4ca9676ac7336b71428cf934fb61d6035c940a1e
|
|
BLAKE2b-256 checksum How to use checksums |
579d9b98e56ead7de2e97c1457bf09a5a0ffb1f190bedeeaaf1e675b7c7b6810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for sysnet-ident 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.