Skip to main content

Very simple char functions

Project description

Charred

Very simple package with is_ascii_char, is_same_char, is_string, is_unicode_char and repeat_char methods.

I will probably add more later.

Install package:

pip install charred

# or pip3

Usage:

from charred import is_ascii_char, is_same_char, is_string, is_unicode_char, repeat_char

>>> is_ascii_char('$')
True
>>> is_ascii_char('£')
False

>>> is_same_char('FF')
True
>>> is_same_char('FD')
False

>>> is_string('F')
True
>>> is_string(1)
False

>>> is_unicode_char('£')
True
>>> is_unicode_char('F')
False

>>> repeat_char('F', 6)
FFFFFF

Project details


Download files

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

Source Distribution

charred-0.1.11.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charred-0.1.11-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file charred-0.1.11.tar.gz.

File metadata

  • Download URL: charred-0.1.11.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for charred-0.1.11.tar.gz
Algorithm Hash digest
SHA256 1878938ed3b19720fed06d65de1415f696c36a3b94a305513370ad91030f00d4
MD5 85c112dfa38edfbeeee1ebd39201d553
BLAKE2b-256 5a1c1e2584ece2622192fef99cbae82d3830f4ff9b2a959046a34cd94894ca6b

See more details on using hashes here.

File details

Details for the file charred-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: charred-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for charred-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a7e5a4cb54375afcab02c6f3c2838d87c09c2df2f793c8d233fe031d4f1be496
MD5 0b3e30b8d73d78a49087cbf121e319e7
BLAKE2b-256 722089cf10938d4ce10f2f602964fde31c3c0a97f67c88f4d79c46fb0a3785fd

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