renemarc / countdoom

🀯Countdoom: a Doomsday Clock client πŸ•š …and Python package! 🐍
https://pypi.org/project/countdoom/
MIT License
4 stars 1 forks source link
doomsday doomsday-clock global-warming hope peace pollution pypi-package python3 war world

🀯
Countdoom
or; How I Learned to Stop Worrying and Love the Clock πŸ•š

GitHub release Commits to be deployed Python Package Index Python versions Travis CI Documentation status CodeCov coverage Code Climate maintainability CodeFactor rating Code style: black License All contributors Tweet

Python package to fetch and digest the current Doomsday Clock world threat assessment from TheBulletin.org.

Free software released under MIT License, with source code available on GitHub, Python package distributed on PyPI, and documentation hosted on Read the Docs.

Be sure to ⭐️ or πŸ”± this repo if you find it useful! πŸ˜ƒ

Command-line interface output

Countdoom: a Doomsday Clock client.

Table of Contents πŸ“‘

  1. Features
  2. Installation
  3. Usage
  4. Contributors
  5. Related projects
  6. Thanks

πŸ”

Features CodeCov coverage Code Climate maintainability CodeFactor rating Code style: black

πŸ”

Installation Python Package Index Python versions Python wheel

Countdoom is distributed on the Python Package Index (PyPI). The best way to install it is with pip:

Create a virtual environment (optional):

virtualenv countdoom-env

Install Countdoom:

pip install countdoom

Run Countdoom:

countdoom

To install from source, please refer to the online documentation πŸ“˜.

πŸ”

Usage πŸ•š

Example usage:

$ countdoom

 11 12   ️
10 \|      Countdoom: Doomsday Clock 🀯 🌊 ☒️ ☠️
9   @      World threat assessment from TheBulletin.org

 Sentence: IT IS 2 MINUTES TO MIDNIGHT
    Clock: 11:58
     Time: 23:58:00
  Minutes: 2
  Seconds: 120
Countdown: 120 seconds

Example usage using a single format (e.g. clock):

$ countdoom --format clock

11:58

Built-in help:

$ countdoom -h

 11 12   ️
10 \|      Countdoom: Doomsday Clock 🀯 🌊 ☒️ ☠️
9   @      World threat assessment from TheBulletin.org

usage: countdoom [--format {sentence,clock,time,minutes,countdown,all,json}]
                 [--timeout TIMEOUT] [--v] [-h]

optional arguments:
  --format {sentence,clock,time,countdown,all,json}
                        return data format (default: all).
  --timeout TIMEOUT     connection/request timeout in seconds (default: 10).
  --v, --version        show program's version number and exit
  -h, --help            show this help message and exit

"Be the change you want to see in the world." β€”Gandhi/Arleen Lorrance

For programmatic usage, please refer to the online documentation πŸ“˜.

πŸ”

Contributors ✨ All contributors CodeTriage helpers


RenΓ©-Marc Simard

πŸ’» πŸ“– ⚠️

This project follows the all-contributors specification (emoji key available here). Found a bug, want to suggest an idea or share some improvements? Contributions of any kind are welcome! πŸ˜ƒ

πŸ”

Related projects πŸ‘«

πŸ”

Thanks πŸ’•

πŸ”

Don't forget to ⭐️ or πŸ”± this repo! πŸ˜ƒ
Built with ❀️ in Montréal.