OCHA-DAP / hdx-cli-toolkit

A commandline tool for interacting with HDX with a view to doing bulk updates
MIT License
1 stars 0 forks source link

Installation for Python and non-Python users #1

Closed IanHopkinson closed 7 months ago

IanHopkinson commented 9 months ago

Currently the toolkit will show configuration but not update configuration for a new user. The user_agent could be hardcoded perhaps by adding initials from the username - although picking up a username in a platform independent way is not easy and there may be a question regarding personal information. The hdx secrets need to be provided for update operations and potentially list operations because they will show private datasets.

There may also be a requirement for installation for those not familiar with Python or git.

Installation using pipx may be relevant, this provides a self-contained global installation which is straightforward for Python users and may be suitable for non-python users: https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/

PyInstaller is a possibility but it requires a native machine to produce installers (i.e. MacOS is required to produce a MacOS installer): https://pyinstaller.org/en/stable/

IanHopkinson commented 7 months ago

Fixed in #19