Skip to main content

CHARS

chars is a simple Python package that provides functions to get different sets of characters including uppercase letters, lowercase letters, numbers, and special characters.

Features

  • Retrieve uppercase letters
  • Retrieve lowercase letters
  • Retrieve numbers
  • Retrieve special characters
  • Retrieve a combination of all character sets

Installation

You can install the package using pip3:

pip3 install chars

Usage

Importing the Package

To use the functions provided by the package, you first need to import the chars module:

from mypackage import chars

Retrieving Uppercase Letters

You can retrieve all uppercase letters using the uppercase function:

uppercase_chars = chars.uppercase()
print(uppercase_chars)
# Output: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Retrieving Lowercase Letters

To get all lowercase letters, use the lowercase function:

lowercase_chars = chars.lowercase()
print(lowercase_chars)
# Output: abcdefghijklmnopqrstuvwxyz

Retrieving Numbers

If you need all numeric characters, use the numbers function:

numbers = chars.numbers()
print(numbers)
# Output: 1234567890

Retrieving Special Characters

For special characters, use the specialchars function:

special_chars = chars.specialchars()
print(special_chars)
# Output: ~`!@#$%^&*()-_=+|[]\{|};':",./<> ?

Retrieving All Characters

To get a combination of uppercase letters, lowercase letters, numbers, and special characters, use the all function:

all_chars = chars.all()
print(all_chars)
# Output: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()-_=+|[]\{|};':",./<>? 1234567890

You can install the package using pip3:

pip3 install chars

License

This project is licensed under the MIT License. See the LICENSE file for details.

Release files for chars 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chars 0.1.2
File Size Uploaded
chars-0.1.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chars 0.1.2
File Interpreter ABI Platform
chars-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / chars-0.1.2.tar.gz

Download URL chars-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cccb3471bc5335a8e522fa10cfa8d6dd1f2289bd03a1924069d9485adfe9bfc5
BLAKE2b-256 checksum
How to use checksums
97744942e4dcce738f8fcc87e9c49bb10943c418cf1c66e3f18511a2a40ee7b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release files / chars-0.1.2-py3-none-any.whl

Download URL chars-0.1.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf24e797a9710759c72680631140e351cc4e4a56df419998117f4de3b466eaa
BLAKE2b-256 checksum
How to use checksums
1faf821aeb72850d460c08820e2f763179d36e1e0e7e3bb7edd5bfe75e8cbec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page