Skip to main content

package for DSCI 524

Project description

pycounts_Anthea

package for DSCI 524

Installation

$ pip install pycounts_Anthea

Usage

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

from pycounts_Anthea.pycounts_Anthea import count_words
from pycounts_Anthea.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_Anthea was created by anthea. It is licensed under the terms of the MIT license.

Credits

pycounts_Anthea 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_Anthea-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycounts_Anthea-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.9 Windows/10

File hashes

Hashes for pycounts_Anthea-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a1457814841cef83bf12ada1ddecb13d6ab2bc9b8247b3a1b014f33961d3cff
MD5 152d94f52f01c62ac880e63b8a75871d
BLAKE2b-256 012d172075153b12cb68040c99ea0f5e0e02b19a0da2220135bcf70d7b825aeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycounts_Anthea-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.1.8 CPython/3.9.9 Windows/10

File hashes

Hashes for pycounts_Anthea-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf1fcbdbbdc57dca276e40c13a14baacd46f50af6e47de3e815578191d76599
MD5 4f6862dfb3d6b1b6a96509ac0599b487
BLAKE2b-256 1022ccc3cb0023e8867d7c52d1f2b9abc04ebfae6546b154827545c9b7cdb6d8

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