Skip to main content

Calculate word counts in a text file!

Project description

pycounts_jacqann

Calculate word counts in a text file!

Installation

$ pip install pycounts_jacqann

Usage

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

from pycounts_jacqann.pycounts import count_words
from pycounts_jacqann.plotting import plot_words
import mathplotlib.pyplot as plt

file_path = "test.txt"
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

pycounts_jacqann was created by Jacqueline Chong. It is licensed under the terms of the MIT license.

Credits

pycounts_jacqann 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_jacqann-0.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

pycounts_jacqann-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pycounts_jacqann-0.2.0.tar.gz.

File metadata

  • Download URL: pycounts_jacqann-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/20.6.0

File hashes

Hashes for pycounts_jacqann-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e9beb202691f7e579c79a84754c5761503980d278ba2eddfda2f0171f382e965
MD5 ba3241c2696d51103da87cf96501b4ee
BLAKE2b-256 0940a144c5baaa146192a27c518d6c550b512e554e1a6a7cdde7c6e4284f1a62

See more details on using hashes here.

File details

Details for the file pycounts_jacqann-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pycounts_jacqann-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/20.6.0

File hashes

Hashes for pycounts_jacqann-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3d9a56eebd3e7f4d257f979299806e6bb26a80edd6c2bf9aeca90e695c8a6d5
MD5 d4b4c1f114a3861b4ae579fa2e235814
BLAKE2b-256 10daad32cd62ea8c3ba78ec81b1afc5bd4952a247e4bf67ab005423f836f7ae1

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