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.3.0.tar.gz (937.9 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.3.0-cp314-cp314-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 13.0+ x86-64

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

Uploaded CPython 3.14macOS 13.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

gamsapi-53.3.0-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.3.0.tar.gz.

File metadata

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

File hashes

Hashes for gamsapi-53.3.0.tar.gz
Algorithm Hash digest
SHA256 e177fb0992de1cca707d0cf26f3aa45b8d610ee3da22317b14b44ba9ba1e0aa9
MD5 9b294bd7ecc6dd6a1076772fb290758c
BLAKE2b-256 7cc58c90b09cc0a800090a297c1669f16733ddc2b5701bb8a81d3ae428882887

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.3.0-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.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 370cab3e826c2810a9f41874ff4571513722af8b20e3f8eb29e7a284a7046d3c
MD5 b966836dab48260b15a0b1f1b900f4f6
BLAKE2b-256 a34a513f7be30e320ccc3ff6367cd10430ff9fdade3468b18d89e1848358e0bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68935116bc0c8ec3ec2973cda2a2aeefa3f2fc27c63f16796d34610012d5d343
MD5 01d6d9f102a88432f9a235fdd3ab123e
BLAKE2b-256 b7b447faf6c9a392c0c3aacfde1e01e7b7ed9a5e4d418a97152d0ea1275f8ca0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e498531f22f236fb20367ca1275f5984b2185ea9ce31b9742fc2696f16f359e9
MD5 954dce9356e063419c98494b326147ad
BLAKE2b-256 6e7d70cc74a26433fbdc339141441c76e980359b16729dfa1f4bf9cf8a2ba06d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ad74722bb32b81d065bdc015a9981a86eecb935b6cabada9b5a1e9fa33a1e1c8
MD5 64893815432cc8364574af5e130b8575
BLAKE2b-256 88657632dda1bc46cf841f4be7990ed32879cacc114b9ede90f91fdbca27d13f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b9f6419896244522356a833a26b73e59bda34a108b63286bbaa7fab8b5d13f78
MD5 504cd48ef920e1b92c03cac87a91a06a
BLAKE2b-256 6dd0a6b9d578e84d30f0c84fe7041e9a627de3743c709262ed81a57ed6fa2583

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.3.0-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.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 adccba9ccb52b1e0e4feccae2bfdd18a243cf350a9452176ca18a78f34407779
MD5 434b6b27611118820f0db4c03e0f82f9
BLAKE2b-256 1669803e51bb7709704adf413063127ef9a14adaed82718c31a7c83301de4e77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42a76e0a95876885e703832fd2e2adccfbd55965b36b7c30eaf9115374abf086
MD5 41bf91cb42540e68717259dc6543a4c4
BLAKE2b-256 bc86214fedd1e3685a848bb62d45f12a82e9dc02c680168890fcce95706b04fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3afddec7ed2108fda9027b5a77fe2184a02024e947767ddbbb44411960fcbe12
MD5 cfed1927b442d4571c5d4369637cdfaf
BLAKE2b-256 43f841c5a25244cc31c3091fab41d9afa36cbd80479596d10d3a7495522f38d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f5a76f69beeffdba406b5d2770a0778e30129cf3f4d144f31d8fd3ae2897f2a7
MD5 c59defcf5973a7be4bbfc8369f84cfb7
BLAKE2b-256 a5be32b78fda121e239ae4b431f928f49aec333d2e71d0e7110ea208ab7fef57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 88efb7832ec3150dd158a9fbd39288a2dbc09e8cc99dbcfb866a5969be551771
MD5 fc15a91c56280639ef106b39b5fe82d3
BLAKE2b-256 be6b3c1c7cc67358f5f284ec29b045feba4ddf6199d34de0a7e759056bd3cb72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.3.0-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.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 09815929a318402242403f83c267583d44f6a77ea4e7a576c16b92a0d099395a
MD5 4674c44437d43701333043422fe77e26
BLAKE2b-256 855425de3e2bc115634d19f5b8af38edbf23d7a416497bbf2546ab57d7e44c0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4fc7c0782159c6a0f0dc46885b5a2f609da3ef3a02886b6604082db446e3588c
MD5 43087e3579d8f58b9d3558a747273974
BLAKE2b-256 d94049666bb161bd917813ccda7e597466c2c811804c920856e8a92d4b405fb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0847f600fa1fe2560fbbaf643c34e8e0581ba975cec0ffdd322c717aee5dfeed
MD5 d01164e918ad064ce09281ce4ada638b
BLAKE2b-256 93e400fd898bbdd84f6126164aaa7ceb92d31daa2c6032e7b812baa310db1042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c91ea3bb9b742ebba963d213a3ab49d12d0a8e81fbc6b21480f1aa5989669df9
MD5 a6f601da50169d1e0205d9a1bb46f5e6
BLAKE2b-256 6091006d0fab09cdaf4e8d8e64e5bc77d1e275d99ce4e8aeb073492add3ad660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e18e9a368e0b7676f8614c5ee78213957d0cdfcd6246a5a2839b14e6b216e607
MD5 320dbd266fe5e62a2ebe12b0999e8989
BLAKE2b-256 5634ebca9a787766901774e686c4eac7ffb010e68c473aac71961526f1bf97c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.3.0-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.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fca3d9ca08930cd7bd465f8c1205193b7d0bc95734bc040a2a83daa5845222df
MD5 b5af231e6269dadb36f9e99e8aeec53f
BLAKE2b-256 e10a81a38acad4241c24ae495b8f48aaa369421bd158dd93e2b66ac59a767b9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 289f0729685e7fa7471d9b38ca75de0611c159278c849acd879e2c61ae44b99a
MD5 f34840ef2a3a7935d6b4109d1790335b
BLAKE2b-256 86d5e89d08456fc10bb23ead6e86844e1bd69527e4dd9e8b6a15a41c91831d70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f26a7d7f9092495b4b095e3e1ddfa6d4837b47e4ec6bbf9996f7bc94f20c3740
MD5 a74c5c28ee562f7da82385171ab0a816
BLAKE2b-256 8a694100c5f42437d6ae43a7b8cbae9780aa0677f72a34ddd66f826fff413216

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8444c0f20ac43b57612ec579291ca8416de81bc570e22c46c2532f14aceb2ded
MD5 9c3b0cf08381b1c580df09223d89a634
BLAKE2b-256 56d0fc6b3e2b5987dad0ae1bed783b18ac70cca60376f80ab0bcd7c2a160d09d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6a8e4bdc232f933077c96764b85f103a44f2f652a68a71b632a3a0e570253bde
MD5 d8d5df4e3296608459f3a8b1e5053e17
BLAKE2b-256 853ba21c073cc46b8e2e878d50f7c87327aafdbda454cd7db5ecf8c4b1808225

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.3.0-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.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c9a3e0b30d0965daa3a53dd7287b6c60e297020dd6637bdb353139d52447121f
MD5 fbc0685e0620f61b73b21435f5ef5350
BLAKE2b-256 0b1551a84364bf47fd3faa86d3b109b83e883ec3460524ca0be2e6ac47dce389

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 39350e08496f0c2e393172f5a31e8b91d5a4f715bc06c3452f8c83b306ce9577
MD5 71aa347a81e26da116a4973919252f35
BLAKE2b-256 9065725ab5b6128cfbe37ecbb59ea2a5ae3d9b7f7d6a6cc9676fe8666944009e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b74f1d7667fb04e856d9bc0df4be2bfaafc02531c6956b2be45d1aef4c6f8394
MD5 8393663045200d991064b704843bfe68
BLAKE2b-256 03534c48381c9ee27a85f99dc8165d67c8f2dca0a4cde0ae687698e6c6613c5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8f286dcf31dda4f80c64df453bd30488c13e00db210d6a00f19a08dc1b476f06
MD5 27638e3a1f3d3440180b7e720e3b93ea
BLAKE2b-256 bb63865b2b4aef5fcf10c6672608123e19c3178e30f6d283805f62bff86e7042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.3.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 58214610fa8c04b87305d6cb0ae308e1d4b301ba81cc6922764fed370480ef95
MD5 67c4053a73b4ed37056ef691403d98ec
BLAKE2b-256 15d5d7d65b18c861312f194c198cf2d0effae8c8a5c7bed7e43cd3b880661e05

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