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 --upgrade arez-currency
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arez_currency-1.1.0.tar.gz.
File metadata
- Download URL: arez_currency-1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a246c7ced1825080d2dd441a5ffbf39ee029a2f352a13751876616f9794f3a52
|
|
| MD5 |
27c069f06cf2e81f46d11b20b0a72db8
|
|
| BLAKE2b-256 |
adcafbe0608dc7030952e3b1cc00fe477bfdfbc4a4935240867a74da3b3fde57
|
File details
Details for the file arez_currency-1.1.0-py3-none-any.whl.
File metadata
- Download URL: arez_currency-1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6da25490de57930759d3f99cd4bacc44389457758d19ba405994547b41341e35
|
|
| MD5 |
36728eb6c3af44f42eaae5c6614acace
|
|
| BLAKE2b-256 |
c00af71dffd35c3a556c58fbe5f3706eb14e06f3eba2f22eb427731e508f0f7d
|