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

Uploaded Source

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