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

File details

Details for the file ministryofjustice_data_platform_catalogue-1.0.1.tar.gz.

File metadata

File hashes

Hashes for ministryofjustice_data_platform_catalogue-1.0.1.tar.gz
Algorithm Hash digest
SHA256 780575f405e199523295f491b9ce48d71990cd6a2ce4ac064f8e47d782b7ef3b
MD5 2539a1c151efd1c6f64e3879f9ae7409
BLAKE2b-256 ec6ed26ce73a86ce4f77bac2d44eb3217645fcfc748fe8c345fd8f8b5dc6dae3

See more details on using hashes here.

File details

Details for the file ministryofjustice_data_platform_catalogue-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ministryofjustice_data_platform_catalogue-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0838875be6d501f4211633379a4eead1e600aab7410c573cec14796bedc4444b
MD5 4332d8f1806a9a3151f2ad497616ca81
BLAKE2b-256 3ee8117c76591845f70d2b72e2fbcc414f50877cc04f5ee9628abe60f98acca2

See more details on using hashes here.

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