Skip to main content

pycounts_pdc_mds

Make a function that counts how many times a word shows up in a given text

Installation

$ pip install pycounts_pdc_mds

Usage

pycounts_pdc_mds

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

pycounts_pdc_mds was created by Paolo Codina. It is licensed under the terms of the MIT license.

Credits

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

Metadata

Release files for pycounts_pdc_mds 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycounts_pdc_mds 0.1.0
File Size Uploaded
pycounts_pdc_mds-0.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycounts_pdc_mds 0.1.0
File Interpreter ABI Platform
pycounts_pdc_mds-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / pycounts_pdc_mds-0.1.0.tar.gz

Download URL pycounts_pdc_mds-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f8e8d9cf1d8407418d302f371b7d75b372563c30fa8539c72086eed1709cdf65
BLAKE2b-256 checksum
How to use checksums
a0ba633cbf831761d2e0c2d47fe98be42cec4751f7ab283f7a4a647d20722d02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Windows/10

Release files / pycounts_pdc_mds-0.1.0-py3-none-any.whl

Download URL pycounts_pdc_mds-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
032e1f5029d606e953e463e08cd9b15901322364e3a48157b6ae1cc6f0002302
BLAKE2b-256 checksum
How to use checksums
7935f161e4497430daf31074b4524c7a2941cb45c71f0870a72a851ca5c7254b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page