Heurist connector for pyHeimdall
Project description
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
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyheimdall_heurist-1.0.0.tar.gz.
File metadata
- Download URL: pyheimdall_heurist-1.0.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26550cf478392e83e20a0f87c65fc52e566860431281c31271465d62cbc8e982
|
|
| MD5 |
eeb4b1feb9f7fccd87e1143aed3223e4
|
|
| BLAKE2b-256 |
5ec66c168c79160bc48309cd60ac31845eee777fb7cf84772258f1a06d6ac46d
|
File details
Details for the file pyheimdall_heurist-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: pyheimdall_heurist-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46586b01f37aeda9dcfb0f8719018581fc367c45a11be1b337c2065e75ebabee
|
|
| MD5 |
23529ecf1157b9c8eb5808b79f0bd522
|
|
| BLAKE2b-256 |
a4fa359a152124f768124eabbd8e1c77b34ca494af45c84f15fb2088624a97e7
|