Skip to main content

MEx artificial

Create artificial data for the MEx project.

cookiecutter cve-scan documentation linting opencode testing

Project

The Metadata Exchange (MEx) project is committed to improve the retrieval of RKI research data and projects. How? By focusing on metadata: instead of providing the actual research data directly, the MEx metadata catalog captures descriptive information about research data and activities. On this basis, we want to make the data FAIR1 so that it can be shared with others.

Via MEx, metadata will be made findable, accessible and shareable, as well as available for further research. The goal is to get an overview of what research data is available, understand its context, and know what needs to be considered for subsequent use.

RKI cooperated with D4L data4life gGmbH for a pilot phase where the vision of a FAIR metadata catalog was explored and concepts and prototypes were developed. The partnership has ended with the successful conclusion of the pilot phase.

After an internal launch, the metadata will also be made publicly available and thus be available to external researchers as well as the interested (professional) public to find research data from the RKI.

For further details, please consult our project page.

Contact
For more information, please feel free to email us at mex@rki.de.

Publisher

Robert Koch-Institut
Nordufer 20
13353 Berlin
Germany

Package

Create artificial extracted items, transform them into merged items and write the results into a configured sink.

License

This package is licensed under the MIT license. All other software components of the MEx project are open-sourced under the same license as well.

Development

Installation

  • install python on your system
  • on unix, run make install
  • on windows, run .\mex.bat install

Linting and testing

  • run all linters with make lint or .\mex.bat lint
  • run unit and integration tests with make test or .\mex.bat test
  • run just the unit tests with make unit or .\mex.bat unit

Updating dependencies

  • update boilerplate files with cruft update
  • update global requirements in requirements.txt manually
  • update git hooks with pre-commit autoupdate
  • update package dependencies using uv sync --upgrade
  • update github actions in .github/workflows/*.yml manually

Creating release

  • run mex release RULE to release a new version where RULE determines which part of the version to update and is one of major, minor, patch.

Container workflow

  • build image with make image
  • run directly using docker make run
  • start with docker compose make start

Container verification

Images released to GHCR are signed using cosign.

To verify an image manually: cosign verify --certificate-identity-regexp "https://github.com/robert-koch-institut/mex-artificial/.github/workflows/release.yml@refs/heads/main" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" ghcr.io/robert-koch-institut/mex-artificial:<tag>

Python release verification

Python release artifacts (source distributions and wheels) published to GitHub Releases are signed keyless using sigstore.

To verify a release artifact manually, download the artifact (e.g. mex_artificial-<tag>-py3-none-any.whl) and its Sigstore bundle (mex_artificial-<tag>-py3-none-any.whl.sigstore.json), then run either:

Using sigstore:

sigstore verify identity \
  --bundle <path-to-bundle> \
  --cert-identity "https://github.com/robert-koch-institut/mex-artificial/.github/workflows/release.yml@refs/heads/main" \
  --cert-oidc-issuer "https://token.actions.githubusercontent.com" \
  <path-to-artifact>

Using cosign:

cosign verify-blob \
  --bundle <path-to-bundle> \
  --certificate-identity "https://github.com/robert-koch-institut/mex-artificial/.github/workflows/release.yml@refs/heads/main" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  <path-to-artifact>

Pre-built workflow

  • you can run the latest artificial data generator without building it locally
  • just pull it from the container registry and configure using cli arguments
  • docker run -it -u $(id -u):$(id -g) -v $(pwd):/out ghcr.io/robert-koch-institut/mex-artificial:latest --count=1000 --chattiness=10
  • using -u $(id -u):$(id -g) to run the process using your local user
  • using -v $(pwd):/out to specify an output directory for the resulting ndjson
  • --count controls the number of items to generate
  • --chattiness controls the number of words in textual fields

Commands

  • run uv run artificial --help to print instructions
  1. FAIR is referencing the so-called FAIR data principles – guidelines to make data Findable, Accessible, Interoperable and Reusable. ↩

Metadata

Release files for mex-artificial 3.2.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 mex-artificial 3.2.0
File Size Uploaded Provenance Actions
mex_artificial-3.2.0.tar.gz 12.6 kB With provenance Details for mex_artificial-3.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mex-artificial 3.2.0
File Interpreter ABI Platform Actions
mex_artificial-3.2.0-py3-none-any.whl Python 3 none any Details for mex_artificial-3.2.0-py3-none-any.whl

Total release size: 26.0 kB

Release files / mex_artificial-3.2.0.tar.gz

Download URL mex_artificial-3.2.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
758be5c5198ec3c43a7d4173fc01b7da41b571c549c753372d2d51b85bbe8b6a
BLAKE2b-256 checksum
How to use checksums
d1688223ff87509836c4d1c4882becc47a7ea69807334371834f4cfd80ad7691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / mex_artificial-3.2.0-py3-none-any.whl

Download URL mex_artificial-3.2.0-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f802ef5220a9dafc07f647f938a21f4ad819bdb344ba06b40d677f067fc6c352
BLAKE2b-256 checksum
How to use checksums
03e92487b6151ab2161f9c965ad43f155e1f4f297009bb017faa05a532203fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for mex-artificial 3.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mex_artificial-3.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

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.

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