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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gurobipy-stubs-1.0.1.post0.tar.gz.
File metadata
- Download URL: gurobipy-stubs-1.0.1.post0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa9a1d8b6e9ee4eed4d1b476ac544f161c0d409dbaa06f44437ea02bd5ddd8f7
|
|
| MD5 |
d40de0b0d8801455dc78a07d15e521fb
|
|
| BLAKE2b-256 |
96676da4cbe1e7be4fe52bbb00b440f1ae00cb94f1c924a89f5405fc09a3a5dd
|
File details
Details for the file gurobipy_stubs-1.0.1.post0-py3-none-any.whl.
File metadata
- Download URL: gurobipy_stubs-1.0.1.post0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
401ccb6166b8a587c944b21e8c48f48e205fe7875a5778a201bcc7712bba559c
|
|
| MD5 |
e0d525c7a1d70d293abab5df22df7133
|
|
| BLAKE2b-256 |
ef160d99056c13b62b3a8e93599f981960d364f48310a0012c4c6dfc09a87ca9
|