A CCC Fahrplan CLI
Project description
pyfahrplan
CLI application for CCC several fahrplan files (schedule.json), currently based on:
- https://raw.githubusercontent.com/voc/{32-36}C3_schedule/master/everything.schedule.json
- https://data.c3voc.de/rC3/everything.schedule.json
- https://data.c3voc.de/rC3_21/everything.schedule.json
Usage
Usage: pyfahrplan [OPTIONS]
Options:
-c, --conference TEXT CCC acronym (32c3 to 36c3 plus rc3 and
rc3-2021) that you want to filter on, 'all'
for all conferences
-d, --day INTEGER Day you want to filter [1-4] or 0 for all
days.
-r, --room TEXT Name of the room you want to filter [room
names] or 'all' for all rooms
-s, --speaker TEXT Name of a speaker you want to search.
-st, --start [%H:%M] Start time of the talk(s) you want to
search.
-t, --title TEXT A part of the title of the talk(s) you want
to search.
-tr, --track TEXT A part of the track description you want to
search.
--reverse Reverse results
--show-abstract Shows abstracts, default False
--show-description Shows descriptions, default False
--sort [day|speakers|title|track|room|talk_start]
Sort by
day|speakers|title|track|room|talk_start
--update-cache Delete the cache file and redownload all
fahrplans
--no-past Filter out talks that lay in the past
--help Show this message and exit.
Development
Clone this repository, then create a virtualenv, e.g., inside the repository:
python3 -m venv .venv
pip install poetry # if you don't have it globally installed
poetry install # install all dependencies, including dev dependencies
poe test # to run the tests
pytest --cov=pyfahrplan tests/ && coverage html # to create a coverage report
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfahrplan-1.1.0.tar.gz
(6.5 MB
view details)
Built Distribution
File details
Details for the file pyfahrplan-1.1.0.tar.gz
.
File metadata
- Download URL: pyfahrplan-1.1.0.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7848f790550bd1b0969c3ce16e24c47aef71464831830a165d2ba152bb32ae |
|
MD5 | 374d2286531e138bb51edea6a180705f |
|
BLAKE2b-256 | c183fb9997a2fd25a6cc43256f041a8ab8da79bb0d42a1a2a28490c20705233f |
File details
Details for the file pyfahrplan-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyfahrplan-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9234e7973bbadf4e062a1e7fd13f43e13cb5a8724f078610316aca6247c72907 |
|
MD5 | cbc1dcfa8ed48afe7dad9a867b71da37 |
|
BLAKE2b-256 | fa06cb79f6557957e7a0935c1c1f11b6121037ca37b98ff3eaf14d4665b273c1 |