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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file countdoom-0.2.1.tar.gz.

File metadata

  • Download URL: countdoom-0.2.1.tar.gz
  • Upload date:
  • Size: 79.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for countdoom-0.2.1.tar.gz
Algorithm Hash digest
SHA256 91560a25891fde337e4fc645152b5ad6c379d5c6d296988ce2be8b535c35b79c
MD5 baa7f5342206223e328fe7a4e96e081a
BLAKE2b-256 aa4f50a3551e645862a220028c01593a5097f81fe5f073376363eb15438d5e5d

See more details on using hashes here.

File details

Details for the file countdoom-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: countdoom-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for countdoom-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eb14c209b26b08e1fdc73f8e8244041f7a4dcf10d2ba1caeba41710340d74367
MD5 e6af59803904362e81eecaf06c6bd7a5
BLAKE2b-256 394cf4e4af9ea97b82a2a059783d1c45d15c86e99aa462ae2cd6bb5d39800671

See more details on using hashes here.

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