Skip to main content

A sample python package

Project description

hbpycounts

A sample python package

Installation

$ pip install hbpycounts

Usage

pycounts

Calculate word counts in a text file!

Installation

$ pip install pycounts

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

pycounts was created by Tomas Beuzen. It is licensed under the terms of the MIT license.

Credits

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

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

hbpycounts was created by Hina Bandukwala. It is licensed under the terms of the MIT license.

Credits

hbpycounts 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

hbpycounts-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

hbpycounts-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hbpycounts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f8252f2dc1bec6177f716dc564af46319643d34e5aed5b0aad9461f2426cc49
MD5 e5a2a3cd6824c14537a0eb8490d78582
BLAKE2b-256 db8543170a920f7f5c5891b966dd2d0617f1cc904e063b794cbe8775da9f2067

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hbpycounts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/21.6.0

File hashes

Hashes for hbpycounts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d30053cf304e71b74f0100dfa6e6ac3a738529d2e22eaf1f4fbbe030aeeebf5e
MD5 3521133ca3093a925639dbccbfc7ed75
BLAKE2b-256 2de3d3f7e6d031e6475065b87de4f020d2e58884ec6719307376dc84d4f8d4b9

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