Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

Release files for communebot-fr 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for communebot-fr 0.0.3
File Size Uploaded
communebot_fr-0.0.3.tar.gz 3.8 kB Details

Release files / communebot_fr-0.0.3.tar.gz

Download URL communebot_fr-0.0.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c1619ddf93951966404ce76106508e6ceb4b36f8814b104ddce5dfbb3be8024b
BLAKE2b-256 checksum
How to use checksums
29a2a099837c397a4dab9889d0f123c1a0cb0a27b4a20bf73ef4a6b90a91aff0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page