Skip to main content

Type stubs for gurobipy

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gurobipy_stubs-1.0.0a1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file gurobipy_stubs-1.0.0a1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for gurobipy_stubs-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 902c74d6c58767a209251ef599dc12bf86bca07abcde9462bca3479baded6528
MD5 08b7890c563881d4936e10c751cff919
BLAKE2b-256 a8817cabd8e1e1618e0c910b76cc494ecd92183d63282edf9be6080cbd2f799c

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