scrutinize
This is the python client for the scrutinize experimentation platform.
Installation
To install the client, use pip:
pip install scrutinize
Usage
Once installed, you can publish metrics and conduct experiments using the client API.
Publishing Metrics
from scrutinize import ScrutinizeClient
scrutinize = ScrutinizeClient('https://scrutinize-location')
await scrutinize.observe(
user_id='wilma_rudolph',
metric='purchased_coffee',
value=True,
)
Running an experiment
from scrutinize import ScrutinizeClient
from my_library import can_user_have_free_coffee
scrutinize = ScrutinizeClient('https://scrutinize-location')
give_free_coffee = await scrutinize.call(
experiment_name='eng.give_user_free_coffee',
user_id='wilma_rudolph',
control=False,
experiment=lambda: can_user_have_free_coffee('wilma_rudolph'),
)
Release files for scrutinize 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scrutinize-0.0.6.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrutinize-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / scrutinize-0.0.6.tar.gz
| Download URL | scrutinize-0.0.6.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03c7998d34a9427aca397216a352571d431c0429e24d0678072b0eb77df2871b
|
|
BLAKE2b-256 checksum How to use checksums |
951c1756c08a127629d0d784b8f0ecdf8f5ca24deaffc8f186b25771ee01a39b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
|
Release files / scrutinize-0.0.6-py3-none-any.whl
| Download URL | scrutinize-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa033dea17774821182ff9be02359674139b36d6610e50775e35816eb28735cb
|
|
BLAKE2b-256 checksum How to use checksums |
593465fc019a6de5d8eca77a44fde5b53d59534609a48e3f9fc6fe828eaf705b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
|