Skip to main content

A package of god.

Project description

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

god was created by Daniel Lima. It is licensed under the terms of the MIT license.

Credits

god 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

goddaniel-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.

goddaniel-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goddaniel-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.0.0

File hashes

Hashes for goddaniel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9dcf984118ef7590faf2d699aa899b22db255419b198a42f794887f13d5322b1
MD5 faaf6109f980e0c52bf3b74f04653260
BLAKE2b-256 1296748ee9ca9db9d28ead2d61bf9f0dad241e8cbe7249f46ae41a27690ec44a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goddaniel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.0.0

File hashes

Hashes for goddaniel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 809eeabbc836c48cb312230fddd42d4a88569503ce86e90e85b628ca8ff24849
MD5 cc06ff48f9130584d38bbf869a69bd9d
BLAKE2b-256 8bdab52f76539f30705c9c748b5af2bee079ebb93326e1b77ee21536c8dbf8cc

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