Skip to main content

A Twitter bot that posts the number of astronauts in space every day.

Project description

Astronaut Twitter Bot drawing

This is the repository for @astronautcount, the astronaut count twitter bot.

Structure

Project structure consists of

  • terraform/ - houses the IaC to build a backend (spot) instance that a Flask-based inbound webhook handler resides on.
  • src/ - which contains two small Python packages, including
    • handler, the Flask app already mentioned, and
    • bot, a Python-based bot that CircleCI executes every day for a daily morning tweet.

Where does the data come from?

At-current, this bot pulls data from Open Notify's API, which is maintained by Nathan Bergey (@natronics). This is, as far as I'm aware, both the only publicly-accessible and regularly updated API for these data.

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

astronautcount-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file astronautcount-0.1.1.tar.gz.

File metadata

  • Download URL: astronautcount-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for astronautcount-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98325da4b489347d91b6d3a75a2f35c0c37d7651c9232b00db5a1e7931423fe5
MD5 1986b04353ef2fda74778802fd39fed2
BLAKE2b-256 b0b3b6b3d354074ca65796b40cabdc08ab5f258e8a7c4504a603f479a047764d

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