Skip to main content

A package to help you count through your texts and understand how many and what words you have!

Project description

alanpows_pycounter_tools

A package to help you count through your texts and understand how many and what words you have!

Installation

$ pip install alanpows_pycounter_tools

Usage

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

from alanpows_pycounter_tools.alanpows_pycounter_tools import count_words
from alanpows_pycounter_tools.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

alanpows_pycounter_tools was created by Alan Powichrowski. It is licensed under the terms of the MIT license.

Credits

alanpows_pycounter_tools 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

alanpows_pycounter_tools-0.1.0.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.

alanpows_pycounter_tools-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file alanpows_pycounter_tools-0.1.0.tar.gz.

File metadata

  • Download URL: alanpows_pycounter_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Windows/10

File hashes

Hashes for alanpows_pycounter_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c68ad4bb57fc732e3a3125daba423498d41c5a42c016ac16846900aae64c065a
MD5 ca5e4ad41ff69ec7310c478ca5be0942
BLAKE2b-256 df4f522454a95271e1d004a7f5f6357f4239882da196c5ea12745ad18b595f6a

See more details on using hashes here.

File details

Details for the file alanpows_pycounter_tools-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alanpows_pycounter_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88dea8eaee9cbb551ce170a315d21a43cacfb4e0596081c5e63e1bea8bc7fdc8
MD5 1b553a225d5b578b3fe8b6592fc2cd47
BLAKE2b-256 ba648106de2a3b0498f7b96c21d33cebd3cc69bfa4c59bf2b73ee1e868935af9

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