dynamic-kobo
Replace / update and redeploy KoBo forms.
Developed by Karla Peña Ramírez, packaged by Jacopo Margutti.
Requirements
Set up
- Download and install Firefox
- Download the geckodriver binary for your platform (here)
- Install dynamic-kobo from PyPI
pip install dynamic-kobo
Usage
Usage: replace-redeploy [OPTIONS]
replace KoBo form with a new one and redeploy
Options:
--config path to configuration file (.env)
--headless run headless (no GUI)
--koboserver TEXT URL of KoBo server
--username TEXT username
--password TEXT password
--formid TEXT form (asset) ID
--newform TEXT absolute path to new form (.xlsx)
--geckodriver TEXT absolute path to geckodriver binary
--help show this message and exit
N.B. all options can be stored in a .env file, the script will load them automatically as environment variables. Example:
GECKODRIVER=C:\geckodriver\geckodriver.exe
KOBO_SERVER=https://kobo.humanitarianresponse.info/
USERNAME=...
PASSWORD=...
FORM_ID=ai3sdfC1GnERTW72rwwSFq
NEW_FORM='C:\forms\new-form.xlsx'
Release files for dynamic-kobo 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dynamic-kobo-0.0.4.tar.gz | 18.9 kB | Details |
Release files / dynamic-kobo-0.0.4.tar.gz
| Download URL | dynamic-kobo-0.0.4.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
053d684bf3047baa2ebd5cee2d94e3dd0181e83a777797ea11dd4124ecf605a5
|
|
BLAKE2b-256 checksum How to use checksums |
6ffd2a31f9b2390f77afdb5ee84e863e351d7b12939c3eb005ac67f6b000dcbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.8
|