Darwinium develop and maintain Python packages as tools to interact with constructs like Features and Rules.
Credentials
The packages are imported using your Darwinium Portal email, and password by generating an Access Token from within Darwinium Portal. See The Darwinium Package repository
It is recommended the EMAIL/TOKEN are treated as sensitive and not hardcoded.
Import
Importing the package with package manager of choice
EMAIL = Email of user with Darwinium Portal access
TOKEN = Token generated from Darwinium Portal
PACKAGENAME = Darwinium package to install
Pip:
pip install --index-url https://EMAIL:TOKEN@dwnedge.jfrog.io/artifactory/api/pypi/pypi/simple PACKAGENAME
Available Package Names
| Package Name | Description |
|---|---|
| dwn_ext_decision | Utility classes for creating and maintaining features, rules and strategy files |
| dwn_ext_call_api | Utility classes for calling Darwinium APIs |