Engineered with formal verification principles, strict type validation, and native production readiness.
3.9+
elasticsearch>=8.0.0, pydantic>=2.0.0
pytest, pytest-cov, pytest-asyncio
black, mypy, ruff
Designed to eliminate low-level plumbing and cognitive friction, allowing engineers to build reliable solutions in minutes.
from pydantic import BaseModel
from wElasticsearch import WElasticsearch
ES_CONFIG = {
"hosts": ["http://localhost:9200"],
}
class User(BaseModel):
id: int
name: str
email: str
client = WElasticsearch(**ES_CONFIG)
client.insert("users", {"id": 1, "name": "John", "email": "john@example.com"}, id="1")
results = client.search("users", {"query": {"match_all": {}}})
print(results)
client.close()
wElasticsearch is an integral component within the Wisrovi Binary Universe, engineered by William Steve Rodriguez Villamizar to unify high-throughput distributed systems, formal verification, and autonomous agent orchestration.