Skip to main content

gams-pylican

Lightweight python based gams5 client / api facade - installable via pip, uv etc. Pelicans use their massive pouches to scoop up and transport large catches. Similarly, gams-pylican transports gams5 data for your personal usage.

Installation

# e.g.
pip install gams-pylican

Quickstart

import gams_pylican

# instantiate client
gams_client = gams_pylican.bootstrap_client("https://gams.uni-graz.at")

# use api facade operations (public get)
objects = gams_client.curation.list_objects("memor")

State changing operations

  • e.g. CRUD on digital objects, datastreams, projects or ingest operations.
import gams_pylican

# instantiate client
gams_client = gams_pylican.bootstrap_client("https://gams.uni-graz.at")

# either supply username and password
gams_client.login(username="foo", password="bar")
# or overwrite values from env variables (PYLICAN_USER, PYLICAN_PASSWORD)
gams_client.login() # in this case method can be empty

# perform state changing operations
gams_client.curation.update_project("foo", "bar")
gams_client.curation.ingest("foo")
# ...

# logout as last step
gams_client.logout()

Development

Release

  1. Increment version in pyproject.toml in feature branch (merging into develop):
    • make sure version follow vd.d.d pattern
  2. Merge changes to develop -> main
  3. Create release on the gitlab webclient (from main branch) with new git tag that must be the same as in the pyproject.toml!
    • e.g. v0.1.1
    • create the release from the main branch!
    • gitlab will autodeploy the new version to pypi

Download files

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

Source Distribution

gams_pylican-0.1.0.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

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

gams_pylican-0.1.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file gams_pylican-0.1.0.tar.gz.

File metadata

  • Download URL: gams_pylican-0.1.0.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gams_pylican-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cd18e3fe86d9ddf528f9b5899c47849864e6d24169e2e13e9eba2aad83cf380
MD5 1a668fe76987dfaf1c0afaf1930a2f2c
BLAKE2b-256 2a82188cd6ae5d71fb84e25754a8d0b11165c3c61e0f615b808d96b6bfc20ddd

See more details on using hashes here.

File details

Details for the file gams_pylican-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gams_pylican-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gams_pylican-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6f066f064613df74b1fe9812c9927940fc7f31420756f5657ad18910a1e7e6f
MD5 809c88410014eb1e7c15dc1376b499a7
BLAKE2b-256 fbf2a5afc86dc94ef1b70e53c6dba8b0651fba4082fd1838112b9806e8d97dc5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

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