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 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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gurobipy_stubs-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76aeedcef0d9e81b13ee510a6833de0d8f69ac70b2d9377864279e660dbfd363
MD5 195bf2815f47679da4092f52f9393664
BLAKE2b-256 3290acd99fb08b54c6ae5b9d50e09a27497cf3eaf8ed730eb215421e97eea8d2

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