Skip to main content

Grid Data Model's System Loader

A lightweight package to load Grid Data Model's systems from a remote location.

Installation

pip install gdmloader

Usage

Construct a loader and add a source.

from gdmloader.source import SystemLoader
from from gdmloader.constants import GCS_CASE_SOURCE

loader = SystemLoader()
loader.add_source(GCS_CASE_SOURCE)

Show sources.

loader.show_sources()

Show the dataset by sources.

loader.show_dataset_by_source(GCS_CASE_SOURCE.name)

Load the dataset.

from gdm import DistributionSystem
loader.load_dataset(
    system_type=DistributionSystem,
    source_name=GCS_CASE_SOURCE.name,
    dataset_name="testcasev1"
)

If you want to force download a specific version, then you can do this.

from gdm import DistributionSystem
loader.load_dataset(
    system_type=DistributionSystem,
    source_name=GCS_CASE_SOURCE.name,
    dataset_name="testcasev1",
    version="2_0_0"
)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdmloader-0.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdmloader-0.0.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file gdmloader-0.0.4.tar.gz.

File metadata

  • Download URL: gdmloader-0.0.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gdmloader-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c7646d7545df517fba89a7d3914eb8f04d3bc9d5e2c615a8a4acdde6061794f8
MD5 1f1a2c3435ce2fd210df7305a3dacce1
BLAKE2b-256 ffd3c2451930ba70b5e85d5ece69f608693305c828eedcd10d00caf22da2dbbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdmloader-0.0.4.tar.gz:

Publisher: publish.yml on NREL-Distribution-Suites/gdmloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gdmloader-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gdmloader-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gdmloader-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1e34256a16c5f0c5fb530e7a85103d7a03b476209aa439023f6873b0286f1477
MD5 f2a0fdecf9018ecc9bddfcec559eee2e
BLAKE2b-256 96cedf4397f6913952b0a7f0b54dd3a9a23ed967c4394530bb75423228ec2226

See more details on using hashes here.

Provenance

The following attestation bundles were made for gdmloader-0.0.4-py3-none-any.whl:

Publisher: publish.yml on NREL-Distribution-Suites/gdmloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page