Skip to main content

No project description provided

Project description

PyAlphabet

Telegram

Using

from PyAlphabet.AlphabetLetters import AlphabetLetters

alphabet_letters = AlphabetLetters("a", "z")
print(alphabet_letters)
# Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz

Outputs an alphabet with large and small letters You can also add flags.

from PyAlphabet.AlphabetLetters import AlphabetLetters

alphabet_letters = AlphabetLetters("a", "z", flag_upper=False)
print(alphabet_letters)
# a b c d e f g h i j k l m n o p q r s t u v w x y z

Outputs only lowercase letters You can also disable the checkbox for lowercase letters.

Return capital letters back to flag_upper=True

from PyAlphabet.AlphabetLetters import AlphabetLetters

alphabet_letters = AlphabetLetters("a", "z", flag_upper=True, flag_lower=False)
print(alphabet_letters)
# ABCDEFGHIJKLMNOPQRSTUVWXYZ

If you disable both flag_upper=False and flag_lower=False, the response will return None

Consider the flag_reflected flag. By default, the flag_reflected flag is set to False, we will fix it to True:

from PyAlphabet.AlphabetLetters import AlphabetLetters

alphabet_letters = AlphabetLetters("a", "z", flag_upper=True, flag_lower=True, flag_reflected=True)
print(alphabet_letters)
#  zZ yY xX wW vV uU tT sS rR qQ pP oO nN mM lL kK jJ iI hH gG fF eE dD cC bB aA

The last flag is flag_line By default, the flag_reflected flag is set to False, we will fix it to True:

from PyAlphabet.AlphabetLetters import AlphabetLetters

alphabet_letters = AlphabetLetters("a", "z", flag_upper=True, flag_lower=True, flag_reflected=False, flag_line=True)
print(alphabet_letters)
"""Aa 
Bb
Cc
Dd
Ee
...
Zz"""

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyAlphabet-1.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file PyAlphabet-1.1.tar.gz.

File metadata

  • Download URL: PyAlphabet-1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for PyAlphabet-1.1.tar.gz
Algorithm Hash digest
SHA256 5203a9dd99eff7ea816f5c5f0db67220868b605723a5f8fd1ea18725992c5ce8
MD5 0f259f5158b2792b1a65495bc2928ddd
BLAKE2b-256 3c2f11ce9799625d2bc4d667079bb5d762d89d7a4c1f89becb4783e51c18d837

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page