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
Built Distribution
File details
Details for the file pycount_caseexample-0.6.4.tar.gz
.
File metadata
- Download URL: pycount_caseexample-0.6.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888fec576ef6cd4038018684f11590ccbf734f57b421cfec19b37be140604a68 |
|
MD5 | 6a149e4bc134c6e487586312c012be28 |
|
BLAKE2b-256 | 2234f6b58afec57cafceb9144775a4473d44eb50b52721107cc83c64d0e04732 |
File details
Details for the file pycount_caseexample-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: pycount_caseexample-0.6.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc71d97cc29455c02e5d70b6b0927a26f5069829ec6bc5827a623b217ded8c0 |
|
MD5 | 21e723627e74e21ea25cf578de89501c |
|
BLAKE2b-256 | 4123eb992c858e4039c8bfd5235168e6620fbc07340c3dd4b909579755e589bf |