Skip to main content

Type stubs for gurobipy

Reason this release was yanked:

Outdated requirements

Project description

gurobipy-stubs

This package provides type hints for gurobipy, the Python API for Gurobi. These stubs help you to write typed Python code, and enhance many IDE's built-in auto completion features.

Example

With this type stubs package installed, static type checkers such as mypy willl be able to verify the types given in source code annotations like in this example:

import gurobipy as gp

m: gp.Model = gp.Model()
v: gp.Var = m.addVar()
m.optimize()
vval: float = v.X
% mypy example.py 
Success: no issues found in 1 source file

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

gurobipy-stubs-1.0.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

gurobipy_stubs-1.0.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file gurobipy-stubs-1.0.1.tar.gz.

File metadata

  • Download URL: gurobipy-stubs-1.0.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for gurobipy-stubs-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ebeb5e5aaa8b39360ea6025ee3715501bbebce36a9ab1bf15065c3e7d357beca
MD5 532d276f27a4f831ccc2e55a5644e6a2
BLAKE2b-256 ecf758af1e56087e96d6f1ccc73bfc3cb5077f65661d2e59f3ddf181a9f06d17

See more details on using hashes here.

File details

Details for the file gurobipy_stubs-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gurobipy_stubs-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for gurobipy_stubs-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5434a1cda4f5293d599f4b931c2d48ac5cd6a2e5b6731c3a5599dc2bd84bb236
MD5 eb4eaf548bc8a2019d9cd6e16652d995
BLAKE2b-256 fe96ad4b5713bc59b9ad85997f7e2ac1bf79e0d6832187e9f0a732fd4d77c01a

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