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
Release files for gurobipy-stubs 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gurobipy-stubs-2.0.0.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gurobipy_stubs-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / gurobipy-stubs-2.0.0.tar.gz
| Download URL | gurobipy-stubs-2.0.0.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64c388ce4f4ec1dd040a4f0119574c44af8fbc8ca56d8c01d3f4cebd593d36fe
|
|
BLAKE2b-256 checksum How to use checksums |
fc320179eabc5730578bdf5924d00085bbc5dd71e2e824be619c36903d70a07c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / gurobipy_stubs-2.0.0-py3-none-any.whl
| Download URL | gurobipy_stubs-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fe3444dff1cfe19a58a746d69202f3ed0151138f43a91d0bce3ec4e6cf00715
|
|
BLAKE2b-256 checksum How to use checksums |
9c2b08ee5e6b5c98c5f38df58a5b3418021adc4e7ed44512b31f62ea0148670d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|