A package that counts occurenece of words in a text
Project description
pycounts_thayehas1
Calculate word counts in a text file!
Installation
$ pip install pycounts_thayehas1
Usage
pycounts_thayehas1 can be used to count words in a text file and plot results
as follows:
from pycounts_thayehas1.pycounts_thayehas1 import count_words
from pycounts_thayehas1.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_thayehas1 was created by Taiwo Owoseni. It is licensed under the terms
of the MIT license.
Credits
pycounts_thayehas1 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycount_thayehas1-0.1.0.tar.gz.
File metadata
- Download URL: pycount_thayehas1-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce09ddacd70a834ef982e6a74e0de88bbb06d73073ab33a62c30a60acf35aca
|
|
| MD5 |
287a08d5ad54886333dbce8ce75ec147
|
|
| BLAKE2b-256 |
fa4c9f759e77978dc6af3b390304154ae234e7fb531b512cc081ca9f543c8eb3
|
File details
Details for the file pycount_thayehas1-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pycount_thayehas1-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
323befb04a1de0cd0a7e1c927b18eecb06a28120d2554a21f7aba0a6b7e268db
|
|
| MD5 |
82b5135afb9db6f313ede2128200d6a0
|
|
| BLAKE2b-256 |
d9cc04d3985566df51322caabac711167b73ad948502326c47ee6bf45243be32
|