Skip to main content

Wrapper around Datahub supporting custom properties for the Find MOJ Data service.

Project description

Datahub client for Find MOJ Data

This library is part of the Ministry of Justice "Find MOJ Data" service.

It pushes metadata to (and retrieves metadata from) a Datahub catalogue.

How to install

To install the package using pip, run:

pip install ministryofjustice-data-platform-catalogue

Getting started

from data_platform_catalogue import (
  DataHubCatalogueClient,
  Table
)

client = DataHubCatalogueClient(jwt_token='datahub-personal-token', api_url='https://your-datahub-instance')

# Search
client.search()

# Ingest a table
client.upsert_table(Table(name="Some table", description="A special table I want to share")

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page