Skip to main content

A collection of curated climate data sets

Project description

Bookshelf

bookshelf is how Climate Resource reuses datasets across projects

The bookshelf represents a shared collection of curated datasets or Books. Each Book is a preprocessed, versioned dataset including the notebooks used to produce it. As the underlying datasets or processing are updated, new Books can be created (with an updated version). A single dataset may produce multiple Resources if different representations are useful. These Books can be deployed to a shared Bookshelf so that they are accessible by other users.

Users are able to use specific Books within other projects. The dataset and associated metadata is fetched and cached locally. Specific versions of Books can also be pinned for reproducibility purposes.

This repository contains the notebooks that are used to generate the Books as well as a CLI tool for managing these datasets.

This is a prototype and will likely change in future. Other potential ideas:

  • Deployed data are made available via api.climateresource.com.au so that they can be consumed queried smartly
  • Simple web page to allow querying the data

Each Book consists of a datapackage description of the metadata. This datapackage contains the associated Resources and their hashes. Each Resource is fetched when it is first used and then cached for later use

Full documentation can be found at: bookshelf.readthedocs.io. We recommend reading the docs there because the internal documentation links don't render correctly on GitLab's viewer.

Installation

bookshelf can be installed via pip:

pip install bookshelf

For developers

For development, we rely on poetry for all our dependency management. To get started, you will need to make sure that poetry is installed (instructions here, we found that pipx and pip worked better to install on a Mac).

For all of work, we use our Makefile. You can read the instructions out and run the commands by hand if you wish, but we generally discourage this because it can be error prone. In order to create your environment, run make virtual-environment.

If there are any issues, the messages from the Makefile should guide you through. If not, please raise an issue in the issue tracker.

For the rest of our developer docs, please see .

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

bookshelf-0.2.3.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

bookshelf-0.2.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file bookshelf-0.2.3.tar.gz.

File metadata

  • Download URL: bookshelf-0.2.3.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-73-generic

File hashes

Hashes for bookshelf-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7a648c2f6811a0aa953a49587dbfe9076ce77be8de5964dc0605dfbb13763cb2
MD5 b61726d8cca51596b1feb343e61cdf08
BLAKE2b-256 23878ff520ffc24dc7dde61524052aeedb1a91cea05fb0e3f64716d282ce887b

See more details on using hashes here.

Provenance

File details

Details for the file bookshelf-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: bookshelf-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-73-generic

File hashes

Hashes for bookshelf-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56d59dce4a3cd18ea398b57516c0f94c54d90787080d632ac4655ae76801beac
MD5 78927228069061b6741b0f5f6ae96384
BLAKE2b-256 710c752ea0306ad86c385102fe1736925e33c7a650ea9d988f0e208bf16afcac

See more details on using hashes here.

Provenance

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