Skip to content

PyPI

We have our own PyPI repository (server for hosting python packages) at https://pypi.lime.tech. It's convinient to configure your computer to use the Lime PyPI by default.

Info

User and Password for the Lime PyPI can be obtained from Lime Technologies for any customer or partner

Poetry

Info about how to configure poetry to use a private repository can be found here

In short, this is what you want to run:

poetry config repositories.lime https://pypi.lime.tech/simple/
poetry config http-basic.lime [PYPI USERNAME HERE] [PYPI PASSWORD HERE] 

Info

this is only needed the first time you install and set up Poetry

You can explicitly tell poetry to search for packages on our own server by adding the following to the pyproject.toml file of your project:

[[tool.poetry.source]]
name = "lime"
url = "https://pypi.lime.tech/simple/"

Info

This entry is auto-generated when creating or migrating a solution using lime-project.

.netrc

This file is read by tools such as pip and pipx, which means that you don't need to pass the credentials everytime you install a package from our Lime PyPI.

The .netrc file should be put in your home folder and looks like this:

machine pypi.lime.tech
    login <username>
    password <password>