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 room from congress API:
$ optimal-congress fetch

Fetching events and rooms from API...

Found 47 events and 57 rooms at API.
Saving events and rooms to cache...
  1. Interactively rate events, if not already rated:
$ optimal-congress rate

loading events and ratings from cache...

Found 47 events and 47 ratings.
No new events to rate. Exiting.
  1. Optimize 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

  • when fetching new events and rooms, report on what's new and what's deleted

  • dump all latest ratings to CSV

  • load ratings from CSV

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.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

optimal_congress-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: optimal_congress-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/6.5.6-76060506-generic

File hashes

Hashes for optimal_congress-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6d1464db86bb76869204592793c30f0fdae7cf3a033ef9656449675956e4ab97
MD5 228855183abd6acfce905cf1d7439e68
BLAKE2b-256 bb97d94bd987bf0f170a5c385bf5e1d1e5a168a709d54b2e9bf603c94ca1a875

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for optimal_congress-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f403ce63c3e618fc6cfe69c6278c7d578c398c23b5b15298340046253cf881
MD5 e1599f0cecadc7277d9248607412c1e0
BLAKE2b-256 e5f9feb7c097205fc741f2d2b3b0b2fd6798bd342bac4fa75b1e4fc4c9cad560

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