Skip to main content

GAMS Python API

Project description



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.

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

gamsapi-53.5.1.tar.gz (937.8 kB view details)

Uploaded Source

Built Distributions

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

gamsapi-53.5.1-cp314-cp314-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.14Windows x86-64

gamsapi-53.5.1-cp314-cp314-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

gamsapi-53.5.1-cp314-cp314-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

gamsapi-53.5.1-cp314-cp314-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14macOS 13.0+ x86-64

gamsapi-53.5.1-cp314-cp314-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

gamsapi-53.5.1-cp313-cp313-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.13Windows x86-64

gamsapi-53.5.1-cp313-cp313-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

gamsapi-53.5.1-cp313-cp313-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

gamsapi-53.5.1-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gamsapi-53.5.1-cp313-cp313-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gamsapi-53.5.1-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gamsapi-53.5.1-cp312-cp312-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

gamsapi-53.5.1-cp312-cp312-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

gamsapi-53.5.1-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gamsapi-53.5.1-cp312-cp312-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gamsapi-53.5.1-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gamsapi-53.5.1-cp311-cp311-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

gamsapi-53.5.1-cp311-cp311-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

gamsapi-53.5.1-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gamsapi-53.5.1-cp311-cp311-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

gamsapi-53.5.1-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

gamsapi-53.5.1-cp310-cp310-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

gamsapi-53.5.1-cp310-cp310-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

gamsapi-53.5.1-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

gamsapi-53.5.1-cp310-cp310-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file gamsapi-53.5.1.tar.gz.

File metadata

  • Download URL: gamsapi-53.5.1.tar.gz
  • Upload date:
  • Size: 937.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1.tar.gz
