Replace / update / redeploy KoBo forms
Project description
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'
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
dynamic-kobo-0.0.4.tar.gz
(18.9 kB
view details)
File details
Details for the file dynamic-kobo-0.0.4.tar.gz
.
File metadata
- Download URL: dynamic-kobo-0.0.4.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053d684bf3047baa2ebd5cee2d94e3dd0181e83a777797ea11dd4124ecf605a5 |
|
MD5 | ea4b062f9fb4e8db43ae727c3290fc2e |
|
BLAKE2b-256 | 6ffd2a31f9b2390f77afdb5ee84e863e351d7b12939c3eb005ac67f6b000dcbd |