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.2.0.tar.gz (37.6 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.2.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gams_pylican-0.2.0.tar.gz
  • Upload date:
  • Size: 37.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f09c05dad4875057322f9d331e6f6e27eef1dd7ea80ade0af6bd90c9ab72d233
MD5 dcbfe3a4c0ce33f4fa4053f113f71471
BLAKE2b-256 84294cf02924868082d99d359b30d5ed5c134bdd051501f958debe2b88331262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gams_pylican-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f466fa4ae18d14057c117ea2e9948273826f426e0b9060aa553cabcf73749a3e
MD5 fcb4d744ab3d2c0c43447e5b180b49ae
BLAKE2b-256 544595a1741bbc423a828024d75bc18da17153f2b2ff758e55efd5ee3117ff57

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

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