Skip to main content

Convert local GAMS object directories to BagitFiles.

Project description

Gamster

Overview

gamster creates bag directories from GAMS object directories, which can then be ingested into GAMS. The program can also convert bags back into GAMS object directories.

The command for creating Bags is gamster create <PATH>.

The command for "unpacking" Bags into GAMS object directories is: gamster unpack <PATH>

Using unpack, an object directory can be recreated from a bag directory at any time.

Currently, only a command-line interface (CLI) is available. A GUI is planned.

Installation

Without explicit installation

If the user has uv installed, gamster can be run directly without prior installation via uvx gamster (or uv tool install gamster). If needed, a suitable Python installation and virtual environment are created in the background.

Traditional installation

pip install gamster. We strongly recommend using a dedicated virtual environment for this. gamster and gamspreprocessing can be installed in the same virtual environment.

Usage

Create Bags from object directories

gamster create creates Bags.

In the simplest form, this command is sufficient:

gamster create <PATH>
* `PATH` can be a single object directory or a
    directory that contains multiple object directories.

By default, the generated Bags are created in the ./bags directory.

gamster create supports several options that control its behavior. Details are available via gamster create --help or in the Online-Dokumentation

Convert Bags into an object directory

To create an object directory from a Bag, this command is sufficient: gamster unpack <PATH>. PATH is either the path to the bag to unpack or to a directory that contains bags to unpack (these are also searched for in subdirectories). unpack can handle both bag directories and zipped bags. Here is a complete example that converts all bags in the bags directory into object directories and creates them in the objects directory:

gamster unpack -o objects bags

All available options are shown via gamster unpack --help and in the online documentation.

Project details


Download files

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

Source Distribution

gamster-0.6.5.tar.gz (254.7 kB view details)

Uploaded Source

Built Distribution

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

gamster-0.6.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file gamster-0.6.5.tar.gz.

File metadata

  • Download URL: gamster-0.6.5.tar.gz
  • Upload date:
  • Size: 254.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gamster-0.6.5.tar.gz
Algorithm Hash digest
SHA256 1cc5355a9d19134843ce28308f9cefd82876693a5e21804c0f6cd0bfa1302d53
MD5 661db10cd513551a9682118f7c073a63
BLAKE2b-256 9e79f59438b19d469a9b882893cecda17dbc67391b4aaa81c28f77886889b122

See more details on using hashes here.

File details

Details for the file gamster-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: gamster-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gamster-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc8cba358c3e550464d1ffbeab4ddc9690fa95ced2999456178c75a4c8e4b257
MD5 1ceaae39ceaa896a3a65c743a2e37899
BLAKE2b-256 e9ef4884a64c957583e111c48ed6fba6ad4b8d2e66f697baf346dd4320488fc6

See more details on using hashes here.

Supported by

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