Skip to main content

Fetch the current Doomsday Clock from TheBulletin.org

Project description

🤯 Countdoom: a Doomsday Clock client 🕚 Twitter

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.

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

  • Fetches the current Doomsday Clock value from the Bulletin of the Atomic Scientists.

  • Converts the Doomsday Clock sentence into:

    • countdown seconds 60

    • countdown minutes 1

    • clock 11:59

    • time 23:59:00

  • Offers a command-line interface.

  • Uses Async IO for efficient Python integration.

Command-line interface output

Countdoom: a Doomsday Clock client.

Changelog Keep a Changelog v1.0.0 Semantic Versioning v2.0.0

All notable changes to Countdoom will be documented in this list. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased Commits to be deployed

No documented unreleased changes

v0.2.1 — 2020-03-07

Added
Fixed
  • Spelling, links and images in documentation.

v0.2.0 — 2020-03-03

Alpha release. Since the Doomsday Clock has (…unfortunately 😩) started counting in seconds for the first time since 1947, the code was adapted to also handle sub-minute values.

Added
Changed
  • BREAKING: Return countdown in seconds instead of minutes.

  • BREAKING: Rename project to Countdoom.

  • Expand Tox test environments to include Python 3.5–3.8, Pypy3, formatter, and linters.

  • Expand test coverage to cover seconds to midnight.

  • Improve type hints.

  • Expand contributing guidelines.

  • Improve install documentation.

  • Move Asyncio loop handling from package __main__.py to cli.py.

  • Simplify support tools configuration files.

  • Regroup dependencies listing to setup.py.

  • Add descriptive file headers and modelines.

  • Split Issue template into Bug Report, Feature Request, Questions and Help, and Agile User Story.

Fixed
  • Revise sentence extraction logic to include seconds to midnight.

Removed
  • Files requirements.txt and requirements_dev.txt (now in setup.py).

  • Support for Pyup dependency checker service.

v0.1.0 — 2020-02-23

Inital release.

Added
  • Extraction of minutes to midnight from TheBulletin.org.

  • Tests with pytest.

  • Command-line interface.

  • Integration examples.

  • Importable client module with Asyncio support.

  • Makefile build assistant.

  • Basic Sphinx documentation.

  • Badges to README file.

  • Support for bandit security issues checker.

  • Support for Black code formatter.

  • Support for Coverage.py unit tests measuring tool.

  • Support for EditorConfig coding style config file.

  • Support for Flake8 coding style enforcer.

  • Support for isort imports organizer.

  • Support for pip dependencies manager.

  • Support for pre-commit git hooks with linters, formatters, and validators.

  • Support for Pylint code analyzer.

  • Support for Pyup dependency checker service.

  • Support for Tox automation integration.

  • Support for Travis-CI continuous integration service.

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

countdoom-0.2.1.tar.gz (79.1 kB view hashes)

Uploaded Source

Built Distribution

countdoom-0.2.1-py2.py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page