Skip to main content

mds_pycounts_yzeng

toy package

Installation

$ pip install mds_pycounts_yzeng

Usage

pycounts can be used to count words in a text file and plot results as follows:

from pycounts.pycounts import count_words
from pycounts.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

mds_pycounts_yzeng was created by Yan Zeng. It is licensed under the terms of the MIT license.

Credits

mds_pycounts_yzeng was created with cookiecutter and the py-pkgs-cookiecutter template.

Release files for mds_pycounts_yzeng 0.1.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 mds_pycounts_yzeng 0.1.0
File Size Uploaded
mds_pycounts_yzeng-0.1.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mds_pycounts_yzeng 0.1.0
File Interpreter ABI Platform
mds_pycounts_yzeng-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / mds_pycounts_yzeng-0.1.0.tar.gz

Download URL mds_pycounts_yzeng-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e07939594a9959177a3e9a36d29b26dbe70a8b8cef436bc4daf2cfcf4dea50c2
BLAKE2b-256 checksum
How to use checksums
9312817b8100a8a61a9f941f04b7d0f05f3f5f22a70fe6684a481ede91a0ec08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/21.6.0

Release files / mds_pycounts_yzeng-0.1.0-py3-none-any.whl

Download URL mds_pycounts_yzeng-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45201dd7411922da11cae7de127f381f037a4727646c8827bef66f455f0ac721
BLAKE2b-256 checksum
How to use checksums
7e58be6a55d7d1a71962d7b6954e6d67008e9a3786768ce496a66d7d53198e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

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