Skip to main content

outplan

Build Status GitHub

Support nested experiment/namespace base on PlanOut

Install

pip install outplan

Usage

from outplan import NamespaceItem, ExperimentItem, GroupItem, ExperimentGroupClient

SimpleNamespace = NamespaceItem(
    name="namespace_1",
    bucket=10,
    experiment_items=[
        ExperimentItem(
            name="exp_1",
            bucket=10,
            group_items=[
                GroupItem(name="a", weight=0.5),
                GroupItem(name="b", weight=0.5),
            ]
        ),
    ]
)

client = ExperimentGroupClient([SimpleNamespace])

print(client.get_group("namespace_1", unit="your_unit"))


# nested experiment/namespace is defined at `tests/test_experiment.py`

Dev

# install deps (once)
pip install -e .[test]

# run test
make test

# commit
pip install pre-commit
# and commit here

Metadata

Release files for outplan 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for outplan 3.0.1
File Size Uploaded Provenance Actions
outplan-3.0.1.tar.gz 14.9 kB Without provenance Details for outplan-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for outplan 3.0.1
File Interpreter ABI Platform Actions
outplan-3.0.1-py3-none-any.whl Python 3 none any Details for outplan-3.0.1-py3-none-any.whl

Total release size: 26.0 kB

Release files / outplan-3.0.1.tar.gz

Download URL outplan-3.0.1.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3d47fc0fa8d3e1d591c0db3ef18a01e6a3934674de90bc621abcb777583c74e7
BLAKE2b-256 checksum
How to use checksums
ee65177cb351d04a59f267e40812f9dededdf461c2ab5b9d8e4551cfcb824b7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / outplan-3.0.1-py3-none-any.whl

Download URL outplan-3.0.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86e1c9a73cfb1f2383a557a89689d4b5d4a96b4fce9db77a26b3370aeb416af0
BLAKE2b-256 checksum
How to use checksums
3a9165a4ce53067ff7525e6b4ec5dfe9d28dd75767ceb07615e9b3230497be12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for outplan 3.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page