Installation¶
Requirements¶
- Python 3.10 or newer.
- The runtime dependencies are installed automatically:
fire,lxml,markdown-it-py,pydantic,pyyamlandrich.
lxml ships binary wheels for the common platforms. If your platform has no wheel, pip compiles it and needs the libxml2 and libxslt development headers.
Install from PyPI¶
The PyPI package name is vexy-markliff; the import name is vexy_markliff.
To run the CLI once without installing it into an environment:
Install from source¶
-
Clone the repository:
-
Install the package in editable mode with the test extras:
The version number comes from the latest Git tag through hatch-vcs. A commit after the v1.3.1 tag builds as a development version such as 1.3.2.dev0+g1831c684d; a tagged commit builds as the plain tag version.
Check the installation¶
-
Print the package version:
If the version file has not been generated (for example, when you run from a source tree that was never built or installed), this prints
unknown. -
List the CLI commands:
Fire prints the command group with
md2xliff,html2xliff,xliff2mdandxliff2html.