Skip to main content

Counts the number of words in a file

Project description

pycount_caseexample

Counts the number of words in a file

Installation

$ pip install pycount_caseexample

Usage

from pycounts.pycounts import count_words
from pycounts.plotting import plot_words
import matplotlib.pyplot as plt

file_path = "test.txt"  # path to your file
counts = count_words(file_path)
fig = plot_words(counts, n=10)
plt.show()

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

pycount_caseexample was created by nobody. It is licensed under the terms of the MIT license.

Credits

pycount_caseexample was created with cookiecutter and the py-pkgs-cookiecutter template.

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

pycount_caseexample-0.4.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

pycount_caseexample-0.4.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pycount_caseexample-0.4.3.tar.gz.

File metadata

  • Download URL: pycount_caseexample-0.4.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pycount_caseexample-0.4.3.tar.gz
Algorithm Hash digest
SHA256 55b7cb5cefeab2271fea6ece381b4bab9f824cc4de30b4da91e9bd0bf7fb73cd
MD5 f9563cc438df4270bced25685dc0ef1d
BLAKE2b-256 009f625ff5790a088ac48ca39fdf7a1bd6e34d1449a78c69e2bae35ff78924b3

See more details on using hashes here.

File details

Details for the file pycount_caseexample-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pycount_caseexample-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79f2cd8bb7c67504df88623254693789a85051e3b67e93558a7697356f6d4e2e
MD5 5a672e6b434a6beec54b19c7b72fc7d8
BLAKE2b-256 867dc576ed6687668deff96939828e3d7e0894f147541d1132bf7a25a2d72383

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