Getting started

Required Dependencies

Atoti version 0.8.0 and above is required.

Installation

You can install py_dlc as a Python package but will need some extra configuration to be able to download the package from a private repository.

In the commands below, replace {{username}} and {{password}} with your credentials, escaping them if they contain any reserved characters.

The py_dlc repository is located on Artifactory, within the pypi-internal and bas-conda-release repositories.

Conda

Prerequesites

To install with Conda, first, ensure your channels are configured as follows:

conda config --add channels conda-forge
conda config --add channels https://conda.atoti.io

Add Private bas-conda-release Repository

You need to add the private repository bas-conda-release as a channel in your Conda environment. You need to use your credentails in this channels definition:

conda config --add channels https://{{username}}:{{password}}@activeviam.jfrog.io/artifactory/bas-conda-release

Install py_dlc with Conda

Once you have all your channels configured, install the py_dlc:

conda install atoti python py-dlc

pip

pip install py_dlc -i https://{{username}}:{{password}}@activeviam.jfrog.io/artifactory/api/pypi/pypi-internal/simple

Poetry

First, follow Poetry’s instructions to configure https://activeviam.jfrog.io/artifactory/api/pypi/pypi-internal/simple as a private repository.

Then:

poetry add py_dlc

Poetry project.toml

Alternatively, you can add the private repo to your project.toml file:

[[tool.poetry.source]]
name = "artifactory"
url = "https://activeviam.jfrog.io/artifactory/api/pypi/pypi-internal/simple/"

And include the py_dlc library:

py_dlc = "*"

Importing

Then you can import the library in your python project:

import py_dlc