Skip to main content

ObHavoUz

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

ObHavoUz-1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

ObHavoUz-1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ObHavoUz-1.0.tar.gz.

File metadata

  • Download URL: ObHavoUz-1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for ObHavoUz-1.0.tar.gz
Algorithm Hash digest
SHA256 387253cd969117d07acc63c805b1a06caa97824121e79cc8704b2e6c6955f69b
MD5 f321217d463c9665c9c04bc223219a5d
BLAKE2b-256 12e4e1e7965f9c8a62363e3ea4d1cabb6db9db50ffd09d26577805d27672eb32

See more details on using hashes here.

File details

Details for the file ObHavoUz-1.0-py3-none-any.whl.

File metadata

  • Download URL: ObHavoUz-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for ObHavoUz-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52a5e5be324542c5a59a964c3c1be89979c428e94bf0ad740d8ac4da7cd002ef
MD5 111dda34f83e5e42b568d3e6a0d0bb1b
BLAKE2b-256 4edca972cabe61ed2a0516b9d89f84002e916f12f39e449d85e4a386e2d77820

See more details on using hashes here.

Supported by

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