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.5.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycount_caseexample-0.5.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.5.3.tar.gz
Algorithm Hash digest
SHA256 cd440cc6fc83aceb8f4c8cbb7ad590075da7db41e463ab90c4bbeabf1299464b
MD5 28d44f62ad292af7ac82dbd84c0bb47a
BLAKE2b-256 b59a98c5cac228bd9425b78a485ddd77dc9994170f9d42be5b28fce664d51f1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycount_caseexample-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c942db9a14f46b008ca864966005b681b097d4fed302b75c3b5ffb658b4477b
MD5 997906d16701b08ca589ebf4375d971d
BLAKE2b-256 f490bf04a2eb9a239dce2b11a5d3b6afdb10b1b4a499b979a1226901f6f13e66

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