CharCollection
With this module you can easily generate a sequence from 1 to 75 characters, including special characters (!@#$%^&*()_=+[]{};:"\|,).
This is a stand-alone module, from dependencies , only built-in random module (for now).
There is also a class for generating a password from characters from 6 to 20, including special characters.
Simple use case:
from char_collection.collect import CharacterSequence collect = CharacterSequence() collect.collect(10) # Q#,PT^$o&W (random string)
Or you can generate a password like this:
from char_collection.collect_password import CollectPassword generator = CollectPassword() generator.collect(8) # B|Gd";;b
You can also use the CollectPasswordNotSpecialSymbol class, which will generate a password without special characters
from char_collection.collect_password import CollectPasswordNotSpecialSymbol generator_not_special_symbol = CollectPasswordNotSpecialSymbol() generator_not_special_symbol.collect(8) # L3nAIorm
You can use the password generator, for example, in a telegram bot by connecting this module with the bot. Password must be at least 6 and no more than 20 characters. If the length is false, returns None.
Metadata
Release files for char-collection 1.2.0
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 |
|---|---|---|---|---|
| char-collection-1.2.0.tar.gz | 3.2 kB | Without provenance | Details for char-collection-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| char_collection-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for char_collection-1.2.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / char-collection-1.2.0.tar.gz
| Download URL | char-collection-1.2.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
766c09eb264ea951a884e148ffa97a821ad11e62936e0cdfe14314534823c752
|
|
BLAKE2b-256 checksum How to use checksums |
50f7f2a33de194da57d8b3e5d853b8292c71d5f0033c50fe67ed1dbea5113fda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Release files / char_collection-1.2.0-py3-none-any.whl
| Download URL | char_collection-1.2.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
131dca6d7b8584870966d5b285faaa8ec6faeb07ba5dc058cbd2807ef5ad1e3b
|
|
BLAKE2b-256 checksum How to use checksums |
ed5ff0a448cc604492ae995eab99fcbfb58d1decdc68668f5b003f59bf039e66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Security for char-collection 1.2.0
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.