Skip to main content

Utilities for the program organization of conferences using Pretalx

Project description

Pytanis logo

All the tooling you need for conferences using Pretalx to handle the call for papers and creating a program.

CI/CD CI - Test Coverage CD - Build Docs - Build
Package PyPI - Version PyPI - Downloads PyPI - Python Version
Details Project generated with PyScaffold Hatch project code style - black types - Mypy imports - isort License - MIT GitHub Sponsors

Trivia: The name Pytanis is a reference to Prytanis using the typical py prefix of Python tools. Prytanis was the name given to the leading members of the government of a city (polis) in ancient Greece. Offices that used this title usually had responsibility for presiding over councils of some kind, which met in the Prytaneion. Romani ite domum!

This is an alpha version! It might break sometimes!

Features

  • simple configuration management with a config folder in your home directory, just like many other tools do
  • easily access Google Sheets, potentially filled by some Google Forms, and download it as DataFrame
  • easy to use Pretalx client that return proper Python objects thanks to the power of pydantic
  • simple HelpDesk client for batch mails, e.g. to your reviewers
  • awesome documentation with best practices for the program committee of any community conference
  • tools to assign proposals to reviewers based on constraints like preferences
  • tools to support the final selection process of proposals
  • tools to support the creation of the final program schedule

Getting started

To install Pytanis simple run:

pip install pytanis

or to install all recommended additional dependencies:

pip install pytanis[all]

Then create a configuration file and directory in your user's home directory. For Linux/MacOS/Unix use ~/.pytanis/config.toml and for Windows $HOME\.pytanis\config.toml, where $HOME is e.g. C:\Users\yourusername\. Use your favourite editor to open config.toml within the .pytanis directory and add the following content:

[Pretalx]
api_token = "932ndsf9uk32nf9sdkn3454532nj32jn"

[Google]
client_secret_json = "client_secret.json"
token_json = "token.json"

[HelpDesk]
account = "934jcjkdf-39df-9df-93kf-934jfhuuij39fd"
entity_id = "email@host.com"
token = "dal:Sx4id934C3Y-X934jldjdfjk"

where you need to replace the dummy values in the sections [Pretalx] and [HelpDesk] accordingly.

Retrieving the Credentials and Tokens

  • Google: Follow the Python Quickstart for the Google API to generate and download the file client_secret.json. Move it to the ~/.pytanis folder as client_secret.json. The file token.json will be automatically generated later. Note that config.toml references those two files relative to its own location.
  • Pretalx: The API token for the Pretalx API can be found in your user settings.
  • HelpDesk: Log into the LiveChat Developer Console then go to Tools » Personal Access Tokens. Hit Create new token +, enter a the name Pytanis, select all scopes and confirm. In the following screen copy the Account ID, Entity ID and Token and paste them into config.toml. In case there is any trouble with livechat, contact a helpdesk admin.

Development

This section is only relevant if you want to contribute to Pytanis itself. Your help is highly appreciated!

After having cloned this repository:

  1. install hatch globally, e.g. pipx install hatch,
  2. create the default environment with hatch env create (you might have to restart your shell),
  3. [only once] run pre-commit install to install pre-commit,

and then you are already set up to start hacking. Use hatch run to do everything you would normally do in a virtual environment, e.g. hatch run juptyer lab to start JupyterLab in the default environment, hatch run test:cov for unit tests and coverage (like tox) or hatch run docs:servce to build & serve the documentation. Check out the [tool.hatch.envs] sections in pyproject.toml to learn about other commands. If you really must enter a virtual environment, use hatch shell to enter the default environment.

Documentation

The documentation is made with Material for MkDocs and is hosted by GitHub Pages. Your help to extend the documentation, especially in the context of using Pytanis for community conferences like PyConDE, EuroPython, etc. is highly appreciated.

License

Pytanis is distributed under the terms of the MIT license.

Credits

To start this project off a lot of inspiration and code was taken from Alexander Hendorf and Matthias Hofmann.

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

pytanis-0.3.tar.gz (469.8 kB view details)

Uploaded Source

Built Distribution

pytanis-0.3-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file pytanis-0.3.tar.gz.

File metadata

  • Download URL: pytanis-0.3.tar.gz
  • Upload date:
  • Size: 469.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pytanis-0.3.tar.gz
Algorithm Hash digest
SHA256 507397244b1f856df93f85868c6b048dd73167d5c526ef3edc330f9f1df98d06
MD5 592152120a295cded8a293296970fe37
BLAKE2b-256 374e044a417d93a1ae34fced9412f2d8d3f462c18cd0b2e12e1a5df4c8bb0fdb

See more details on using hashes here.

File details

Details for the file pytanis-0.3-py3-none-any.whl.

File metadata

  • Download URL: pytanis-0.3-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pytanis-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae7a55df9186f1ef3e476ba993c0aebd6b4c2f019cc19656cad5b2f3a4c8ef56
MD5 8741c4d14b84a831e7dca5c6275e6a45
BLAKE2b-256 f25bb75f6baba74c8128eff5de4b6d1f56cc77a69038e7c0b6d279180072e908

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