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.1.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.1.0
File Size Uploaded Provenance Actions
jouyaar-2.1.0.tar.gz 38.5 kB With provenance Details for jouyaar-2.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 48.3 kB

Release files / jouyaar-2.1.0.tar.gz

Download URL jouyaar-2.1.0.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3df563936b6219bf594ad902e39e626d1d834bca3fa92b2956fdbae6c4e82286
BLAKE2b-256 checksum
How to use checksums
e809db63757b8e194b4d874f878c75b472cb30091f87047a2c7567e41f7e53eb
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.1.0-py3-none-any.whl

Download URL jouyaar-2.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a78746d316e70bd402cad24f68a21e55c66ef27aeb02425b560587bbc2272459
BLAKE2b-256 checksum
How to use checksums
d271b32128a80b2077c4f30f55d8d05482e1b0dece0d362fa3fae7a064abf172
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.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.

Full provenance

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

Select from 2 files

Attestation for jouyaar-2.1.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