Skip to main content

avenqor-ai

A simple Python utility package for text processing and AI-related helper functions.

Installation

pip install avenqor-ai

Usage

from avenqor_ai import clean_text, count_tokens_approx, chunk_text, similarity_score

# Clean messy text
clean_text("Hello    World!!\n\n")
# -> "Hello World!!"

# Estimate token count
count_tokens_approx("Hello world")
# -> 2

# Split long text into chunks (for LLM context windows)
chunks = chunk_text("your very long document here...", chunk_size=500, overlap=50)

# Compare similarity between two texts
similarity_score("hello world", "hello there")
# -> 0.33

Functions

Function Description
clean_text(text) Normalizes whitespace and strips text
count_tokens_approx(text) Rough token count estimate
chunk_text(text, chunk_size, overlap) Splits text into overlapping chunks
similarity_score(text1, text2) Jaccard word-overlap similarity (0-1)

License

MIT

Metadata

Release files for avenqor-ai 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 avenqor-ai 0.1.0
File Size Uploaded Provenance
avenqor_ai-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / avenqor_ai-0.1.0.tar.gz

Download URL avenqor_ai-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dbada888f88a76b4ad9f2fb25fe90c340059cbfa2d3770ed8f461a694f4c2b50
BLAKE2b-256 checksum
How to use checksums
d5c88584c1d3de2441da1dde367e39b85b1e4597b3d4d4e5d904d54b3b5f280a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

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

Download URL avenqor_ai-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fe52d13b6f997caf417937fb35b0656963bf13021cd2889e16d7379430409a7
BLAKE2b-256 checksum
How to use checksums
7b3b3271b7524be571a91a596574f66881fd5bd20ff7f4229442355666de7e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

Security for avenqor-ai 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