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.26.tar.gz
.
File metadata
- Download URL: pycount_caseexample-0.6.26.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb328276933a79c1ef1675dfdcbfa7e191b2118a01d3e2e1c16d100264ca4ba |
|
MD5 | d14478bcee0efdff4bcbd8afdecb2496 |
|
BLAKE2b-256 | 01d2917c8f37f6271adb70e3eda9dd2416d645fceb1676a91e9e3dd5b6efb96f |
File details
Details for the file pycount_caseexample-0.6.26-py3-none-any.whl
.
File metadata
- Download URL: pycount_caseexample-0.6.26-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 | 36dda67d96b53183b73d4dada7297c781b7eb30491af958956b12a4bd59e667f |
|
MD5 | acfa1b2f7fab2c382bccd11ab2dfe2ad |
|
BLAKE2b-256 | 75b6f478e7871155a521cb3774e1aacfc174414f599521a4b1f7ba20b35893e9 |