Skip to main content

Utilities for the program organization of conferences using Pretalx

Project description

Pytanis

Pytanis logo

Pytanis provides useful tools 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.

This is a pre-alpha version! Don't use it!

Getting started

To install Pytanis simple run:

pip install pytanis

and then create a file ~/.pytanis/config.toml with the 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 token

  • 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.
  • Pretalx: The API token for the Pretalx API can be found in your user settings.
  • HelpDesk: Use the same (shared) email you use to log into helpdesk/livechat to create the token following this video. In case there is any trouble with livechat, contact a helpdesk admin.

Features

  • (planned) creating the assignment of proposals to reviewers based on their preferences
  • (planned) sending e-mails to reviewers
  • (planned) supporting the selection process of proposals
  • (planned) supporting the creation of the final program schedule based on the accepted talks

Development

After having cloned this repository:

  1. install hatch globally, e.g. pipx install hatch,
  2. create the default environment with hatch env create,
  3. activate the default environment with hatch shell,
  4. [only once] run pre-commit install to install pre-commit,

and then you are already set up to start hacking. Use hatch run test:cov or hatch run test:no-cov to run the unitest with or without coverage reports, respectively.

Documentation

The documentation is made with Material for MkDocs and is hosted by GitHub Pages.

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.0.2.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

pytanis-0.0.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytanis-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0d8ad499cc81e6d5f5232069bc853951f18dc9e01913e09cb9768e98359ee8fd
MD5 c4c5751b977dd2cc449e69ac2c9178e9
BLAKE2b-256 9896b7e23f29c75b09378bc9d1c543cbc0b1173f69f1600d4fb081e0b503a344

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytanis-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f090d5307ef9ccd9cd5cdefc5de1436f0403dc8275010c17e165974c99dc5594
MD5 fc54b1937533aaec8029de8b093f88c0
BLAKE2b-256 c8b5241991dd5da1b86b4976662d28074df3c80c9372d1339517a4ef31bf0be5

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