Skip to main content

Python interface to LINDO API

Project description

The Python Interface to LINDO API.

This package requires LINDO API and a valid license key. Please refer to lindoapi/readme.html for LINDO API installation details.

Installation for LINDO API 15

This python package can be installed with pip

For administrative users:

> pip install lindo

For standard (non-administrative) users:

> pip install lindo --user

Installation for LINDO API 14

This python package can be installed with pip

For administrative users:

> pip install lindo==14.0.0

For standard (non-administrative) users:

> pip install lindo==14.0.0 --user

Testing

A quick way to test the installation is to run

> python -m lindo_test

You can also try out the samples by

> python samples/lp.py

Possible errors due to misconfiguration

You may get the following error if your LINDOAPI_HOME environment variable is not set up.

Error: Environment variable LINDOAPI_HOME should be set

To fix the problem follow these steps

Using Windows

On the command line

> setx LINDOAPI_HOME "c:/lindoapi" 

Using Mac or Linux

On the command line

For administrative users:

$ export LINDOAPI_HOME="/opt/lindoapi"	

For standard (non-administrative) users:

$ export LINDOAPI_HOME="~/opt/lindoapi"	

To have this variable set automatically, add the above line to your ~/.bashrc or ~/.bash_profile file.

For Mac Users

The LINDO api has two version that could be compatible with your machine osx64x86 and arm64. If you are using osx64x86 then your Python distribution must have been installed on an Intel Mac or using Rosetta, otherwise it will target arm64 .whl files when using pip. Similarly, if you are using a M1/M2 Mac when Python was installed on your machine Rosetta should have been disabled. The LINDO api supports Python 3.7-3.10 on osx64x86 and Python 3.10 on arm64.

How to Build Wheel and Install (for package managers)

To build the python package on any operating system first start by creating a whl file. From 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 .tar.gz. For example, if you built it on Mac OS using Python 3.10 the new directory will look like this.

├── dist
│  ├── lindo-x.y.z-cp310-cp310-macosx_10_9_universal2.whl
│  └── lindo-x.y.z.tar.gz

The package can now be installed locally using the command.

