Random generator
Main
Unique
import random_generator
print(random_generator.unique_string(10))
String
import random_generator
print(random_generator.string(15))
Number
import random_generator
print(random_generator.number(15))
Financial
Credit card number
from random_generator.financial import credit_card
print("Visa:", credit_card('Visa'))
print("MasterCard:", credit_card('MasterCard'))
print("American Express:", credit_card('American Express'))
Iban generator
from random_generator.financial import iban
print(iban('PL'))
print(iban('DE'))
Network
IP generator
from random_generator.network import ip
print(ip()) # *.*.*.*
print(ip('192.168.*.*'))
Mac address generator
from random_generator.network import mac_address
print(mac_address()) # *:*:*:*:*:*
print(mac_address('e2:*:*:*:*:*'))
Date
Date generator (Y-m-d)
from random_generator.date import date
print(date())
print(date('1980-01-01', 'Today')) # From, To
Poland
NIP
Polish NIP generator
import random_generator.poland
print(random_generator.poland.nip())
PESEL
Polish PESEL generator
import random_generator.poland
print(random_generator.poland.pesel())
Germany
Vat number
German vat number generator
import random_generator.germany
print(random_generator.germany.vat())
Metadata
Release files for random-generator 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 |
|---|---|---|---|---|
| random_generator-1.0.2.tar.gz | 5.0 kB | Without provenance | Details for random_generator-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| random_generator-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for random_generator-1.0.2-py3-none-any.whl |
Total release size: 11.7 kB
Release files / random_generator-1.0.2.tar.gz
| Download URL | random_generator-1.0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d85bcf84688015d801167b9ecd2e9712c057fa81461077c493a38fc36a747a2
|
|
BLAKE2b-256 checksum How to use checksums |
a3911bf22314b6bdc770e894a7abe931f60e65ab49b3bbe5aede4168ce071e0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / random_generator-1.0.2-py3-none-any.whl
| Download URL | random_generator-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1515c8f6baeed4e37f5f5b98622543d4633c940f7053ee6412d436fe2dc816ee
|
|
BLAKE2b-256 checksum How to use checksums |
e32f7cf0fa28ffcd9c07effb2e8743a96edf1b6cb7801305a5a4b643e50e2833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for random-generator 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.