Skip to main content

This is a simple package I am developing to teach myself about python package development.

Project description

pycounts_cmwiebe24

This is a simple package I am developing to teach myself about python package development.

Installation

$ pip install pycounts_cmwiebe24

Usage

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

from pycounts_cmwiebe24.pycounts_cmwiebe24 import count_words
from pycounts_cmwiebe24.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_cmwiebe24 was created by Caleb Wiebe. Caleb Wiebe retains all rights to the source and it may not be reproduced, distributed, or used to create derivative works.

Credits

pycounts_cmwiebe24 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

pycounts_cmwiebe24-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

pycounts_cmwiebe24-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycounts_cmwiebe24-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.2 Darwin/23.6.0

File hashes

Hashes for pycounts_cmwiebe24-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a157249f064cfba1c0ebd42d47d2af49da50d885dee4eec84267b325b5bd90f3
MD5 49c1f4c57739dc05ddd9fb073de88759
BLAKE2b-256 e9a7f319508487e988a397ad94811a2a13afa22a18c1ea36663638dd6e9a9211

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycounts_cmwiebe24-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.2 Darwin/23.6.0

File hashes

Hashes for pycounts_cmwiebe24-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe56ee4b0fc33418742fce114221a29a15afe9e8c5e0ef01a54a6b11cce33db
MD5 382de65f4037a949e025cf4af145be56
BLAKE2b-256 74914c71b6a6851c118af38f0b0da1f584fc6c99a014d4a60ef8d5e5e3a8a571

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