Skip to main content

🏛️ Agba Engine (agba-engine)

Version: 5.0.9
Author & Lead Architect: Aruna Olanrewaju Kabiru
License: RAIL-Cultural-Heritage-v1.0 (Prohibits unauthorized commodification & identity distortion)

agba-engine is a multi-modal, diacritic-preserving retrieval framework designed for indexing global heritage assets, indigenous scripts, and tonal orthographies without semantic stripping.


📦 Installation

pip install agba-engine==5.0.9


🚀 Quickstart & Usage Examples

Example 1: Diacritic-Preserving Text Indexing

Standard LLM tokenizers flatten tonal marks. Agba Engine maintains parallel canonical and ASCII representation vectors.

from agba_engine.core.engine import AgbaSearchEngine

engine = AgbaSearchEngine() query_text = "Fìlà Gọbi" results = engine.search_by_text(query_text, top_k=3)

for res in results: print(f"ID: {res['id']} | Score: {res['score']:.4f}")

Example 2: Cross-Modal Visual Retrieval

Perform similarity search across physical heritage artifacts using vision feature tensors.

import torch from agba_engine.core.engine import AgbaSearchEngine

engine = AgbaSearchEngine() image_tensor = torch.randn(1, 512) matches = engine.search_by_vision(image_tensor, top_k=3)

print(f"Top Match: {matches[0]['id']} ({matches[0]['category']})")

Example 3: Normalizing & Sanitizing Cultural Labels

Process raw dataset strings into clean, user-facing native orthography.

from agba_engine.utils.sanitizer import sanitize_cultural_label

raw_identifier = "Fìlà_Gọbi_02_Spoken" clean_label = sanitize_cultural_label(raw_identifier) print(clean_label) # Output: "Fìlà Gọbi"


🛠️ API Reference & Key Functions

Method / Property Return Type Description
AgbaSearchEngine() Object Initializes core engine & fetches remote weights if missing locally.
.search_by_text(query, top_k=5) List[Dict] Executes text retrieval across canonical tonal scripts and ASCII fallbacks.
.search_by_vision(tensor, top_k=5) List[Dict] Queries the visual vector space using a 512-dim image embedding.
.version str Returns active engine build version (5.0.9).
.ethical_license str Returns active governance framework parameters.

🌐 Enterprise & Quad-Vector Audio Alignment

The open-source core provides tri-vector functionality (Canonical Text, ASCII, and Vision).
For high-density Quad-Vector Audio Integration (including Gangan pitch-contour mapping and spoken native vocalization models for archives and museums), visit our Hugging Face Space or contact the author.

Metadata

Release files for agba-engine 5.0.9.post2

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

Source distribution (sdist)

Source distribution for agba-engine 5.0.9.post2
File Size Uploaded Provenance
agba_engine-5.0.9.post2.tar.gz 5.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agba-engine 5.0.9.post2
File Interpreter ABI Platform
agba_engine-5.0.9.post2-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / agba_engine-5.0.9.post2.tar.gz

Download URL agba_engine-5.0.9.post2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
93006335bff24600db165fec9f66968133f9a19dabe98b4b6f682491d972ec48
BLAKE2b-256 checksum
How to use checksums
204930985fc11bdc0c5e12416735d9bdaf70aa7821714906bd8d8d5d66f1f07f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / agba_engine-5.0.9.post2-py3-none-any.whl

Download URL agba_engine-5.0.9.post2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b1fa4b8852b8db8b1e3959b3486600746b873ddf0d3de3a04a661f9b4d21a8b
BLAKE2b-256 checksum
How to use checksums
d1afcc3648b8b0109a95af1c1d68025b21822d2231a6053789d38028fa101967
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for agba-engine 5.0.9.post2

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.

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