Skip to content

A Python package for Data Interchange for Geotechnical and Geoenvironmental Specialists (DIGGS).

License

Notifications You must be signed in to change notification settings

xinp-hub/pydiggs

Repository files navigation

pyDIGGS

PyPI version Python Versions Downloads Downloads/Month Build Status Documentation Status Updates

A Python package for Data Interchange for Geotechnical and Geoenvironmental Specialists (DIGGS).

Features

  • Validate DIGGS instance files against DIGGS XSD, Schematron schemas, and XML Dictionaries.

Quick Start

Install pydiggs:

pip install pydiggs

Basic usage:

from pydiggs import validator

# Create a validator instance
v = validator.Validator()

# Validate a DIGGS XML file
v.validate_schema("path/to/your/diggs_file.xml")

For more information, please see the documentation.