> pip install dist/*.whl

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-15.0.1-cp312-cp312-win_amd64.whl (128.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

lindo-15.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

lindo-15.0.1-cp312-cp312-macosx_10_9_x86_64.whl (218.3 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

lindo-15.0.1-cp312-cp312-macosx_10_9_arm64.whl (218.2 kB view details)

Uploaded CPython 3.12 macOS 10.9+ ARM64

lindo-15.0.1-cp311-cp311-win_amd64.whl (128.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

lindo-15.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

lindo-15.0.1-cp311-cp311-macosx_10_9_x86_64.whl (218.0 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

lindo-15.0.1-cp311-cp311-macosx_10_9_arm64.whl (217.9 kB view details)

Uploaded CPython 3.11 macOS 10.9+ ARM64

lindo-15.0.1-cp310-cp310-win_amd64.whl (128.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

lindo-15.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

lindo-15.0.1-cp310-cp310-macosx_10_9_x86_64.whl (217.9 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

lindo-15.0.1-cp39-cp39-win_amd64.whl (130.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

lindo-15.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

lindo-15.0.1-cp39-cp39-macosx_10_9_x86_64.whl (218.0 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

lindo-15.0.1-cp38-cp38-win_amd64.whl (130.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

lindo-15.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

lindo-15.0.1-cp38-cp38-macosx_11_0_x86_64.whl (127.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

lindo-15.0.1-cp37-cp37m-win_amd64.whl (130.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

lindo-15.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

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

lindo-15.0.1-cp37-cp37m-macosx_11_0_x86_64.whl (127.0 kB view details)

Uploaded CPython 3.7m macOS 11.0+ x86-64

File details

Details for the file lindo-15.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 128.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1002f9445adad159e7a9f720ec54ea09b13157d79fe3359819bb1f10f06c33b9
MD5 24508889af31192c58d5df304afd9353
BLAKE2b-256 87dfcf4cbd022c5f4452586298c1949cf84884b2a00139ecf4ee63d71e9b84e1

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b30a40cf586be3619e075f3e41ef559b7f458c947ac8a5dc54c845ea1d57781a
MD5 802533bcc8788ecd2bcebee4b4efd0c1
BLAKE2b-256 41350cfa45f1646da5702d58ed516503d15a7e433a03407f0d22d6ba79529bff

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0f31d595cf1ecedd1b17bcf4dce138aa71e2f0436fe2c87fe577f83a22bff453
MD5 945e9293af30e24d9d5761c0a3b5b8cc
BLAKE2b-256 487509bd598ced50952d20b89472bfb573457c284faa5d60bd2aac1b1fcc4e23

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp312-cp312-macosx_10_9_arm64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp312-cp312-macosx_10_9_arm64.whl
Algorithm Hash digest
SHA256 80e51de3a2073ca6504ed4376fd7e2b29f68cf8a23a2db66204416179e668a9b
MD5 9fb8bd0d86f2dc5adabc1579c433d54e
BLAKE2b-256 d23e95d31389e98259234fa21ec62122acd5c74c15c6278917690dca74f30906

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 128.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 043101a7e1a824d36fae980144514f5f1161840dd3f1f2c0f2f4400298f76865
MD5 921df8060642044716a968ba6ebca3a7
BLAKE2b-256 8850b36b2f9f61b72258c9f41e42ac497cae65d594478b474ddee82b69a1d57a

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1ca6a09dd8acc819a0228e6ca7145bd527eec0e805e68c067bb14533a261582
MD5 0e024604bcd4fcf7e3767fe5753849a1
BLAKE2b-256 3db89771d45d400de657fd4314b4b8a4872ce50f92f0c997d77b76fdce34b7b1

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ab0c412d3a97c3fb4baceee8c427bb61ac81966348d942d69d470e5cde52ac8
MD5 20be1fcc51aac49d89e32ae8ccef3e65
BLAKE2b-256 bd814b1cfc04f0f196d8a29d774089722b0fe0f45a85cc90bb10a0e381a05790

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp311-cp311-macosx_10_9_arm64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp311-cp311-macosx_10_9_arm64.whl
Algorithm Hash digest
SHA256 1d050493cbdb2d3aa8a5d93224a83aad2fc31fe903941035157bad02b31210bc
MD5 286350eb0805a4094be0f5f0c38c80c5
BLAKE2b-256 2ee46baca4f51539a9376620f1ea2263b9a2ea83dd12bae1bb656adff1659cf1

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 128.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 35aa53d192179233afe54df2d6ef25601c8373d971187b7aa5faf369cee11e76
MD5 223b0425fa7f821a1d53ba5884e9dc2d
BLAKE2b-256 a22db1003521098c4442278de5c324b48e22b480aa63f2bd10abae4dd9b1b418

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c9db248c75e829f4d93201e294cb387cc210ec75c6d0d82185c05f3c35f4dc1
MD5 5e45a311904baf7377498c6ad224a9e1
BLAKE2b-256 b95d0292fdb0913eb29ca93ef923c943b02a00dfcba46b256c52ac785adebbe7

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bb225bf4d62762c16228ef7c1ad27189d186fa7bee8cb3d2501e32b3525b9b6c
MD5 7b5c8f1b9b341721f2a4640afeee0ab4
BLAKE2b-256 e628036af6dcdea77561c07775cd16c9a748d910d5da76e13f9a2e243b23256e

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c86b7a7286082b710d21dd147ea947745dc179518e86917417f9704c217ee9fc
MD5 3eb4ff5161b8b052648a08e56d0484c3
BLAKE2b-256 41db5a4ccdbe1560270feb00505acb46500a1f7b28d7a16b8f1b451faff27563

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b3eb2222b1a7b2aafab8d4548340b4d379c5f1c2359a31b0cb785e78b9d569b9
MD5 5e8a66bb9f0208d0843d7527d796ce43
BLAKE2b-256 837a4f85110d14d6e011b6956a2432f44ff4e847ea04d79f28dbf59dbdd12e28

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9ef322a58a13fa98cbcd7cc87339273f19e3ef34a8aeb4bdccc9609a36ad1145
MD5 ae7f6957e02034f0f84a729a9972b866
BLAKE2b-256 125b5ee696f5616f9bc574375a97343e1fb5381dc061c609710232c05261c046

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1b1175920be6e65497dc1a90037fe447f1e2e7eedd07be9a636f23d854e1f31d
MD5 7ccd2541f3a5b48233344dbb834474b9
BLAKE2b-256 735240989d86ec0e63831c6b7d1ca6d3194f94c16de7a29f6c63ce5a9bbd4571

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d0ffa3297694a247eff07c8aa0f997510a9f8de7a6f742234f63cae4bcdeb26
MD5 b80ffc5b5522694409574ff0db7293e9
BLAKE2b-256 6012f4ec2bc0d5c6e88c44135566c9b0b0300401a3410d7e9eb86107cdb9d724

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 06712f9cd6c1c17600610388b5c1d4e221ae26d0093b246809590ad8f050dd04
MD5 32dd14d8210339602fd82a4f4f19d77b
BLAKE2b-256 4f1d3cc6f2b196a2b9f6a44530696539860451aef5bb59170455fc8d3ba63cc8

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: lindo-15.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for lindo-15.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 cc61bfef1b1391bd9731d38c5c44ee975e29288b2a0837e2527a820f9e123ba5
MD5 0adb3ec3b562f2f28e7373d204de40ad
BLAKE2b-256 bec89b0da07216931975f40a3aa90e59fc6e00e9daedae3051d45e1e5f24f039

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85bedf96a78802f74cbae82d7799b2e9ecdb6f5754b0b9c43c3219cebe7fb776
MD5 be3d66a2b7cd345f693d68c71408ee1d
BLAKE2b-256 2b2ee5893b0fc561b44a4e57f92d8bcdbe93a0727a710a86a2b341c845fbe709

See more details on using hashes here.

File details

Details for the file lindo-15.0.1-cp37-cp37m-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for lindo-15.0.1-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e7bb11935dc1a1e598dd0e8550ab8d34b5f3e654341858a616dcc42534e92d94
MD5 e1cd0574e8ce5969a3eff341d7b6b527
BLAKE2b-256 8249af86fc9873dced6fb3992b2dbe0b379eb78639a378b79d9b38e1c45fe902

See more details on using hashes here.

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