Skip to main content

A simple asynchronous currency, gold, and crypto price fetcher for the Iranian market.

Project description

💰 Arez Currency – کتابخانه نرخ ارز، طلا و رمزارز 🇮🇷

ویژگی‌های کلیدی:

دریافت خودکار و به‌روز نرخ‌های لحظه‌ای

پشتیبانی از ارزهای اصلی (دلار، یورو، تتر)

پشتیبانی از فلزات گرانبها (طلا، سکه)

پشتیبانی از ارزهای دیجیتال (بیت‌کوین، اتریوم)

طراحی بهینه برای استفاده‌ی برنامه‌نویسی

پاسخگویی سریع و بدون تأخیر

کاربردها:

نمایش نرخ‌ در اپلیکیشن‌های مالی

یکپارچه‌سازی با سیستم‌های تجاری

توسعه‌ی داشبوردهای اقتصادی

مثال سریع

from arez_currency import ArezCurrency
import asyncio

data = asyncio.run(ArezCurrency().get_currency_data())
print(data)

# __
import asyncio
from arez_currency import ArezCurrency

async def main():
    arez = ArezCurrency()
    data = await arez.get_currency_data()
    msg = await arez.pretty_message()
    print(msg)

    print("📊 نرخ لحظه‌ای بازار ایران:")
    for key, value in data.items():
        print(f"{key}: {value}")

asyncio.run(main())

# __

⚙️ نصب

pip install arez_currency

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arez_currency-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arez_currency-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file arez_currency-1.0.0.tar.gz.

File metadata

  • Download URL: arez_currency-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for arez_currency-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c3b67ff15fb0a934bd70c346db619ccc53df410d159f039fbe1dfbd9aa15f7af
MD5 2cad53c5b5c9404c146fa8fb299a60d1
BLAKE2b-256 d601ac77265b339e9f095c620eaf52786a49838605e01812ead5c053965292c3

See more details on using hashes here.

File details

Details for the file arez_currency-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: arez_currency-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for arez_currency-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9b2733e41535df3d8969eb846f4e8228a9b13010eb57b515fcd3401c04ad299
MD5 390ba35cf7d684e98dfec9d4f2514112
BLAKE2b-256 b97a6fb88a079bee27306f4b10e98815ae227405738ace96994c09806b446856

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page