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
Metadata
Release files for gams-pylican 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gams_pylican-0.3.0.tar.gz | 38.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gams_pylican-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.9 kB
Release files / gams_pylican-0.3.0.tar.gz
| Download URL | gams_pylican-0.3.0.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
391887f9ca2241ce0a673e6ed842987a240e22e54ce785b56170d7e7fc37e086
|
|
BLAKE2b-256 checksum How to use checksums |
2435442974ab60f94cb28be2ae935f7a8ee5bd4b46b781ef5138e562d3c0e41d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / gams_pylican-0.3.0-py3-none-any.whl
| Download URL | gams_pylican-0.3.0-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6d3bf338c70cc1e88bd44f53bd319c5fe24152c6c7a50b59c70e3803998e836
|
|
BLAKE2b-256 checksum How to use checksums |
3cde140153eef3b8d0b27633e1f2fb23dbf515ef7decda8d03511113f0668ae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|