Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.41 KB

File metadata and controls

35 lines (21 loc) · 1.41 KB

Belgian Recycle Calendar Creator

A Python script for creating a personalized recycling calendar using the Recycle! API. Only works for Belgian addresses.

How to run in Python

  1. Install Python dependencies (see requirements.txt)
  2. Execute python main.py in a terminal and follow the prompts
  3. Import the resulting calendar file (ics) in your favorite calendar application

Alternatively, you can use the Makefile: make install-deps && make run

How to run in Docker

  1. Start the Docker container by executing docker-compose run --rm belgian_recycle_calendar_creator and follow the prompts
  2. Import the resulting calendar file (ics) in your favorite calendar application

Alternatively, you can use the Makefile: make run-docker

How to run the executable

  1. Download the Unix executable and give it permission to execute using chmod +x ./be_recycle_calendar
  2. Execute ./be_recycle_calendar in a Unix terminal (macOS and Linux) and follow the prompts
  3. Import the resulting calendar file (ics) in your favorite calendar application

Windows executables are currently not supported.

How to build the executable

  1. Install PyInstaller using pip install pyinstaller
  2. Build the executable using pyinstaller -F --add-data=config.json:. -n "be_recycle_calendar" main.py

Requirements

  • Python 3.7 or higher