EticaAI / HXL-Data-Science-file-formats

Common file formats used for Data Science and language localization exported from (and to) HXL (The Humanitarian Exchange Language)
https://hdp.etica.ai/
The Unlicense
3 stars 1 forks source link

Minimal documentation about how to use the command line tools #1

Closed fititnt closed 3 years ago

fititnt commented 3 years ago

TL;DR: This issue is about how to install the bin/ scripts.

How to install now

Installation via pip

At this moment, there is no way to install these scripts via pip.

Maybe this will not be implemented at all, in special if the dependencies between different exporters get too complicated to keep it from breaking a system.

How to create new exporters

Even if this set of tools get complicated over time, at least the bin/hxl2example may be kept as minimum viable product to create some exporter that actually could be shared with others.

Also, without refactoring, other scripts like hxl2tab may still this way for long time. This may be useful, even if for testing, because some exporters may have to implement opinionated HXL attributes, and on worst case scenario if some the conversion table is not external (like remote spreadsheet or local HXLated csv) this can work for ad hoc changes.

fititnt commented 3 years ago

One way to install is using the Python pypi package HDP Toolchain at https://pypi.org/project/hdp-toolchain/.

Some scripts still have possibility to simply copy and paste the file to some some place on searchable path. Also each script already have extra inline documentation.