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.
Metadata
Release files for pycount-caseexample 0.6.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycount_caseexample-0.6.26.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycount_caseexample-0.6.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / pycount_caseexample-0.6.26.tar.gz
| Download URL | pycount_caseexample-0.6.26.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cb328276933a79c1ef1675dfdcbfa7e191b2118a01d3e2e1c16d100264ca4ba
|
|
BLAKE2b-256 checksum How to use checksums |
01d2917c8f37f6271adb70e3eda9dd2416d645fceb1676a91e9e3dd5b6efb96f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pycount_caseexample-0.6.26-py3-none-any.whl
| Download URL | pycount_caseexample-0.6.26-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36dda67d96b53183b73d4dada7297c781b7eb30491af958956b12a4bd59e667f
|
|
BLAKE2b-256 checksum How to use checksums |
75b6f478e7871155a521cb3774e1aacfc174414f599521a4b1f7ba20b35893e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|