Parse PLS-CADD XML files to dictionaries and data frames.
Project description
PLSXML
About
This package provides a class for parsing PLS-CADD XML files to pandas
data frames for manipulation with Python.
Installation
The package may be installed via pip
by running the below command:
pip install plsxml
Usage
Once installed, data may be loaded from XML files or ZIP files containing XML
simply by passing the XML and/or ZIP paths to the PLSXML
class.
from plsxml import PLSXML
paths = ['folder1/xml_file.xml', 'folder2/zip_file.zip']
plsxml = PLSXML(paths)
The data will be loaded into various pandas.DataFrame
based on the XML file
table names and assigned to the class. For more detailed information, see the
example notebook.
PLS-CADD XML Files
Most reports in the PLS-CADD suite can be exported to XML by right-clicking and selecting the export to XML option. It is also possible to export an XML file containing data for an entire line through the File menu. XML files for an entire line can be large (several GB); therefore, archiving the resulting XML to ZIP can greatly aid in transferring the file across systems and save disk space if the file is more permanently retained. The PLSXML package is also able to read data directly from ZIP files for this reason.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plsxml-1.2.0.tar.gz
.
File metadata
- Download URL: plsxml-1.2.0.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517feb3dc6bc74c94b563f45dc60877f3b0fa0d9b34bc53857b8be7347ae0735 |
|
MD5 | fae8576c810915c1992bbe58d5e6c822 |
|
BLAKE2b-256 | 7d4b3fdcb25f6c66a37c14c45c5be8871eb3e7eb1c7203bec954b44b4d401a4d |
File details
Details for the file plsxml-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: plsxml-1.2.0-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75197ace74429c06751415c4dd72ffd3304395e14a9fc570cae9466cb0845216 |
|
MD5 | a17ff1efac71f52178ca0628928c49bb |
|
BLAKE2b-256 | 49980e0e02453934400bfcb718537a479f426cc77b59a8e14bf5ddc212aaa988 |