Skip to main content

alt text

pip install ObHavoUz
from asyncio import get_event_loop

from obhavo import ObHavo


async def main():
    data = await ObHavo(city='samarqand').obhavo()
    print(data)

if __name__ == '__main__':
    get_event_loop().run_until_complete(main())
{'city': 'Samarqand', 'day': 'Bugun, 22 avgust', 'info': 'Ochiq havo', 'description': "\n\nNamlik: 13%\nShamol: G'arbiy-shimoli-g'arbiy, 4.4 m/s\nBosim: 757 mm sim. ust.\n\n\nOy: Eski oy\nQuyosh chiqishi: 05:50\nQuyosh botishi: 19:19\n\n\n", 'degree': '+31°+15°'}
print(data.get('city'))
>>> Samarqand
from asyncio import get_event_loop

from obhavo import ObHavo


async def main():
    data = await ObHavo().all()
    print(data)

if __name__ == '__main__':
    get_event_loop().run_until_complete(main())

Shaharlar ro'yhati

Toshkent Samarqand Andijon Buxoro Jizzax Qarshi Navoyi Namangan Nukus Termiz Urganch Fargona Xiva

Release files for ObHavoUz 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 ObHavoUz 1.0
File Size Uploaded
ObHavoUz-1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / ObHavoUz-1.0.tar.gz

Download URL ObHavoUz-1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
387253cd969117d07acc63c805b1a06caa97824121e79cc8704b2e6c6955f69b
BLAKE2b-256 checksum
How to use checksums
12e4e1e7965f9c8a62363e3ea4d1cabb6db9db50ffd09d26577805d27672eb32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / ObHavoUz-1.0-py3-none-any.whl

Download URL ObHavoUz-1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52a5e5be324542c5a59a964c3c1be89979c428e94bf0ad740d8ac4da7cd002ef
BLAKE2b-256 checksum
How to use checksums
4edca972cabe61ed2a0516b9d89f84002e916f12f39e449d85e4a386e2d77820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

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