Algorithm Hash digest
SHA256 1562a9f348d237f79ec7516d51517f72464789b430fd4c270c75b16cabe289cd
MD5 0358ca5120b1d2e82ad1af69c7e43bc9
BLAKE2b-256 568bd8b3d22f3ae9a763cf20f42475801f004a03ee496170502af99b992b0f48

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.5.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 95e390e4b047af2c0e8ae9a7677029844b1e52c72825139153b3acb855f9c843
MD5 d04017c3fb90d00f4ae4beb0e492e210
BLAKE2b-256 a83708f332ce1f15e57f3192f9273a38fc56d4e3221d84d223231efa82143168

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25e8cade607ec09b83a9854558401dcf6e8b9c50f1a2f88ed40aa82190986322
MD5 40d952cd7d19b80b222efe5db09e989a
BLAKE2b-256 2341fe00313c628684b87c20228b7d535d5aad0eb07adb6d8683e8bd157eba50

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf22718dda8ca44466b233c087cbb63456d32c46735e130897ca55ad229deb16
MD5 d4831b0d76e94dcceee2e068b37ffecf
BLAKE2b-256 fd0240b0640eed3abddb37219d6043be83b5c46f3e78ed55669dbdbaf05408fc

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp314-cp314-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d94f34282e7bb893b2359407095f314c95f04f618374a2554a00b8164c76c8c7
MD5 80d038fbd796c5240b56d0ae46253f4e
BLAKE2b-256 ef1ca66e8e67a7885bdf699edec93f78271bc1e39ee38122e928a54a123e0455

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aa693b2b913c7be623597847f782dedbaaf8668de37354da17af496b6c63998a
MD5 13e9cc9c516c275a4fa8761c493a1555
BLAKE2b-256 68f3b60bfba6c0e82ad65e256472ef6c5c46b395fb503f35b6328ac57701c839

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.5.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ed9a7801c48812e09f5ef7b0650cb15d634c2392e67e69911c3a309830116130
MD5 94762c1be7b382b0bcfb28d0b7e229d2
BLAKE2b-256 f5d4fb8fbf5b46cdabca5747282f9004820f22c7016c52e6ca41b8e72c8936d5

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f14998a7d8d0700e22ed297b0d08dec5657e87a8fe80caf575f714cfc465300
MD5 3c6329c942f8973b00423130d145e837
BLAKE2b-256 3bb1a31a53ccefc7e3c269d60c0b9acbbaa25d881f6c542157a3e2217cd81e85

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 48ee457fc7a415a0a140a750843338209ce70a661348c1551d9cd67a387b9032
MD5 32ce8a43927e65bce19819b3d39871fd
BLAKE2b-256 c50e913a8cb82266e5942e8654c68cb529d8b19d1726945c71cdf9a6e62f1c06

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cfe7ac83f855d5df21f7d5ddf6676ccf0d14c7541fb1e00e7a16d0ced0306136
MD5 480f2ccdb76b8cf0c2850e1d63e2224d
BLAKE2b-256 8e0299eef68e9f7a764f51acead9f4e0498e256737dea2324dd6585c234c7c7c

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c03f5e564c542c6f96df587db362deb73b78c94911b7a779749c5c97ccbd8440
MD5 a9db467cb5e6c7e0d4870e1dc97bdec1
BLAKE2b-256 ff68b37e29a9dfd9c93b68ce3591f59e14ae29b257a78034e195025ee09e571a

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.5.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ec4924c49a0186f36d72045cc6a4d62f0ad64575f58bb9bba94c7b843d9e7098
MD5 81bb994b40a2987b8e218252e9d86378
BLAKE2b-256 b2eb63df321a7849c32cf1a3d01c6f5e24d9f73b4cd8066c47abac63a30b6a3c

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 714c071f9e2e5e6318d0ac147bd5290cd630e2d9717bb43dc3a51325ba958057
MD5 16f041350b89c087c17a08c87eb426dd
BLAKE2b-256 01a0bbd264ca843770a97ccf3312d53a32d7c5747fef0213476dcbd0635bba5c

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5bbc79913e46efb76e2be5d42499fa71f72c242bc5eadda08eb70ea12d1d2e15
MD5 5e959a5b93f91741ecc4b5a85f354521
BLAKE2b-256 aa2af633ee3167d9c7ae663f449f25ff23176fbfcd1925b60d7ec1d27b7c7470

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c912dcfea98f8ee3d8bd6077b3426aac6a5c3aadacb63a90599631ccfe408808
MD5 ec6d10e9822977d37563df519b5500c5
BLAKE2b-256 ba43e56d424db7fe2013af25ca5ae09fe74568ad16c8d848f149c40c2d2f00fa

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7af23e1ba491ff4a8dbcbaac71e9172fc5a22ac943c35c02eae98a036cd4e629
MD5 fb6c6224a593bfe0ebe9406c3ad99fcb
BLAKE2b-256 68225fe46da4e09cfce3c89181e56c77bad1c71a66fa7214cf973f53138cf842

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.5.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3b00ec0645552a9c37d10a3a8ee0ca41b03cd16cbda687d97c0e2de607c80ee2
MD5 d230ecdc244646f03a23d69a10d6a12d
BLAKE2b-256 9ea38ba8db09c22a3aa67bfa77af631dc9edb93d97f307cb9ad8e5a2d73733a4

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9af748de9f807e6b37416efbe0122b354686ccbf5955493240cd88021bb6ea4d
MD5 4def67fa1370e03a0f3c0e9fcdffc3a1
BLAKE2b-256 152e3d0ea7daa62da15b621dd76633682103e0f755c3172523c2fc24abe0dfb4

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 89cf425b828c0284c7ba41ae1e25672a2c1217b596262d92da65b536449d82ea
MD5 1770434aba7ec4186d59a63329af64f7
BLAKE2b-256 e299973af577af36d75fa2e9cc78d6e4ddb1fe9aa8018ee763608fccc2cf0456

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a9ab375c7dadc03a8c863556111a85426d1918c1a54505bd6684d351ea7a69b3
MD5 5a92b19b3411ec562181a4770f0653f7
BLAKE2b-256 c5e6507b246a4b9b3a6e631e3f351c0cff8fb95ba1daf0f048fbd8a8989cd476

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0f52ff4533190f161185b9c4fc3c3b99908902ef0ae8ccd64c181a7d3cc8fce
MD5 394b69da31b9202e303c1c509913f830
BLAKE2b-256 a8a005e57ff44990870eebabaca79d5b7663baa90fbd80f862532b71fd24b167

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-53.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dda30cec80c9c6264d94dac1d08ea1a0d72ed409af775e1dac56272b4e7205d2
MD5 60dcb6837b17b35607c006473c07a49e
BLAKE2b-256 0bdb5afd88cb3c719ebf1347b837745c3fe45da2ea2e8b0405b021b089992e87

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75c49eb565152d754d980b34c2adccb682cfa437b71760a971c110e07320d4cf
MD5 e42e35d5f16a9a5571db471ee1623486
BLAKE2b-256 03c7cb4b74b91ce7cddf15e1a910e9ce515a4fbb531cd61d450269c696636875

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34e311235ddd4d37166330976f5a649764f99b53043122f8bab07809f639006b
MD5 ccd011b9585c282905acd64b3c36f456
BLAKE2b-256 c8a8ed8718deba5c21f1545440251fc2a1b8cd9dd659bd336f1eab3491567939

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fceb5c4c3c0e618f9a4885c3da12fc7c3e044df46de959fe03a246c3a081ca07
MD5 0598cae824c786402a9c2825c148914b
BLAKE2b-256 5f445465115c763346221b30148e7e19b50f64c278a6609dcbb96737f31de708

See more details on using hashes here.

File details

Details for the file gamsapi-53.5.1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.5.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a3cf156e3ec027486e60eebb7b877bc8b1e93cef9b3c890f9771f995556a932b
MD5 aea8e666e30cfe54d2477e615f978b18
BLAKE2b-256 054915eedb42dcb5bf0d72c106c847da3cfce4c8c43b4e626c7f463156816aa0

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