pycounts_bill_mds
Calculate word counts in a text file!
Installation
$ pip install pycounts_bill_mds
Usage
pycounts can be used to count words in a text file and plot results
as follows:
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
pycounts_bill_mds was created by Bill Wan. It is licensed under the terms of the MIT license.
Credits
pycounts_bill_mds was created with cookiecutter and the py-pkgs-cookiecutter template.
Metadata
Release files for pycounts_bill_mds 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycounts_bill_mds-0.1.1.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycounts_bill_mds-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / pycounts_bill_mds-0.1.1.tar.gz
| Download URL | pycounts_bill_mds-0.1.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8ec66ed40c47a5913596672b459a16b1880782b6220d47a72583e5ae59f213e
|
|
BLAKE2b-256 checksum How to use checksums |
e8206b24d7f2725f12ffe476a7407227d7d5bcf3f33b325e25679e4d0a8ad411
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Darwin/23.2.0
|
Release files / pycounts_bill_mds-0.1.1-py3-none-any.whl
| Download URL | pycounts_bill_mds-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb83fe9e2980a99444a8a774ac469214d8742f2b32f5bec44b4b09cce7591763
|
|
BLAKE2b-256 checksum How to use checksums |
392004999d3892d465292cbcf079b116793a195f400bec6d29f79a0cc34eccb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Darwin/23.2.0
|