Skip to main content

Luna SDK

Creating a Project in Luna via the API or management console creates a repo with the SDK included in the requirements.

However, if you wish to install the SDK locally to explore it, you can follow the instructions below.

Installation

The Luna SDK is hosted on a private PyPi repository.

Add the repository:

pip config set global.extra-index-url https://pypi.fury.io/luna-protocol-alpha/

Then run

pip install luna-sdk --upgrade

Troubleshooting

  • Hash error

If you get an error with "THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE", try running

pip install --no-cache-dir --upgrade luna-sdk