Skip to main content

No project description provided

Project description

ortler

Ortler is a powerful and versatile command-line tool for managing OpenReview venues. It provides commands for syncing venue data to a local cache, managing committee recruitment, tracking submissions, and sending emails via the OpenReview API. It is named after OpenReview and a beautiful mountain in the Alps.

image

Quickstart

Installation

# Install with pipx (recommended)
pipx install git+https://github.com/ad-freiburg/ortler.git

# Or with pip in a virtual environment
python3 -m venv venv && source venv/bin/activate
pip install git+https://github.com/ad-freiburg/ortler.git

# Or install in editable mode for development
git clone git@github.com:ad-freiburg/ortler.git
cd ortler
pipx install -e .

Configuration

Create a .env file with your OpenReview credentials (see .env.example):

OPENREVIEW_API_URL=https://api2.openreview.net
OPENREVIEW_USERNAME=your.email@example.com
OPENREVIEW_PASSWORD=your-password
OPENREVIEW_VENUE_ID=Your/Venue/ID
MAIL_FROM=Your Choice <your-choice@openreview.net>

Usage

ortler --help                  # Show all commands
ortler COMMAND --help          # Show help for a specific command

Commands

update

Sync venue data from OpenReview to a local cache. The cache enables fast queries and RDF export without repeated API calls.

# Incremental update (only fetch changes since last update)
ortler update

# Preview what would be updated
ortler update --dry-run

# Force re-fetch of all submissions
ortler update --recache submissions

# Force re-fetch of all profiles with publications
ortler update --recache profiles-with-publications

# Force re-fetch of everything
ortler update --recache all

dump

Export all cached data as RDF (Turtle format) for use with SPARQL engines like QLever.

# Output to stdout
ortler dump

# Output to file
ortler dump --output data.ttl

The RDF output includes triples for the following; just run it and inspect if yourself, Turtle is quite readable for humans:

  • Committee members (reviewers, area chairs, senior area chairs) with roles and status
  • Submissions with titles, abstracts, authors, and status
  • Profile data including affiliations and publications

recruitment

Manage committee membership (reviewers, area chairs, senior area chairs).

# Search for a user and show their group memberships
ortler recruitment --search user@example.com
ortler recruitment --search ~John_Doe1

# Add users to the reviewer pool
ortler recruitment --role pc --add invited user1@example.com user2@example.com

# Remove a user from the invited list
ortler recruitment --role pc --remove invited user@example.com

# Set reduced review load for a member
ortler recruitment --role pc --set-reduced-load ~John_Doe1 2

Roles: pc (reviewers), spc (area chairs), ac (senior area chairs)

mail

Send emails via the OpenReview API. Emails are defined in a file with headers and body separated by a blank line.

# Preview email without sending
ortler mail message.txt --dry-run

# Send to a test recipient first
ortler mail message.txt --test-run ~Your_Profile1

# Send emails with recipients from a SPARQL query
ortler mail message.txt --recipients-from-sparql-query QUERY_HASH

Example email file; the {{name}} placeholder will be replaced with the recipient's first name if that information is available, otherwise the full name.

To: ~Recipient_Profile1 ~Recipient_Profile2 ...
Subject: Your subject line

Dear {{name}},

This is an email from the `ortler` tool, we hope that you like it!

Best regards,

The robots from the future

Example with SPARQL query; the {{name}} placeholder will be replaced just like above; the list of recipients is determined by the first column of the query result, where all values are profile IRIs; other columns of the result can be used as additional placeholders in the email body, where, for example, {{titles}} will be replaced by the content of the ?titles variable.

# Query: https://qlever.dev/your-backend/QUERY_HASH
To: (will be replaced by profile IDs from query result)
Subject: Your submissions

Dear {{name}},

You have submitted the following papers, just so you know:

{{titles}}

Best regards ...

Other Commands

Run ortler --help to see all available commands and ortler COMMAND --help for details on each command.

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

ortler-0.2.4.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ortler-0.2.4-py3-none-any.whl (50.9 kB view details)

Uploaded Python 3

File details

Details for the file ortler-0.2.4.tar.gz.

File metadata

  • Download URL: ortler-0.2.4.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ortler-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cc9bb2d1f04141d3c7a74ddb86ba8fb573e1b2628a39e5ae1f470c889560756f
MD5 c96bd48033e61767bc95b9982abe9cec
BLAKE2b-256 7ef730941d4cfac49d78f3380fe858fcb29a2e8cab8a863ab33f075b4f373a27

See more details on using hashes here.

File details

Details for the file ortler-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ortler-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 50.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ortler-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ba5b9a51fb7902af660918955a35878f50f5bedc80b206ba61415a36d579580a
MD5 33aea5217e85228abbff06f4e9257f89
BLAKE2b-256 68b552b9ec464eba6cd3f180ed7aa52f8e4c68facfbeb53ff273dd15419481c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page