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

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.3.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

bookshelf-0.3.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bookshelf-0.3.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/5.4.109+

File hashes

Hashes for bookshelf-0.3.0.tar.gz
Algorithm Hash digest
SHA256 431d7dfbc905284eaa5ecdc1961539bb92602526507180f8db145d471746115b
MD5 aeee68b385e994eacdeaf3743fadce7c
BLAKE2b-256 01b947e02eee9432dee5b6b80316d09008b45b6db11c8c2086fb7bbd8cf4a91e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bookshelf-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/5.4.109+

File hashes

Hashes for bookshelf-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b546c66d7b058087d455653b072bbd2dc27c8ee255813b39f18bcd296d42e35c
MD5 984f0a977f5caed93a4a59498551cc2f
BLAKE2b-256 82b12054c59ae3a39625faf3f5018d961c1ef22e51a763f8c89c4ab2d47e38ea

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