Skip to main content

Jouyaar Python SDK

PyPI Python License: MIT

کلاینت رسمی پایتون برای API جویار، سرویس جست‌وجوی هوشمندی که نتایج ده‌ها ارائه‌دهندهٔ ایرانی را یک‌جا مقایسه می‌کند. با این SDK می‌توانید در پرواز، اقامتگاه، اتوبوس، قطار، کالا و اینترنت جست‌وجو کنید و ارزان‌ترین و بهترین گزینه‌ها را به‌صورت رتبه‌بندی‌شده دریافت کنید — بدون آن‌که لازم باشد سایت‌ها را یکی‌یکی بگردید. کافی است یک فراخوانی ساده در کد خود بزنید و نتیجه را بگیرید.

نصب

pip install jouyaar
# یا با uv:
uv add jouyaar

شروع سریع

from jouyaar import Agent

client = Agent(api_key="sk_live_…")   # یا متغیر محیطی JOUYAAR_API_KEY

res = client.search(category="flight", prompt="ارزان‌ترین پرواز تهران به مشهد فردا صبح")
for q in res.quotes:
    print(q.provider, f"{q.price_toman:,} تومان", q.plan_name)

امکانات

  • کلاینت هم‌زمان (Agent) و ناهم‌زمان (AsyncAgent)
  • جست‌وجوی ساختاریافته (params=) یا با زبان طبیعی (prompt=)
  • خطاهای تایپ‌دار و retry خودکار با backoff روی خطاهای 429/5xx
  • کاملاً type-hinted، با مدل‌های Pydantic

مستندات

کلید API بگیرید و مستندات کامل را در developers.jouyaar.ir بخوانید.

با مجوز MIT منتشر شده است.

Metadata

Release files for jouyaar 2.0.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 jouyaar 2.0.0
File Size Uploaded Provenance Actions
jouyaar-2.0.0.tar.gz 38.2 kB With provenance Details for jouyaar-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jouyaar 2.0.0
File Interpreter ABI Platform Actions
jouyaar-2.0.0-py3-none-any.whl Python 3 none any Details for jouyaar-2.0.0-py3-none-any.whl

Total release size: 47.9 kB

Release files / jouyaar-2.0.0.tar.gz

Download URL jouyaar-2.0.0.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1a7b5d802de218d43825efa707bf0339347991432146b007c70838dd050d51bb
BLAKE2b-256 checksum
How to use checksums
4dfb01768cf196877ed0b0d84f3a763f7e2918592f0842ffd93fdda55412a126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / jouyaar-2.0.0-py3-none-any.whl

Download URL jouyaar-2.0.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02e35a62e52ae33d5bec64e3f349736f73909472a086d5a080a02e169faeceb3
BLAKE2b-256 checksum
How to use checksums
b41b370f7bd9c2d49cab46440bdcdfe9e316199ea2df6cb49f81c7eb3d73c79e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for jouyaar 2.0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jouyaar-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

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