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'
Release files for weatherincity 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weatherincity-1.0.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weatherincity-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / weatherincity-1.0.1.tar.gz
| Download URL | weatherincity-1.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2db5da1e22499e15608e3d619aedae7e53d26cec4c97a93bb3d2e45456205541
|
|
BLAKE2b-256 checksum How to use checksums |
3fc098b8105d4871184d450d27ba398845502cf15f827de0cf379aff2d123ad7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / weatherincity-1.0.1-py3-none-any.whl
| Download URL | weatherincity-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ce072c6a01ccb875f058ff6c7c3e4cf524f73a2908d09bf01ee8cb0146e0b72
|
|
BLAKE2b-256 checksum How to use checksums |
995c15183cd6cec5f6956e2a04d63a1fb84a658a385f522398a8a13d808019a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|