A dumb Python utility that returns the full alphabet with one or more letters removed. Shoutout to Alberta Tech for the idea. Thought it was silly and wanted to do it.
Installation
pip install alphabet-except
Usage
from alphabet_except import except_letter, except_letters
# Exclude a single letter
except_letter('e')
# → 'abcdfghijklmnopqrstuvwxyz'
# Uppercase alphabet
except_letter('E', case='upper')
# → 'ABCDFGHIJKLMNOPQRSTUVWXYZ'
# Both cases
except_letter('e', case='both')
# → 'abcdfghijklmnopqrstuvwxyzABCDFGHIJKLMNOPQRSTUVWXYZ'
# Exclude multiple letters
except_letters('a', 'e', 'i', 'o', 'u')
# → 'bcdfghjklmnpqrstvwxyz'
# Multiple letters, both cases
except_letters('a', 'e', 'i', 'o', 'u', case='both')
# → 'bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ'
API
except_letter(letter, case='lower')
| Parameter | Type | Description |
|---|---|---|
letter |
str |
Single letter to exclude |
case |
str |
'lower', 'upper', or 'both' |
except_letters(*letters, case='lower')
Same as above but accepts multiple letters to exclude.
Metadata
Release files for alphabet-except 0.1.1
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_except-0.1.1.tar.gz | 2.3 kB | Without provenance | Details for alphabet_except-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alphabet_except-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for alphabet_except-0.1.1-py3-none-any.whl |
Total release size: 4.9 kB
Release files / alphabet_except-0.1.1.tar.gz
| Download URL | alphabet_except-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caf0fea2f1dded4f740f7fa48f432a2955ce949a9c059a28fa6841ff369689b1
|
|
BLAKE2b-256 checksum How to use checksums |
41ef51eb428b4e57c74df973618d0d6684c3b6302bef49d6b62a5ca25b1a03ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / alphabet_except-0.1.1-py3-none-any.whl
| Download URL | alphabet_except-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1483fd9c1c00644c160d3de8f7601d6c861fedd23d121bfe244cf22f887e9de1
|
|
BLAKE2b-256 checksum How to use checksums |
327df965ace1249c724d7a9c3820574577ace69cb66374af2f51e82832e3ae5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for alphabet-except 0.1.1
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.