Skip to main content

Calculate character frequency in text

Project description

CharFrequencyLib

مكتبة لحساب تكرار كل حرف في نص.

التثبيت

pip install CharFrequencyLib

CMD

charfrequencylib "hello"

'h':1

'e':1

'l':2

'o':1

Python

from char_frequency_lib import char_frequency text = "hello" print(char_frequency(text))

{'h':1, 'e':1, 'l':2, 'o':1}

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

charfrequencylib-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

charfrequencylib-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file charfrequencylib-0.1.0.tar.gz.

File metadata

  • Download URL: charfrequencylib-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for charfrequencylib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7335536d074a7c16821723c4a18334fd0583767b9baec6dc23b120ce6d2bd8f8
MD5 06a5eb87a3fcdd166f990219ec358c16
BLAKE2b-256 84276a2954d5dc8cb19247254343dc193cec4b91c3109c57bf5d9ce1f0855858

See more details on using hashes here.

File details

Details for the file charfrequencylib-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for charfrequencylib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f81d603dd5af8859b819b52cd844001cb605f51ec9436f5e83aaa9f7b0162c8
MD5 08610b8e18ab87b37c148763e0491db8
BLAKE2b-256 6857f7e0b3e22a7d46b89944fd5d36f0f34bb2b403422c3699bbf53efed3ef6f

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