Skip to main content

dynamic-kobo

PyPI Latest Release

Replace / update and redeploy KoBo forms.

Developed by Karla Peña Ramírez, packaged by Jacopo Margutti.

Requirements

  1. Python >= 3.7
  2. Firefox
  3. Geckodriver

Set up

  1. Download and install Firefox
  2. Download the geckodriver binary for your platform (here)
  3. 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)

Source distribution for dynamic-kobo 0.0.4
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

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page