KhaleejiAPI LangChain Tools
AI agent tool definitions for integrating KhaleejiAPI with LangChain, CrewAI, and other agent frameworks.
Installation
pip install khaleejiapi langchain-core
Quick Start
from langchain_core.tools import StructuredTool
from khaleejiapi_langchain import get_all_tools
# Get all KhaleejiAPI tools for your agent
tools = get_all_tools(api_key="your_api_key")
# Use with LangChain agent
from langchain.agents import create_tool_calling_agent
agent = create_tool_calling_agent(llm, tools, prompt)
Available Tools
| Tool | Description |
|---|---|
khaleeji_email_validate |
Validate email addresses with syntax, domain, MX checks |
khaleeji_phone_validate |
Validate international phone numbers |
khaleeji_ip_lookup |
Get geolocation data from IP addresses |
khaleeji_exchange_rates |
Get real-time currency exchange rates |
khaleeji_weather |
Get weather data for MENA cities |
khaleeji_translate |
AI-powered translation (22+ languages) |
khaleeji_prayer_times |
Get prayer times for any city |
khaleeji_hijri_convert |
Convert between Gregorian and Hijri calendars |
khaleeji_zakat_calculate |
Calculate zakat obligations |
khaleeji_vat_calculate |
Calculate UAE/GCC VAT |
khaleeji_holidays |
Get public holidays for GCC countries |
khaleeji_fraud_check |
Detect suspicious IPs, emails, phones |
Usage with CrewAI
from crewai import Agent
from khaleejiapi_langchain import get_all_tools
tools = get_all_tools(api_key="your_api_key")
researcher = Agent(
role="Middle East Market Researcher",
goal="Analyze business conditions in the GCC region",
tools=tools,
)
Metadata
Release files for khaleejiapi-langchain 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| khaleejiapi_langchain-1.1.0.tar.gz | 7.3 kB | Without provenance | Details for khaleejiapi_langchain-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| khaleejiapi_langchain-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for khaleejiapi_langchain-1.1.0-py3-none-any.whl |
Total release size: 14.7 kB
Release files / khaleejiapi_langchain-1.1.0.tar.gz
| Download URL | khaleejiapi_langchain-1.1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
279f7650159154bc67b55a780f6bf6dadfe4f537eee651ab6a805b5dfc481383
|
|
BLAKE2b-256 checksum How to use checksums |
8eac16b99c836ee98ed210e6576d0bda5fbed07ab12357e534caeff3f9414dff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / khaleejiapi_langchain-1.1.0-py3-none-any.whl
| Download URL | khaleejiapi_langchain-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6782f1b17087a3366779e1874f8b027fa42732fd0196ae0216ad0b543e78138
|
|
BLAKE2b-256 checksum How to use checksums |
4926093775b3f49d49f0e5830f804721550c3806639225f6fce7d401bca1ec98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for khaleejiapi-langchain 1.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.