Skip to main content

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.

Release files for pkgs-test 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pkgs-test 0.2.0
File Size Uploaded
pkgs_test-0.2.0.tar.gz 86.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pkgs-test 0.2.0
File Interpreter ABI Platform
pkgs_test-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 173.7 kB

Release files / pkgs_test-0.2.0.tar.gz

Download URL pkgs_test-0.2.0.tar.gz
Size 86.7 kB
Tags Source
SHA-256 checksum
How to use checksums
914938f513d1d05a33a4e484a4255bd7e2566e0767c284029022cd627e2d660e
BLAKE2b-256 checksum
How to use checksums
85326eb7d58b9f03fd9ccced284cad413c003dd8efc589175eb7d5e26461e3bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.15 Windows/10

Release files / pkgs_test-0.2.0-py3-none-any.whl

Download URL pkgs_test-0.2.0-py3-none-any.whl
Size 87.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0034be68748b8a0032e3bc5c8b423d120e58f33c17518b6610f9dc4c7fccca76
BLAKE2b-256 checksum
How to use checksums
a9e596d50d9ce06aad67a66c4a90fd83c2ebe00b0b2e2e1a8a578a8a467efe8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.15 Windows/10

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page