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
Release history Release notifications | RSS feed
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-2.0.0.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for gurobipy_stubs-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fe3444dff1cfe19a58a746d69202f3ed0151138f43a91d0bce3ec4e6cf00715 |
|
MD5 | 3f1cee29ef233a031bbe57ab0b7ee92f |
|
BLAKE2b-256 | 9c2b08ee5e6b5c98c5f38df58a5b3418021adc4e7ed44512b31f62ea0148670d |