Skip to main content

Python interface to LINDO API

Project description

The Python Interface to LINDO API.

This package requires LINDO API 13.0 and a valid license key. Please refer to INSTALL for installation details. An environment variable named LINDOAPI_HOME needs to be created before building, and using the Lindo API.

Using Windows

On the command line

> set LINDOAPI_HOME="c:/lindoapi"

Using Mac or Linux

On the command line

$ export LINDOAPI_HOME="/opt/lindoapi"

How to download

This python package can be downloaded with pip

> pip install lindo

How to build

To build the python package on any operating system first start by creating a whl file. form the top of the lindoapi-python directory run the command.

> python -m build

If the command is successful a new directory named dist is created in the lindoapi-python directory. The new directory will have a two files with extension .whl and .tat.gz. For example, if you built it on Mac OS using Python 3.10 the new directory will look like this.

├── dist
│  ├── lindo-1.0.2-cp310-cp310-macosx_10_9_universal2.whl
│  └── lindo-1.0.2.tar.gz

The package can now be installed locally using the command.

> pip install dist/*.whl

Testing installation

A quick way to test the installation is to run

> python -m lindo_test

If the test is successful, you can now import the lindo python library and start using it.

import lindo

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 Distributions

lindo-13.0.0-cp310-cp310-win_amd64.whl (81.6 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

lindo-13.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

lindo-13.0.0-cp310-cp310-macosx_10_9_universal2.whl (158.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

lindo-13.0.0-cp39-cp39-win_amd64.whl (81.6 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

lindo-13.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

lindo-13.0.0-cp39-cp39-macosx_11_0_x86_64.whl (94.5 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ x86-64

lindo-13.0.0-cp38-cp38-win_amd64.whl (81.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

lindo-13.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

lindo-13.0.0-cp38-cp38-macosx_11_0_x86_64.whl (94.5 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ x86-64

lindo-13.0.0-cp37-cp37m-win_amd64.whl (81.6 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

lindo-13.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

lindo-13.0.0-cp37-cp37m-macosx_11_0_x86_64.whl (94.5 kB view hashes)

Uploaded CPython 3.7m macOS 11.0+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page