Skip to main content

Calculate word counts in a text file!

Project description

pycounts_tt25

Author: Tiffany A. Timbers

Documentation Status

codecov

Calculate word counts in a text file!

Installation

$ pip install pycounts_tt25

Usage

pycounts can be used to count words in a text file and plot results as follows:

import pycounts_tt25
import matplotlib.pyplot as plt

file_path = "test.txt"  # path to your file
counts = pycounts_tt25.count_words(file_path)
fig = pycounts_tt25.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.

Developer notes

For information on how to contribute your developments back to the pycounts_tt25 Python package, see CONTRIBUTING.md

License

pycounts_tt25 was created by Tiffany Timbers. It is licensed under the terms of the MIT license.

Credits

pycounts_tt25 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

pycounts_tt25-0.6.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pycounts_tt25-0.6.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pycounts_tt25-0.6.1.tar.gz.

File metadata

  • Download URL: pycounts_tt25-0.6.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pycounts_tt25-0.6.1.tar.gz
Algorithm Hash digest
SHA256 578c181a0d57aa8ce8a76d492ec6dcae0a0e510f0bfbb9d68e591cc5f4d84523
MD5 06cdb264e14a44fbc50d92d4f40c3230
BLAKE2b-256 61e1ab1555a70c2a60ebbe5c8269d04c2110c6991a8b266c194299e2de869a9a

See more details on using hashes here.

File details

Details for the file pycounts_tt25-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: pycounts_tt25-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pycounts_tt25-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 405cb876d5e904a49dbe9780977543fef64073cf3e77aab2bd0f282325c2074e
MD5 fa99fc1d4f23d0f3f734738d2b5bf60b
BLAKE2b-256 06e2320c272a6246d48cf0579d13423721c7d125d8dcb6af9af18b752912d056

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