pycounts_Abhiket
A package to count words in a text!
Installation
$ pip install pycounts_Abhiket
Usage
pycounts_Abhiket can be used to count words in a text file and plot results
as follows:
from pycounts_Abhiket.pycounts_Abhiket import count_words
from pycounts_Abhiket.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_Abhiket was created by pycounts_Abhiket. It is licensed under the terms of the MIT license.
Credits
pycounts_Abhiket was created with cookiecutter and the py-pkgs-cookiecutter template.
Metadata
Release files for pycounts-abhiket 0.1.0
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_Abhiket-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycounts_Abhiket-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / pycounts_Abhiket-0.1.0.tar.gz
| Download URL | pycounts_Abhiket-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee06d101ac457e07c531e8771d75af8bc0ef7617c5d255e8cf716731274b29de
|
|
BLAKE2b-256 checksum How to use checksums |
4cd5ab31eba629683db24b27956b23fa2ef51f52efb7d8611b5d06a646493e66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.9 Windows/10
|
Release files / pycounts_Abhiket-0.1.0-py3-none-any.whl
| Download URL | pycounts_Abhiket-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8494f83ef33e245b147a442cc38ead063fb62fc225895794566d3ebb81dfa43
|
|
BLAKE2b-256 checksum How to use checksums |
a22c4ad5425e66e4683639b48c086cca67861916714fd77d145698a80d74021d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.9 Windows/10
|