GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pretalx/pretalx-halfnarp

BranchesTags
Open more actions menu

Latest commit

 

History

145 Commits
145 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
pretalx_halfnarp
pretalx_halfnarp
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
justfile
justfile
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Halfnarp for pretalx

PyPI version

This is a plugin for pretalx that helps you to estimate the interest in your submissions and plan room-sizes accordingly by scheduling the most requested submissions into the larger rooms.

It presents a Voting-Interface to visitors, where they can pick their most favourite submissions. All submissions in the "Accepted" and "Confirmed" state are shown, so that you can use Halfnarp before beginning to plan your schedule. The order of the submissions is randomized per viewer to avoid a bias towards the top results.

Halfnarp is an anagram of Fahrplan, a not-yet sorted Fahrplan.

Screenshot of the halfnarp voting interface

Screenshot of the halfnarp results view

Installation

Install the plugin with pip, in the same environment as your pretalx installation:

(env)$ python -m pip install pretalx-halfnarp

Afterwards, run migrate and rebuild and restart your pretalx services, just like after any pretalx update (see performing updates in the administrator documentation).

You can then enable the plugin under "Settings → Plugins" in your event settings.

Development setup

  1. Make sure that you have a working pretalx development setup.
  2. Clone this repository, eg to local/pretalx-halfnarp.
  3. Activate the virtual environment you use for pretalx development.
  4. Run pip install -e . within this directory to register this application with pretalx's plugin registry.
  5. Restart your local pretalx server. This plugin should show up in the plugin list shown on startup in the console. You can now use the plugin from this repository for your events by enabling it in the 'plugins' tab in the settings.

Development commands

This plugin uses just as a task runner and uv for dependency management. Run just with no arguments to list every available command. The most useful ones are:

just fmt
Auto-format and lint the code.
just test
Run the full test suite with pytest.

Installing pretalx

The tests need pretalx installed in the environment. just test handles this for you: if pretalx cannot be imported, it installs the latest version from git before running the test suite.

If you already have a development version of pretalx around (for example if you want to test your changes against a specific commit or branch of pretalx), you can also install pretalx up front yourself:

just install-pretalx-local /path/to/pretalx
Install pretalx from a local checkout as an editable install.
just install-pretalx
Install the latest pretalx from git (runs before tests if no pretalx is installed).

License

Copyright 2023 Peter Körner

Released under the terms of the Apache License 2.0

About

No description, website, or topics provided.

Resources

Readme
License
Activity
Custom properties

Stars

3 stars

Watchers

5 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.