Skip to main content

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...

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. 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

Metadata

Release files for optimal-congress 0.2.0

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

Source distribution (sdist)

Source distribution for optimal-congress 0.2.0
File Size Uploaded Provenance Actions
optimal_congress-0.2.0.tar.gz 7.8 kB Without provenance Details for optimal_congress-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for optimal-congress 0.2.0
File Interpreter ABI Platform Actions
optimal_congress-0.2.0-py3-none-any.whl Python 3 none any Details for optimal_congress-0.2.0-py3-none-any.whl

Total release size: 17.3 kB

Release files / optimal_congress-0.2.0.tar.gz

Download URL optimal_congress-0.2.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2538ef7b623aed93d4e949ead11fd30347b1c89afa5ae598f4e67012a0eb382b
BLAKE2b-256 checksum
How to use checksums
1fb73296226566179d0a4695105282507123209acdbfd8a5047303c7e2d3e0f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.5.6-76060506-generic

Release files / optimal_congress-0.2.0-py3-none-any.whl

Download URL optimal_congress-0.2.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3b1a76168ec75f3512bb74ba616bdaf403638598ba05da0821acda6a3108d91
BLAKE2b-256 checksum
How to use checksums
8059dd9a47bad10054f9193d830049e6d05c83190f841082c0cf48b660cd63b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.5.6-76060506-generic

Security for optimal-congress 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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