Die Python-Bibliothek PyZufall beinhaltet Funktionen für das Generieren zufälliger Daten.
Die Entwicklung begann als Satzgenerator und wird noch in diese Richtung weitergeführt. Durch die große Sammlung an Funktionen kann sie inzwischen vielfältig eingesetzt werden. So wird sie bereits von anderen Projekten verwendet, wie dem Random VCard-Generator.
PyZufall ist Freie Software. Der Quellcode ist Open Source und steht unter der GPL Version 3.
Das Code Repository und ein Bugtracker sind auf Github.
Jeder ist eingeladen zum Projekt beizutragen!
Ausführliche Informationen sind in der Dokumentation zu finden.
Installation
Mit der Paketverwaltung pip lässt sich die neuste stabile Version installieren.
# pip install pyzufall
Kompatibel mit Python 2.7, Python 3.3+ sowie PyPy.
Verwenden
Hier ein einfaches Beispiel, wie du mit PyZufall einen zufälligen Namen generieren kannst:
from pyzufall.generator import vorname, nachname name = vorname() + ' ' + nachname() print(name)
In der Dokumentation findest du weitere Beispiele und eine Referenz aller Funktionen.
Metadata
Release files for PyZufall 0.13.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 | |
|---|---|---|---|---|
| PyZufall-0.13.2.tar.gz | 101.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyZufall-0.13.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 195.5 kB
Release files / PyZufall-0.13.2.tar.gz
| Download URL | PyZufall-0.13.2.tar.gz |
|---|---|
| Size | 101.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
659160f36e3d909330ceb4df48f3d4ecbbd9db6216ca858e6b4ea00a4484cec9
|
|
BLAKE2b-256 checksum How to use checksums |
e9290da2eea28f42f984fdbf9219270bd311572a7f89496a360de82b5912881e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PyZufall-0.13.2-py2.py3-none-any.whl
| Download URL | PyZufall-0.13.2-py2.py3-none-any.whl |
|---|---|
| Size | 93.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
03b1feea016ffefff6e6b23e90ec095818c1d1d5c71036252881356295a950fe
|
|
BLAKE2b-256 checksum How to use checksums |
7cb11d38faf8222f855ba90995a7dc6dc1d4242f2022a34fe238d2938824908e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PyZufall 0.13.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.