word count
Project description
pycount_aa44
Calculate word counts in a text file!
Installation
$ pip install pycount_aa44
Usage
pycount_aa44
can be used to count words in a text file and plot results
as follows:
from pycount_aa44.pycount_aa44 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_aa44
was created by Tomas Beuzen. It is licensed under the terms
of the MIT license.
Credits
pycount_aa44
was created with
cookiecutter
and
the py-pkgs-cookiecutter
template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycount_aa44-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pycount_aa44-0.1.0.tar.gz
.
File metadata
- Download URL: pycount_aa44-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5b4675325ae4af138cc08c23a54c3b9082152c6df03e1262d671c3b539c672 |
|
MD5 | 93b8809bbcc260da9cb09f0d4449a3e1 |
|
BLAKE2b-256 | 7aedf1e3588d5c62f0ec7a3546a2e3d056f5f8e7a334ffe01bf56e2e27c0dae9 |
File details
Details for the file pycount_aa44-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pycount_aa44-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe41dbb34e31d89d1b005e3824001c4a2285dee371a4f3c0263a5fd09191b92 |
|
MD5 | 89338d27fdb0edf698ec0943cb5d709b |
|
BLAKE2b-256 | fb81d93be4024ef32b976a6d1f5f147a7ee5c935890c8b70873fabb56e37cdca |