unicode-charset
unicode-charset is a package that uses generators to return all characters of a given charset.
The main purpose is to efficently get random characters of specific encodings for testing purposes.
Install
pip install unicode-charset
Usage
from charset import charset
# print the first 10 charset of ansi charset
for c in charset("ansi", n=10, random=False):
print(c, c.name)
SPACE
! EXCLAMATION MARK
" QUOTATION MARK
# NUMBER SIGN
$ DOLLAR SIGN
% PERCENT SIGN
& AMPERSAND
' APOSTROPHE
( LEFT PARENTHESIS
) RIGHT PARENTHESIS
Metadata
Release files for unicode-charset 0.0.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 | |
|---|---|---|---|
| unicode_charset-0.0.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unicode_charset-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / unicode_charset-0.0.0.tar.gz
| Download URL | unicode_charset-0.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6024310edea4ceae4b7036b0472f2aaabbeb3b67032e40bb32e6cf586dd3e382
|
|
BLAKE2b-256 checksum How to use checksums |
420bfc3689a50f36f063c67c591b504b929232782014c5d9c01e9aedfbc31b1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.2 Windows/10
|
Release files / unicode_charset-0.0.0-py3-none-any.whl
| Download URL | unicode_charset-0.0.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01b9cfb7b7358591d1eab0075512d3305052e4942040cb014f66d918fc1ceced
|
|
BLAKE2b-256 checksum How to use checksums |
f48ed617e5f83f0417ebb3f59d0b196ab48e98f2619122942181d95f86a52e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.2 Windows/10
|