Skip to main content

A minimal console based weather application.

Project description

Mridu Manda

Mridu-Manda is a minimal console application that shows weather and is based on the OpenWeatherMap API.

Features

  • Compact display of weather
  • Supports automatic location detection using ipInfo
  • Supports command line city input
  • Two different output formats, one liner and default

Requirements

  • Requires an API key from OpenWeatherMap
  • Requires Python 3.8 or later
  • Requires requests module 2.31 or later

Installation

From PyPI

pip install mridumanda_shvedt

Usage

After installing run

mrdmnd                  # for default display of weather
mrdmnd -o               # for one line display of weather
mrdmnd -g               # for weather display with ascii art
mrdmnd -c Kolkata       # for weather display with city name 

If it is first time, you will be prompted to enter your API key from OpenWeatherMap. After it is done, run the program again and enjoy.

Contributions

Feel free to contribute to the project by opening an issue.

Credits

The ASCII art for weather representation in this project was created by Julynx. It was taken from here.

License

This is licensed under the GNU General Public License version 3.0

Changelog

Version 1.4 - Latest Release

  • Changed to argparse to better management of command line arguments
  • Added the -c flag to support entering the city name as a command line argument
  • Miscellaneous changes to optimize performance

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

mridumanda_shvedt-1.4.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

mridumanda_shvedt-1.4-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file mridumanda_shvedt-1.4.tar.gz.

File metadata

  • Download URL: mridumanda_shvedt-1.4.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for mridumanda_shvedt-1.4.tar.gz
Algorithm Hash digest
SHA256 8446d069c6e1d855c4d69a3bf5b80318b0afbd49c9af9cf9fcc757a4ffd20703
MD5 e104bcf7bfec63808bc4a3630a374be6
BLAKE2b-256 30bd630fbb69913c32cc26dfca1d96323eecfa661e3015f80ce8948512e3e1cb

See more details on using hashes here.

File details

Details for the file mridumanda_shvedt-1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mridumanda_shvedt-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4411f1deef9aacdde58889ad956af20dbffe84b5e7e487dd43d5bf082a845827
MD5 96b8cb9ae364303b4960c6b3331ed6d6
BLAKE2b-256 b9c9838ac0f0f57b111b350ab2d7a609bbcd69133b0c821e5dc1e2b663e57d76

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