Skip to main content

pycounts_tripartio

Calculate word counts in a text file!

Installation

pip install pycounts_tripartio

Usage

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

from pycounts_tripartio.pycounts import count_words
from pycounts_tripartio.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_tripartio was originally created by Tomas Beuzen and then was copied by tripartio as a learning exercise. It is licensed under the terms of the MIT license.

Credits

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

Metadata

Release files for pycounts_tripartio 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_tripartio 0.1.0
File Size Uploaded Provenance Actions
pycounts_tripartio-0.1.0.tar.gz 2.8 kB Without provenance Details for pycounts_tripartio-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.6 kB

Release files / pycounts_tripartio-0.1.0.tar.gz

Download URL pycounts_tripartio-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
44d858a32f67d597b3a40e8eb4f992ad51436ed90283b7f5bb838d74538d11ca
BLAKE2b-256 checksum
How to use checksums
ce91dd0ee96ae12087902ae972138b90284e27deb11555474313ecb44538ca88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Windows/11

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

Download URL pycounts_tripartio-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f351f5888e3b584c3bd8fbf2cd46e720e48ad9c66fa7aa285b49220297be8058
BLAKE2b-256 checksum
How to use checksums
53757f8d390f1820352ea35d1821f3d1a1576b7c1c78fe77687c1f7a5fbaf188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Windows/11

Security for pycounts_tripartio 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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