A Python package for accessing decision data from JustDecision.com
Project description
decision_lab
Introduction
decision_lab
is a Python library that provides a simple and intuitive interface for creating and managing "decisions" that can be accessed via APIs. With decision_lab
, you can make code behavior changes without changing the code itself, saving time and money on development and maintenance.
Key Features
- Create and edit decisions through a user-friendly interface.
- Access decisions via APIs to make code behavior changes without modifying the codebase.
- Improve user experience and business outcomes with flexible and scalable decision management.
Use Cases
- Change the welcome message on a website header by editing a decision in the UI, and the change will be reflected on the website.
- Modify the user list in a backend Python code by calling
decision.user_list
, without making changes to the codebase.
Getting Started
To get started with decision_lab
, you need to provide the UUID for accessing decisions. The UUID can be set as an environment variable DECISION_LAB_UUID
or passed as an argument when creating an instance of the DecisionLab
class.
from decision_lab import DecisionLab
# Create an instance of DecisionLab with UUID
decision_lab = DecisionLab(uuid='your-uuid')
# Get the list of decisions
decisions_list = decision_lab.get_decisions_list()
# Get a specific decision by name
decision = decision_lab.get_decision('decision_name')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
decisionlab-0.0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for decisionlab-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b91442b33b98237bde20be2ff592c04e21f5caa6ba535e38b7763b16bc619d8f |
|
MD5 | a284f92640df15c1d3d7678bafe6be19 |
|
BLAKE2b-256 | 032ca701dca33c6165ebedd2fc3fb1ff4e80038fc9866d45b7a9fa352023af77 |