Skip to main content

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_smogindex


Swarmauri Tool Smog Index

A tool for calculating the SMOG (Simple Measure of Gobbledygook) Index of text, which estimates the years of education needed to understand a piece of written material.

Installation

pip install swarmauri_tool_smogindex

Usage

from swarmauri.tools.SMOGIndexTool import SMOGIndexTool

# Initialize the tool
tool = SMOGIndexTool()

# Analyze text
text = "This is a sample text with some complex sentences and polysyllabic words to test the SMOG Index calculation."
result = tool(text)

# Get the SMOG index
smog_index = result['smog_index']
print(f"SMOG Index: {smog_index}")  # Output: SMOG Index: 8.5

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Metadata

Release files for swarmauri_tool_smogindex 0.10.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 swarmauri_tool_smogindex 0.10.0
File Size Uploaded
swarmauri_tool_smogindex-0.10.0.tar.gz 7.2 kB Details

Built distribution (wheel)

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

Total release size: 15.3 kB

Release files / swarmauri_tool_smogindex-0.10.0.tar.gz

Download URL swarmauri_tool_smogindex-0.10.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
94ce2c67ec6c218bec8bf7f151151b896ad5b6f16d8da83a8f667c2334c0a7a8
BLAKE2b-256 checksum
How to use checksums
2c11febb9db61be47050b4b9040ca0a2c9dc9d36bbcfc1cd9fc4bc000b16b14a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_tool_smogindex-0.10.0-py3-none-any.whl

Download URL swarmauri_tool_smogindex-0.10.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5eb87654f674ad7512dcef393ac6f1d37c14c4716483253681fa7422c657d70
BLAKE2b-256 checksum
How to use checksums
a13f1105a9805d291ded7e2e68b74f8e0a65325e2ea6c99a658cac1710552032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.2

2 release files

0.9.0

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

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