A package to count word frequency and display it in a table format.
Project description
WordFrequencer
WordFrequencer is a Python package that allows you to count the frequency of words in a text or text file and display it in a nice table format.
Installation
You can install the package using pip:
pip install wordfrequencer
Usage
Example 1: Using text input
from wordfrequencer import wordfrequencer
text = "Hello world! Hello Python. Welcome to the world of Python programming."
wordfrequencer(text, columns=3)
Example 2: Using a text file
from wordfrequencer import wordfrequencer
file_path = "sample.txt"
wordfrequencer(file_path, columns=3)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wordfrequencer-0.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wordfrequencer-0.1.0.tar.gz.
File metadata
- Download URL: wordfrequencer-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f265c7e12d030d54f3c1e827666541319021adb738485844525718f478a660
|
|
| MD5 |
f851d111b8fc6db42fc7f0a6e27afeb1
|
|
| BLAKE2b-256 |
290bf7d6b3bbdb6810efbb9be8d819c74f07976a738200cea2d514c4c3647946
|
File details
Details for the file wordfrequencer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wordfrequencer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b518edfaf21c8faf7f8db8b9c303924d804dcfcc51149e57abef06e579cc37
|
|
| MD5 |
17e5c1a841b90459c3ae863c53e78316
|
|
| BLAKE2b-256 |
5ba1c867ffe03fa34d098f61c564a6bb126c454e8f7a55207114be96e47654e3
|