Skip to main content

A Twitter bot built with munibot that tweets aerial imagery pictures of France communes

Project description

Commune Bot

A friendly Twitter bot built with Munibot that tweets aerial pictures of France's communes.

Install and setup

Install it with pip:

pip install communebot-fr

And follow the instructions on Munibot's documentation regarding configuration and setup.

This particular bot requires:

  • An IGN geoservices key to access the WMS service, which you can obtain here
  • The backend SQLite database with communes data, which you can download from this repo (data folder)

Both these should be referenced in the [profile:fr] section of your munibot.ini file:

[profile:fr]
ign_key=CHANGE_ME
twitter_key=CHANGE_ME
twitter_secret=CHANGE_ME
db_path=/path/to/data/communes_fr.sqlite

Patches

As of April 2021 this bot requires a patch in OWSLib to be able to send headers as part of the WMS GetMap requests. The patch is included in the data folder.

License

MIT

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

communebot_fr-0.0.3.tar.gz (3.8 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