gamsapi: powerful Python toolkit to manage GAMS (i.e., sparse) data and control GAMS solves
What is it?
gamsapi is a Python package that includes submodules to control GAMS, manipulate and transfer data to/from the GAMS modeling system (through GDX files or in-memory objects). This functionality is available from a variety of different Python interfaces including standard Python scripts and Jupyter Notebooks. We strive to make it as simple as possible for users to generate, debug, customize, and ultimately use data to solve optimization problems -- all while maintaining high performance.
Main Features
Here are just a few of the things that gamsapi does well:
- Seamlessly integrates GAMS data requirements into standard data pipelines (i.e., Pandas, Numpy)
- Link and harmonize data sets across different symbols
- Clean/debug data before it enters the modeling environment
- Customize the look and feel of the data (i.e., labeling conventions)
- Bring data to GAMS from a variety of different starting points
- Send model output to a variety of different data endpoints (SQL, CSV, Excel, etc.)
- Automatic data reshaping and standardization -- will work to translate your data formats into the Pandas DataFrame standard
- Control GAMS model solves and model specification
Where to get it
The source code is currently available with any typical GAMS system. No license is needed in order to use gamsapi. A license is necessary in order to solve GAMS models.
GAMS has a robust Academic Program that includes a full-featured GAMSPy License (w/ commercial solvers -- no model size limitations)!
Dependencies
Installing gamsapi will not install any third-party dependencies, as such, it only contains basic functionality. Users should modify this base installation by choosing extras to install -- extras are described in the documentation.
# from PyPI (with extra "transfer")
pip install gamsapi[transfer]
# from PyPI (with extras "transfer" and "magic")
pip install gamsapi[transfer,magic]
# from PyPI (include all dependencies)
pip install gamsapi[all]
Documentation
The official documentation is hosted on gams.com.
Getting Help
For usage questions, the best place to go to is GAMS. General questions and discussions can also take place on the GAMS World Forum.
Discussion and Development
If you have a design request or concern, please write to support@gams.com.
Metadata
Release files for gamsapi 54.4.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 | |
|---|---|---|---|
| gamsapi-54.4.0.tar.gz | 956.5 kB | Details |
Built distributions (wheels)
Total release size: 33.9 MB
Release files / gamsapi-54.4.0.tar.gz
| Download URL | gamsapi-54.4.0.tar.gz |
|---|---|
| Size | 956.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f658d3e827ee018d2fcf694f7c57d44b1d889ddc4fe3f5887c444a7a6fed1be9
|
|
BLAKE2b-256 checksum How to use checksums |
5a25d23b9ae89558b43c19b2e3975c0ccd2892132137d4c134f1da31f89cb509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp314-cp314-win_amd64.whl
| Download URL | gamsapi-54.4.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0032c8bea2bef76760edb212ba9e55e22fe6072a2358813d4f625c81dc8a63de
|
|
BLAKE2b-256 checksum How to use checksums |
383ec537b1b0d72adc166560d35f47db4ca67aca4fb1ab8cffb59134cea935ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | gamsapi-54.4.0-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5fa48e9acc5997b49698b6bc1cc98d45274d9551f509514851dfd7620833c96f
|
|
BLAKE2b-256 checksum How to use checksums |
eed75590e0143b7cde7b92aff75aa11b6bb8b1df86ab8ba6ed5cee3d8448346b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | gamsapi-54.4.0-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
656b9ce70668b37a9af4b93e2b4cb73aa9655766244d55a9346f7ec75820b318
|
|
BLAKE2b-256 checksum How to use checksums |
8cd45ea8fd209843e9389e5ad314b081abcafd7fecd2f91a6c0e939cff3279e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp314-cp314-macosx_13_0_x86_64.whl
| Download URL | gamsapi-54.4.0-cp314-cp314-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a4d6338fd199cfdfa84283ceea7036299e5425f1786560e31a2763c6f1b9583
|
|
BLAKE2b-256 checksum How to use checksums |
ccdb23968cad91f2eed17f5f967703437223d41c43ec4958124e4b247d71ef13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp314-cp314-macosx_13_0_arm64.whl
| Download URL | gamsapi-54.4.0-cp314-cp314-macosx_13_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
46bd0e654de65b455feff3a7a3c406518c746a8e188ac89c912242052ba738ee
|
|
BLAKE2b-256 checksum How to use checksums |
ffc090c1c95c1a363638c3e050aa1236128628c6524a2c8cd36c39dcadc4eec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp313-cp313-win_amd64.whl
| Download URL | gamsapi-54.4.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7c7c0302ba823bbee0846b9312aa508bd77ccde49b93b78cf8775d98190926a7
|
|
BLAKE2b-256 checksum How to use checksums |
88d5f87c7feea3424bd82669ecfa2278607b7efe9a9f0c459c095aae08d86e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | gamsapi-54.4.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f7b646ab072cd2d6e6f7ac359a93ce2a0ef34c86271d17c2855765e7be7d61b4
|
|
BLAKE2b-256 checksum How to use checksums |
b9b2b2835ccaea98a9dbc27e5129633fe5da8f7c92eb2095cbed702a3103b9ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | gamsapi-54.4.0-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
53144a17ebc1ee5d26e8ee0eb9fb4222849575a9fdeb4683917dbcfd907b603c
|
|
BLAKE2b-256 checksum How to use checksums |
2d2e6e9e3b0ad5c54e0884b1c06d731b19b89699b825297aaf3740d6181f90ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp313-cp313-macosx_13_0_x86_64.whl
| Download URL | gamsapi-54.4.0-cp313-cp313-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5480575e94f5da8eb7adad42f0f7fa955e6d30c1ac4ce2955d04b131cef8cc5d
|
|
BLAKE2b-256 checksum How to use checksums |
b8f400c62fc227675867817f9ab9a6cca95c8f0e0263e97a0bcd16821929ac12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp313-cp313-macosx_13_0_arm64.whl
| Download URL | gamsapi-54.4.0-cp313-cp313-macosx_13_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5a8a032898278b2645e067bb9f5ce8e249cb8577f9078ce4800cd64fac24cd06
|
|
BLAKE2b-256 checksum How to use checksums |
ea93be8fe5ea445a2e54b06e14e256e78cf7f941965bc6d65e9cddb65710cefd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp312-cp312-win_amd64.whl
| Download URL | gamsapi-54.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e0616407ecfc43730c044a6c207b1f427792446a087ebe4f458a479b867ebc4f
|
|
BLAKE2b-256 checksum How to use checksums |
c75a30d0a939806f6c2785722900381fccad9b233d086c60293c5171e6cb499a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | gamsapi-54.4.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7f5f037227557d8b7f08649df1971faa6747778fb83748f84026758623e227d6
|
|
BLAKE2b-256 checksum How to use checksums |
ca9318a5f091a03730fae232807cc1102a690a6b7b75b1df250da38c88e495b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | gamsapi-54.4.0-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
d9029954c8d00020896671ed0847da15f25cf5e061d5782050514373bddac8dc
|
|
BLAKE2b-256 checksum How to use checksums |
01087504d7c73ccd859fe8bc03ed871535cf4d272a6ccbb20ed0c70c2551a268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp312-cp312-macosx_13_0_x86_64.whl
| Download URL | gamsapi-54.4.0-cp312-cp312-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
947575de0b6841bb15a2bd15632c7fbb2ce827f7d73ad83985333015014a6982
|
|
BLAKE2b-256 checksum How to use checksums |
37afb3206b4444ea9a6fd8d6e1a6ee168cb99b90e771239fc2d0fbb53ec6d07e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp312-cp312-macosx_13_0_arm64.whl
| Download URL | gamsapi-54.4.0-cp312-cp312-macosx_13_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3bee95b867716305cb8a9b651f9a3488507d761b42924c672c5e6d4e7f89d22c
|
|
BLAKE2b-256 checksum How to use checksums |
77089a5ffc4a79c3ec496e6fabec9273b23e110ab813733724c75915c00c5349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp311-cp311-win_amd64.whl
| Download URL | gamsapi-54.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5f83f3a2ef894cc0338ec5f36747995fa7c312d4d1b0fd7b1f51d8934687ea7a
|
|
BLAKE2b-256 checksum How to use checksums |
e31bfae2c394bf7c3a253cf7a74a62964ec4b88f38809457248c29429dfac6ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | gamsapi-54.4.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d95fedbfe5e884c0081a2d315758ad18351cb17b8966c9497eb584e69f58a74b
|
|
BLAKE2b-256 checksum How to use checksums |
54f8a8644dad63179cfda3817262c963cf1db49028965b79c6671a828cdf7596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | gamsapi-54.4.0-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4df8d99f4a8c584036a9226ccf84b76ea12f632e33f37a3f840e69ee41552049
|
|
BLAKE2b-256 checksum How to use checksums |
1f2382b99db0541836db271d2a5a5bdd629ae9cb3b78a6bba90b8e17b0a2da17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | gamsapi-54.4.0-cp311-cp311-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
3cb66291186b0f0b605ffed7562d23d506767a04336aadc1a59280cc6cbd4656
|
|
BLAKE2b-256 checksum How to use checksums |
06007fb84fc217fcfdc365c3425e2f333bda05279b504a787b3d8fa6980ed17b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | gamsapi-54.4.0-cp311-cp311-macosx_13_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9a016fab8d5027990ca119022b16a913a54687b1a7c95a70557d47eb151c3b82
|
|
BLAKE2b-256 checksum How to use checksums |
758d7f1461f91b0ad00f3eef28efd86e1c2eb6e6d23e2a8574b52d92f3800b02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp310-cp310-win_amd64.whl
| Download URL | gamsapi-54.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
02c088fb3f06648d2301f5e28ddefb818d82cdcbe32d365eaa9f74a3ff85f9b0
|
|
BLAKE2b-256 checksum How to use checksums |
c096506d64133b1b7732c65efdd07b4551c950cfdbb046c78273a4bd9f05f34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | gamsapi-54.4.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2692c7a758d53b8db72c7e465ff90d15362426221fc911102e86fe990da1d08b
|
|
BLAKE2b-256 checksum How to use checksums |
5424f4c741119904a8d470b21c5adf54a0311023f73d70b43d0a56b450a4331f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | gamsapi-54.4.0-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
06ea12645bc1eefef8297e16cd708069c92bd09933197b27d4673e9e17cfbb82
|
|
BLAKE2b-256 checksum How to use checksums |
dc67028936b67caca34c45dcdaa715bb40cf589b2f8a7242d52470a573796e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp310-cp310-macosx_13_0_x86_64.whl
| Download URL | gamsapi-54.4.0-cp310-cp310-macosx_13_0_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
6234261729189b1c8dc49a7a7cb160f8207a736fc03cb41ece0d92f420210fa3
|
|
BLAKE2b-256 checksum How to use checksums |
c3e52f5c490eb05a40c4511e3a1bda40aeac72d98772f67141820134ac5e817d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / gamsapi-54.4.0-cp310-cp310-macosx_13_0_arm64.whl
| Download URL | gamsapi-54.4.0-cp310-cp310-macosx_13_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ef10a35f0d7cc2472ff3f2651997be4d0ea1b28d83877050b0d936aa5c72945a
|
|
BLAKE2b-256 checksum How to use checksums |
b86d2022ba72d5534aa2133abf58e993553d731238b3f9e2936dfdfe5ed168a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|