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.2.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.2.0
File Size Uploaded Provenance Actions
jouyaar-2.2.0.tar.gz 38.6 kB With provenance Details for jouyaar-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 48.4 kB

Release files / jouyaar-2.2.0.tar.gz

Download URL jouyaar-2.2.0.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
035c732e5909587455d54c8f4aa2804cd33e9f372c94a85ea9d8b1dc51736873
BLAKE2b-256 checksum
How to use checksums
5cc0bb60d5b616e8d4e7a439a308e089c1a67d218e14d9325e12f7b9333b7632
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 Nov 2, 2026.

Transparency log

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

Download URL jouyaar-2.2.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
757c4066f57e8156fb297dada6bac417231b343006a5a0191d7b2d019d6feace
BLAKE2b-256 checksum
How to use checksums
19870ac7d36fd59ac7195fb077faf9281f8663b190332929efe8366e1b1db1bc
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 Nov 2, 2026.

Transparency log

Security for jouyaar 2.2.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.2.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 Nov 2, 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