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.
Quickstart
Installation and updates
# Install with pipx (recommended)
pipx install ortler
# Get latest version
pipx upgrade ortler
# Or install in editable mode for development
git clone git@github.com:ad-freiburg/ortler.git
cd ortler
pipx install -e .
# Get latest version from git:w
git pull
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
OPENREVIEW_IMPERSONATE_GROUP=Your/Venue/ID
MAIL_FROM=Your Choice <your-choice@openreview.net>
If you want to use ortler mail with --recipients-from-sparql-query, you
also need to and provide the API of a SPARQL endpoint (e.g., QLever), and a
username and password in case that endpoint requires authentication:
QLEVER_LINK_API=https://qlever.dev/api/link/
QLEVER_QUERY_API=https://qlever.dev/api/...
QLEVER_QUERY_API_USERNAME=username
QLEVER_QUERY_API_PASSWORD=password
If you want to use commands that require a language model (like ortler ai-review), you also need to provide an API key for that model:
OPENAI_API_KEY=your-openai-api-key
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 only of the specified profiles
ortler update --profiles ~John_Doe1 ~Jane_Doe2
# 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)
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. If the Cc is provided, a single email is sent to that address, with
the list of recipients, a link to the SPARQL query, and the mail body.
To: ~Recipient_Profile1 ~Recipient_Profile2 ...
Subject: Your subject line
Cc: ...
Reply-To: ...
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/name-of-endpoint/QUERY_HASH
To: (will be replaced by profile IDs from query result)
Subject: Your submissions
Cc: ...
Reply-To: ...
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.
Metadata
Release files for ortler 0.2.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ortler-0.2.18.tar.gz | 77.3 kB | Without provenance | Details for ortler-0.2.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ortler-0.2.18-py3-none-any.whl | Python 3 | none | any | Details for ortler-0.2.18-py3-none-any.whl |
Total release size: 167.5 kB
Release files / ortler-0.2.18.tar.gz
| Download URL | ortler-0.2.18.tar.gz |
|---|---|
| Size | 77.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b20d77570871a64230735746a8fc88666d55696e7d2b560f3e0421a515d6103
|
|
BLAKE2b-256 checksum How to use checksums |
369386f918e0e1e2a8f35e9e9d20f4b654ebce8b231ca6d340ceaf65cf3f44dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / ortler-0.2.18-py3-none-any.whl
| Download URL | ortler-0.2.18-py3-none-any.whl |
|---|---|
| Size | 90.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59ce872921aa93fb5e78e7a99baf13862b75573e9fc1ef2ee6bc2ef610eeb787
|
|
BLAKE2b-256 checksum How to use checksums |
4e5075ef1ba01c7696e9e22b0295a4b83ea7197f6763e97a524a13563d06ba94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for ortler 0.2.18
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.