pyeilcd User Guide
Note: This package supports Python versions 3.8 to 3.12 only.
1. Introduction
pyeilcd is a Python package that provides a simple interface to validate extended-ILCD (eILCD) XML files against the ILCD schemas. It is built on top of the pyilcd library.
2. pyeilcd Usage
(1) Installation Instructions
You can install pyeilcd via pip from PyPI:
$ pip install pyeilcd
(2) Functionalities
pyeilcd offers the following key functionalities:
-
Performs schema validation on eILCD XML files.
-
Supports multiple ILCD standard-compliant dataset types (e.g., ContactDataset, ProcessDataset, etc.).
-
Leverages core validation capabilities from pyilcd.
(3) Usage Examples
from pyeilcd import validate_file_contact_dataset, Defaults
# Override defaults if needed, else skip. Defaults are already set.
Defaults.config_defaults("config.ini") # Replace with your own config file
# Validate the ContactDataset class against the ContactDataset schema.
validate_file_contact_dataset("data/invalid/sample_contact_invalid.xml") # Replace with your own XML file
>> data/contact/sample_contact_invalid.xml:17:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element '{http://lca.jrc.it/ILCD/Common}class', attribute 'level': 'a' is not a valid value of the atomic type '{http://lca.jrc.it/ILCD/Common}LevelType'. data/contact/sample_contact_invalid.xml:17:0:ERROR:SCHEMASV:SCHEMAV_CVC_IDC: Element '{http://lca.jrc.it/ILCD/Common}class', attribute 'level': Warning: No precomputed value available, the value was either invalid or something strange happened.
3. Automatic Building and Publishing (CI/CD)
This project supports automatic building and publishing. When you push a git tag named with the v format to the repository, it will trigger the workflow automatically. For example:
#list existing tags
git tag
#creat a new tag
git tag v7.0.12
#push this tag to origin
git push origin v7.0.12
4. License
Distributed under the terms of the GPL 3.0 license, pyeilcd is free and open source software.
Metadata
Release files for pyeilcd 7.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyeilcd-7.0.14.tar.gz | 99.8 kB | Without provenance | Details for pyeilcd-7.0.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyeilcd-7.0.14-py3-none-any.whl | Python 3 | none | any | Details for pyeilcd-7.0.14-py3-none-any.whl |
Total release size: 206.9 kB
Release files / pyeilcd-7.0.14.tar.gz
| Download URL | pyeilcd-7.0.14.tar.gz |
|---|---|
| Size | 99.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05b8e0c24952fd47202cc071b51ecc533c31aef5c9c7a6519fd44a3fd608abf3
|
|
BLAKE2b-256 checksum How to use checksums |
4c4234311a69128d293ce64f9e88559bbb9b27f40776b1326b78b5fe22ad92fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / pyeilcd-7.0.14-py3-none-any.whl
| Download URL | pyeilcd-7.0.14-py3-none-any.whl |
|---|---|
| Size | 107.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
292d6d31ff0522c328664e1bb0f0423872ef01a4be67f10ead8c87c27fbb857a
|
|
BLAKE2b-256 checksum How to use checksums |
d8786f91d9a90b8ea59d295eee49e110ee2524ed52e5e8958c5f60d13e3a094e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for pyeilcd 7.0.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.