alphabet
alphabet uses various methods to recognize text.
Installation
The easiest way to install the package is via pip:
$ pip install alphabet
Usage
Obfuscation
from alphabet import alphabet
key = "foobar"
s = alphabet.alphabet("python")
print(s)
> python
t = s.obfuscate(key)
print(bytes(t, 'utf-8'))
> b'\x16\x16\x1b\n\x0e\x1c'
print(t.obfuscate(key))
> python
Identify a string
from alphabet import alphabet
alphabet('%!').identify()
> 'PostScript document text'
alphabet('import os').identify()
> 'Python'
alphabet('<div>foobar</div>').identify()
> 'XML'
alphabet('Привет').identify()
> 'ru'
Metadata
Release files for alphabet 0.0.8
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 |
|---|---|---|---|---|
| alphabet-0.0.8.tar.gz | 3.2 kB | Without provenance | Details for alphabet-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alphabet-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for alphabet-0.0.8-py3-none-any.whl |
Total release size: 7.7 kB
Release files / alphabet-0.0.8.tar.gz
| Download URL | alphabet-0.0.8.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8df7dda2c1f3783c39e453da3805a0e41aa7c17de2ad62822b076cc4679692af
|
|
BLAKE2b-256 checksum How to use checksums |
c404564876476ecba08fd94a8498f71e0677fbd979a0791cda9f3b9f1684c3e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.8
|
Release files / alphabet-0.0.8-py3-none-any.whl
| Download URL | alphabet-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50985e5fc5a16f10b4ed416fef264c33e0c44d52ebe73fcd1b2aafda23d4dd36
|
|
BLAKE2b-256 checksum How to use checksums |
3cf770efe8ebd67033cb74c5ac3ca14bc9c99885bcf6ba64ca740e6d4c2c4096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.8
|
Security for alphabet 0.0.8
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.