Skip to main content

Word count tool like MS Office Word

Project description

Office Word Count

Installation

pip install office-word-count

Example

from office_word_count import Counter

text = "This is a sample text."
counter = Counter(text)
counter.count()
Statistics(words=5, characters_no_space=18, characters_with_space=22, non_asian_words=5, asian_characters=0)

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

office-word-count-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

office_word_count-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file office-word-count-0.1.2.tar.gz.

File metadata

  • Download URL: office-word-count-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for office-word-count-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6646bb508d1980e98759fe4431b73509fb862c6d841bb5d5e67a1cde0cd76a49
MD5 376920dcb28e31fbab97d696405b87cd
BLAKE2b-256 a9e7de27c5db62d2dff58a6e2345f5a6fa3f834c7684d5d77f675a6761b50aef

See more details on using hashes here.

File details

Details for the file office_word_count-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for office_word_count-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a804b2d789a07cd1369f3be9a65cf32f40c946c24fd9bda4dcf48e6b8cd96e1
MD5 75f42fd9c1ebebdc70612f2cba680845
BLAKE2b-256 01e9a6d1de6446a459e1b0e03f7154238290fea6b1c84b54352ebc3f566386f5

See more details on using hashes here.

Supported by

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