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

GH9 - Refactor and Publish #19

Closed IanHopkinson closed 5 months ago

IanHopkinson commented 5 months ago

Purpose

Version for this PR: 2024.3.3

This PR does a refactoring which moves code from cli.py to hdx_utilities.py. It also publishes the package to PyPI which finalises the documentation issue

1 #9 #16

Major file changes

Functions moved from cli.py to hdx_utilities.py

Minor file changes

Added a publish.yaml workflow. pyproject.toml updated to work and README.md modified.

Versioning

hdx-cli-toolkit uses the CalVer versioning scheme with format YYYY.MM.Micro i.e. 2022.12.1 which is updated manually in pyproject.toml. The "Micro" component is simply an integer increased by 1 at each version, starting from 0.