Skip to main content

Enter any prefecture name to output the place name, weather, maximum temperature, minimum temperature, and humidity as listed in Yahoo Weather

Project description

tenki

tenkiは、日本の都道府県の名前を入力すると、その都道府県の今日と明日の天気をスクレイピングして表示するPythonパッケージです。Yahoo!天気のサイトから情報を取得します。

インストール

pipを使ってインストールできます。

pip install tenkichecker

使い方

tenkiモジュールをインポートして、kisyou関数に都道府県の名前を渡します。すると、その都道府県の今日と明日の天気がリストとして返されます。

from tenki import tenki tenki(“東京都”)

[["今日", "晴れ", "25℃", "17℃", "10%"], ["明日", "曇り", "23℃", "18℃", "20%"]]

ライセンス

このパッケージはMITライセンスのもとで公開されています。

作者

gotouyamato s2122100@stu.musashino-u.ac.jp

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

tenkichecker-0.1.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

tenkichecker-0.1.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file tenkichecker-0.1.1.tar.gz.

File metadata

  • Download URL: tenkichecker-0.1.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for tenkichecker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fe74233dd293cad0643f412934720d753e1b06c8476822c6ac2546fe970da289
MD5 e23ca47a81ff85b2877d335b82376842
BLAKE2b-256 acf98b0f1971e0a250698576ad40f12a84e80240c903644f16c8a4c9191f3d5f

See more details on using hashes here.

File details

Details for the file tenkichecker-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tenkichecker-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for tenkichecker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7f12631257f37fbadc25ea91bf2c160c5b9f8666c23561e0430b3aba67f27ad
MD5 21cf6edb03214fe2cc37cbc5764c1a79
BLAKE2b-256 880781915f36c128423a09928a42934b6db2f6199d19e1d5d41662ee433d83c5

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