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 1.0.1

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 1.0.1
File Size Uploaded Provenance Actions
jouyaar-1.0.1.tar.gz 37.8 kB With provenance Details for jouyaar-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 47.5 kB

Release files / jouyaar-1.0.1.tar.gz

Download URL jouyaar-1.0.1.tar.gz
Size 37.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3ac3ae8ce9a61a140447509022b4fdeb4024f28665f6150cbbceceefb8cbb56e
BLAKE2b-256 checksum
How to use checksums
217cc43f0134765213d733c063deed426c2fb958c941b0fae9a9e70ef86c5594
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 20, 2026.

Transparency log

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

Download URL jouyaar-1.0.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fe337907e9c1bf69d01a3911fab99b3a7890fcd6cab07295c0e3ae311765115
BLAKE2b-256 checksum
How to use checksums
478b662f381df3a2a18f47858a81fe1beaf1c0177c38df4d9ffafa011a4289be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 20, 2026.

Transparency log

Security for jouyaar 1.0.1

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-1.0.1.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 Sep 20, 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