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 tenkichecker import Weather weather = Weather("任意の県名") weather.kisyou() [["今日", "晴れ", "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.7.tar.gz (3.2 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.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tenkichecker-0.1.7.tar.gz
  • Upload date:
  • Size: 3.2 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.7.tar.gz
Algorithm Hash digest
SHA256 4f5cc4b2b971987c3e13f10e29f2d60e5f26e5bc7b09cb9a1f9409fc18920947
MD5 2fd82cfbea9e32725ee2fb76c53c30a1
BLAKE2b-256 e3f6ddc077eef65149155e0a61acb42972b53222d1dc810e03905754d0ff1041

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tenkichecker-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 79601caa21a50b729168d0da13589d531b6078abc9551bfc701f5e65d1f24378
MD5 703419195ead6fba635551fc08f5184e
BLAKE2b-256 d4106c891c3fbb65ed579818998c0665322e40c1d36d06537a700d649cc22039

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