A package to count words in a text!
Project description
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.
Project details
Release history Release notifications | RSS feed
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 pycounts_Abhiket-0.1.0.tar.gz
.
File metadata
- Download URL: pycounts_Abhiket-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee06d101ac457e07c531e8771d75af8bc0ef7617c5d255e8cf716731274b29de |
|
MD5 | ef71e7d6c461b579b5c3dcfcbcb47d33 |
|
BLAKE2b-256 | 4cd5ab31eba629683db24b27956b23fa2ef51f52efb7d8611b5d06a646493e66 |
File details
Details for the file pycounts_Abhiket-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pycounts_Abhiket-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8494f83ef33e245b147a442cc38ead063fb62fc225895794566d3ebb81dfa43 |
|
MD5 | d23a6abe893d8fa3813226f7e7220c53 |
|
BLAKE2b-256 | a22c4ad5425e66e4683639b48c086cca67861916714fd77d145698a80d74021d |