Skip to main content

Heimdall - Grist connector

https://img.shields.io/badge/license-AGPL3.0-informational?logo=gnu&color=success https://www.repostatus.org/badges/latest/wip.svg https://img.shields.io/badge/documentation-api-green https://gitlab.huma-num.fr/datasphere/heimdall/connectors/grist/python/badges/main/pipeline.svg https://gitlab.huma-num.fr/datasphere/heimdall/connectors/grist/python/badges/main/coverage.svg

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 any Grist server, eg. grist.numerique.gouv.fr.

Why should I use it?

You can use this connector, along with the pyheimdall software, to retrieve any data from any Grist server. You can then aggregate this data into your research corpus easily, for example using other Heimdall connectors.

Take note, however that some legal restrictions might apply to data retrieved from Grist.
Plus, if at the end of your project, you share your data, please cite the original data properly (and reuploading it elsewhere is probably a bad idea, too).

How can I use it?

Setup

This Grist pyHeimdall connector is available as a PyPI package named pyheimdall-grist. You can install it using the pip package manager:

pip install pyheimdall-grist

You can use pip to either upgrade or uninstall this connector, too:

pip install --upgrade pyheimdall-grist
pip uninstall pyheimdall-grist

Usage

import heimdall

tree = heimdall.getDatabase(format='grist:api')
heimdall.createDatabase(tree, format='grist:api', url=...)

Please note that you don’t need to use pyheimdall-grist 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 documented?

Sure! Here’s the link.

Is it tested?

Of course! Here’s the coverage report.

How can I contribute?

PyHeimdall welcomes any feedback or proposal. Details can be accessed here

License

GNU Affero General Public License version 3.0 or later

Release files for pyheimdall-grist 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyheimdall-grist 0.3.0
File Size Uploaded
pyheimdall_grist-0.3.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyheimdall-grist 0.3.0
File Interpreter ABI Platform
pyheimdall_grist-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 35.2 kB

Release files / pyheimdall_grist-0.3.0.tar.gz

Download URL pyheimdall_grist-0.3.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b08dc70f5c8c03bc4b02d8be1a1fc85d01a19236512bd51bad51c1a82a519ce1
BLAKE2b-256 checksum
How to use checksums
1220725c45b4a1719146e3e0cd927fbafcb58732160e0a285687ea7ced5163d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / pyheimdall_grist-0.3.0-py2.py3-none-any.whl

Download URL pyheimdall_grist-0.3.0-py2.py3-none-any.whl
Size 18.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0636ded30713272243f199ae92975a64918f333a312b64b72cafb1454a1e1087
BLAKE2b-256 checksum
How to use checksums
374a0025e2fa60bc92d9fd7bdfbac0548e527bae29f16b586d69ee6018f23612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page