Skip to main content

toy package

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mds_pycounts_yzeng-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mds_pycounts_yzeng-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file mds_pycounts_yzeng-0.1.0.tar.gz.

File metadata

  • Download URL: mds_pycounts_yzeng-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Darwin/21.6.0

File hashes

Hashes for mds_pycounts_yzeng-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e07939594a9959177a3e9a36d29b26dbe70a8b8cef436bc4daf2cfcf4dea50c2
MD5 58561919e00278fdf6c5d6e479b1e522
BLAKE2b-256 9312817b8100a8a61a9f941f04b7d0f05f3f5f22a70fe6684a481ede91a0ec08

See more details on using hashes here.

File details

Details for the file mds_pycounts_yzeng-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mds_pycounts_yzeng-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.7.1 CPython/3.11.5 Darwin/21.6.0

File hashes

Hashes for mds_pycounts_yzeng-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45201dd7411922da11cae7de127f381f037a4727646c8827bef66f455f0ac721
MD5 87d56487f54a7fd18a4ae5f3808cf491
BLAKE2b-256 7e58be6a55d7d1a71962d7b6954e6d67008e9a3786768ce496a66d7d53198e2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page