Skip to main content

Retrieves the current temperature in a city

Project description

Installation

pip install weatherincity

Usage as a CLI tool

python weatherincity.py Berlin

This will retrieve and display the current temperature for Berlin:

The current temperature in Berlin is: +6°C

Usage as a module

import weatherincity
print(weatherincity.get_current_temperature('Berlin'))
'+6°C'

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

weatherincity-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

weatherincity-1.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file weatherincity-1.0.1.tar.gz.

File metadata

  • Download URL: weatherincity-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for weatherincity-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2db5da1e22499e15608e3d619aedae7e53d26cec4c97a93bb3d2e45456205541
MD5 dab291ec243e288673ddd4fd671c382d
BLAKE2b-256 3fc098b8105d4871184d450d27ba398845502cf15f827de0cf379aff2d123ad7

See more details on using hashes here.

File details

Details for the file weatherincity-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: weatherincity-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for weatherincity-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce072c6a01ccb875f058ff6c7c3e4cf524f73a2908d09bf01ee8cb0146e0b72
MD5 e24f939b4001b73e5778101b3be12d5b
BLAKE2b-256 995c15183cd6cec5f6956e2a04d63a1fb84a658a385f522398a8a13d808019a9

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