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

Uploaded Source

File details

Details for the file communebot_fr-0.0.3.tar.gz.

File metadata

  • Download URL: communebot_fr-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10

File hashes

Hashes for communebot_fr-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c1619ddf93951966404ce76106508e6ceb4b36f8814b104ddce5dfbb3be8024b
MD5 a819296737c9fb3371a102fe505352a9
BLAKE2b-256 29a2a099837c397a4dab9889d0f123c1a0cb0a27b4a20bf73ef4a6b90a91aff0

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