pip install ldfgit clone <repository-url>
cd lineage-data-format
pip install .# Create virtual environment
python3 -m venv venv
# Activate virtual environment
# On macOS/Linux:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
# Install in editable mode with dev dependencies
pip install -e ".[dev]"pytestpython examples/basic_usage.pyAfter installation, the ldf command will be available:
# Convert JSON to lineage format
ldf json-to-lineage input.json output.ldf
# Convert lineage format to JSON
ldf lineage-to-json input.ldf output.jsonIf you see this error on macOS/Linux, you need to use a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install ldfMake sure the package is installed:
pip list | grep ldfIf not installed, run:
pip install -e .