Skip to main content

CLI to find an optimal, personal schedule for the 37c3 congress.

Project description

Optimal Congress

CLI to find an optimal, personal schedule for the 37c3 congress.

Optimization logic

The optimization relies on a simple 2-fold logic:

  1. Find a personal schedule that maximizes the sum of 'rating scores' assigned to scheduled events.
  2. The schedule must be feasible, i.e. the times of scheduled events must not overlap.

Installation

pip install optimal-congress

Example Workflow

  1. Fetch events and rooms from congress API:
$ optimal-congress fetch

Fetching events and rooms from API...
Fetched 49 events and 58 rooms from API.

Comparing API with cache...
Found 0 new events, and 0 removed events.

Updating cache...
Done.
  1. Interactively rate events, if not already rated:
$ optimal-congress rate

Unrated event (1/65):

2023-12-28 20:15 - 20:55

Lützerath Lebt! Einblicke in den Widerstand

You can't evict a movement! Der Energiekonzern RWE wird noch Jahre brauchen, die Kohle unter Lützi abzubaggern: Der Kampf gegen die Kohle und für Klimagerechtigkeit geht weiter!

https://events.ccc.de/congress/2023/hub/en/event/lutzerath_lebt_einblicke_in_den_widerstand

Rate from 0 to 10 (Enter to exit):
  1. Review you current ratings:
$ optimal-congress ratings

loading events and ratings from cache...

Latest ratings:
- Rating: 8.0 - Amateurfunk als Hilfe in Not- und Katastrophenfäll..https://events.ccc.de/congress/2023/hub/en/event/amateurfunk-als-hilfe-in-not-und-katastrophenfalle
- Rating: 8.0 - InfraNodus: Reveal Non-Obvious and Find the Gaps w..https://events.ccc.de/congress/2023/hub/en/event/infranodus-reveal-non-obvious-and-find-the-gaps-wi
  1. Optimize your personal schedule:
$ optimal-congress optimize

loading events and ratings from cache...

Scheduled events:
- Wed 27 10:30-11:00: 37C3: Feierliche Eröffnung...........................https://events.ccc.de/congress/2023/hub/en/event/37c3_feierliche_eroffnung
- Wed 27 13:00-15:30: POTA – Parks on the Air [Day 1]......................https://events.ccc.de/congress/2023/hub/en/event/pota-parks-on-the-air
...

Roadmap

  • dump all latest ratings to CSV

  • load ratings from CSV

  • test export of schedule to iOS app via QR code

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

optimal_congress-0.4.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

optimal_congress-0.4.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file optimal_congress-0.4.0.tar.gz.

File metadata

  • Download URL: optimal_congress-0.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/6.6.6-76060606-generic

File hashes

Hashes for optimal_congress-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5c6cdde24151d87acf60f207e575fbadaf2e18f365317a98966d19e9d77526fa
MD5 9cad7bbd24efd0dfb62e6a9951f721f1
BLAKE2b-256 5bf128a96dbd9b0457325f5706099e6376bc0253e9b1904f3e933b0693f8c697

See more details on using hashes here.

File details

Details for the file optimal_congress-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: optimal_congress-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/6.6.6-76060606-generic

File hashes

Hashes for optimal_congress-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fca5ae78a57a68e05735bb77c210d745494b4cd58b2768848837433c6537ee6
MD5 9f2ad49ee23a1024e1144a45f8eeb34c
BLAKE2b-256 8000e33993a9bb262ea41318c3487528d617d660a3411ec5419a5d1a76576c50

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