Python based gams5 client / api facade - installabe via pip, uv etc. Pelicans use their massive pouches to scoop up and transport large catches. Similarily gams-pylican transports gams5 data for your personal usage.
Project description
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
- Increment version in pyproject.toml in feature branch (merging into develop):
- make sure version follow vd.d.d pattern
- Merge changes to develop -> main
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gams_pylican-0.0.1.tar.gz.
File metadata
- Download URL: gams_pylican-0.0.1.tar.gz
- Upload date:
- Size: 32.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ab1505e0a139fd0601755bfaccb33ac551c9c8c216070bad05d66419b694814
|
|
| MD5 |
500efca39ecded493cb3c5ed6b818036
|
|
| BLAKE2b-256 |
470ff4e49ed0e51802dd15689000a4c64bfd931e7dc098ad924ab839d91d80f0
|
File details
Details for the file gams_pylican-0.0.1-py3-none-any.whl.
File metadata
- Download URL: gams_pylican-0.0.1-py3-none-any.whl
- Upload date:
- Size: 19.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
490781fd4eedffcf8e88cc4d000aa49f336f4a44290d6800d91b9c0de1a6b242
|
|
| MD5 |
cc8520b06da8d6f3a6a9dc2a6726a381
|
|
| BLAKE2b-256 |
d5c294188a9b9d1ce0e41fadcb24adb06af70cf780bd034603f8f1eebc98e00c
|