test pkgs
Project description
pkgs_test
test pkgs
Installation
$ pip install pkgs_test
Usage
pkgs_test
can be used to count words in a text file and plot results
as follows:
from pkgs_test.pkgs_test import count_words
from pkgs_test.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
pkgs_test
was created by Matthias Heng. It is licensed under the terms of the MIT license.
Credits
pkgs_test
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
pkgs_test-0.2.0.tar.gz
(86.7 kB
view details)
Built Distribution
pkgs_test-0.2.0-py3-none-any.whl
(87.0 kB
view details)
File details
Details for the file pkgs_test-0.2.0.tar.gz
.
File metadata
- Download URL: pkgs_test-0.2.0.tar.gz
- Upload date:
- Size: 86.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.15 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 914938f513d1d05a33a4e484a4255bd7e2566e0767c284029022cd627e2d660e |
|
MD5 | ca6c6c3e95e985d2ddb0c63f660d2ce1 |
|
BLAKE2b-256 | 85326eb7d58b9f03fd9ccced284cad413c003dd8efc589175eb7d5e26461e3bc |
File details
Details for the file pkgs_test-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pkgs_test-0.2.0-py3-none-any.whl
- Upload date:
- Size: 87.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.15 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0034be68748b8a0032e3bc5c8b423d120e58f33c17518b6610f9dc4c7fccca76 |
|
MD5 | c91425165f22668d75de8bb1091ee4f3 |
|
BLAKE2b-256 | a9e596d50d9ce06aad67a66c4a90fd83c2ebe00b0b2e2e1a8a578a8a467efe8a |