Heimdall - Heurist XML connector
What is this?
Heimdall is a tool for converting more easily one or more databases from one format to another. It leverages modules called “connectors”, responsible for conversion of data between specific databases schemas and the HERA format.
This repository contains a connector to Heurist’s own XML export format (HML).
Why should I use it?
You can use this connector, along with the pyheimdall software, to retrieve any data exported from Heurist. You can then aggregate this data into your research corpus easily, for example using other Heimdall connectors.
How can I use it?
Setup
This pyHeimdall connector is available as a PyPI package named pyheimdall-heurist. You can install it using the pip package manager:
pip install pyheimdall-heurist
You can use pip to either upgrade or uninstall this connector, too:
pip install --upgrade pyheimdall-heurist
pip uninstall pyheimdall-heurist
Usage
import heimdall
tree = heimdall.getDatabase(format='heurist:xml', url='Export_db_AAAAMMDDHHMMSS.xml')
heimdall.createDatabase(tree, format='csv', url='.')
Please note that you shouldn’t use pyheimdall-heurist functions directly. As long as the package is installed on your system, pyHeimdall will automatically discover its features and allow you to use them as long as any other default or external connector.
Is it tested?
Well, yes … and no.
First, those assumptions can be wrong, or incomplete. Still at the time of writing, the Heurist core development team seems unable to document its own output, so … well.
Second, even if everybody seems fine today, the Heurist core development team is known to force unto its userbase new (sometimes breaking) updates without any prior notice, documentation or regression testing. Of course, this means that the /test/resources/heurist.xml file may become outdated with time, and this connector won’t automagically warn you of any problem.
How can I contribute?
PyHeimdall welcomes any feedback or proposal. Details can be accessed here
License
Metadata
Release files for pyheimdall-heurist 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyheimdall_heurist-1.2.0.tar.gz | 19.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyheimdall_heurist-1.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 40.8 kB
Release files / pyheimdall_heurist-1.2.0.tar.gz
| Download URL | pyheimdall_heurist-1.2.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c75ffe8e3f26129db4cbaa6d5d5d797788b4e51c293bb1bf847b13a1c53ae3d
|
|
BLAKE2b-256 checksum How to use checksums |
373976197d104d671bca3aafb5e5880998542f8c53654ec4be2cb93555e0a090
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / pyheimdall_heurist-1.2.0-py2.py3-none-any.whl
| Download URL | pyheimdall_heurist-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
550959406040efe9227def7dc925bc62d2fb8aa74dab60b514cc206782283d09
|
|
BLAKE2b-256 checksum How to use checksums |
6b23e54d47f1de748a64e5bf6a307a2fe3a42277bde99dd754d6b6a26daea160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|