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:
- Find a personal schedule that maximizes the sum of 'rating scores' assigned to scheduled events.
- The schedule must be feasible, i.e. the times of scheduled events must not overlap.
Installation
pip install optimal-congress
Example Workflow
- 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.
- 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):
- 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
- 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
-
at fetching, show 'new' and 'removed' based on UUID, perhaps also list 'changed'
-
test export of schedule to iOS app via QR code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file optimal_congress-0.5.0.tar.gz
.
File metadata
- Download URL: optimal_congress-0.5.0.tar.gz
- Upload date:
- Size: 9.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aed1a8ec063d67f45b17f24aca966de32fe54e6ebeb3d1256017eba4df9bdf5e |
|
MD5 | 07e9fbbf9311ec2dd3f033b481733454 |
|
BLAKE2b-256 | 5da40619863794e722c138ac6a37c914c22b313018faa2c0549a9b2d806b2fdd |
File details
Details for the file optimal_congress-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: optimal_congress-0.5.0-py3-none-any.whl
- Upload date:
- Size: 11.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d00e5763eefbb60f21d3e536c34a781c8f32fb735635dd96bd3997dcb83da95c |
|
MD5 | afd4dfd183bcd52d4b1b35b8f49eb9f6 |
|
BLAKE2b-256 | 2d999164a23d5df89605d1d4ab83472ab72ae490d7d7cd2a50f1730d172b8d63 |