Tools for interacting with talks@bham
(and presumably also talks@cam
and other derivatives)
This project uses Poetry to manage dependencies. Poetry uses virtual environments (virtualenvs) to isolate dependencies for different projects. To create a virtualenv for this project and install the dependencies, run the following:
poetry install
To run scripts with the right dependenices, run them in the root directory prefixed with poetry run
.
For some operations you will need to provide credentials.
By default, the scripts will look for a credentials.json
file where the script is run, but this can be overriden by setting the TALKSTOOLS_CREDENTIALS
environment variable.
{
"talks": {
"user": "george@georgejkaye.com",
"password": "qwertyuiop"
}
}
poetry run python src/talktools/talks/populate.py -l 1234 -d 1970-01-01 -t 11:00 11:50
poetry run python src/talktools/talks/populate.py -l 1234 -r 1970-01-01 1970-02-01 -t 11:00 11:50