langchain-orizn
LangChain tools for the Orizn Visa API — check visa requirements for 39,585 passport-destination pairs in 15 languages.
Install
pip install langchain-orizn
Quick start
from langchain_orizn import OriznQuickVisaCheckTool, OriznVisaCheckTool
# No API key needed for quick checks
quick = OriznQuickVisaCheckTool()
print(quick.invoke({"passport": "FRA", "destination": "JPN"}))
# Full details (needs API key)
import os
os.environ["ORIZN_API_KEY"] = "your-key"
full = OriznVisaCheckTool()
print(full.invoke({"passport": "FRA", "destination": "JPN", "lang": "fr"}))
Use with a LangChain agent
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
tools = [OriznQuickVisaCheckTool(), OriznVisaCheckTool(api_key="your-key")]
agent = create_react_agent(ChatOpenAI(model="gpt-4o"), tools)
result = agent.invoke({"messages": [("user", "Do I need a visa to go from Brazil to Japan?")]})
Available tools
| Tool | Description | API Key |
|---|---|---|
OriznVisaCheckTool |
Full visa details with documents, process & tips | Required |
OriznQuickVisaCheckTool |
Quick yes/no visa check | Not needed |
Supported languages
en, fr, es, pt, de, ja, ko, zh, ru, it, ar, hi, th, vi, tl
Links
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
langchain_orizn-0.1.1.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_orizn-0.1.1.tar.gz.
File metadata
- Download URL: langchain_orizn-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddf847d11bcce4c4525ab1248c0c46af7161868835f80f99718707b4f9fcea66
|
|
| MD5 |
d98c65da8f02af711df4626eab79f050
|
|
| BLAKE2b-256 |
dcb612c16e2d5bccf6e64776b32320c8d2729fba40cb6145a55dda1628fbd032
|
File details
Details for the file langchain_orizn-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langchain_orizn-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad33ef473986c12ad7170f2360c1874b24b86c9bc6d5fd2eb83e2659d080f87a
|
|
| MD5 |
66a3ef6a0d9e7aa88f805ac0eb910637
|
|
| BLAKE2b-256 |
f54bd3ae4594f8b21a9599622ce4d5eb09d51ae810263eb560638c270f199524
|