Experimentation Library
We are thrilled you decided to contribute to Doordash Experiment Library!
Doordash Experimentation Library Dev Environment setup
Python
The easiest way to install the python version for this project is to use pyenv. Follow these steps:
brew install pyenv- Add pyenv initializer to shell startup script
~/.bash_profile:echo 'eval "$(pyenv init -)"' >> ~/.bash_profile pyenv install 3.8.10pyenv shell 3.8.10
To confirm that you have the right python version, simply run python in your terminal. This codebase should work with any Python ~3.8 version
Package dependencies
To install package depenencies, follow these steps:
make install-deps. This command will do the following:- It wil create a virtual environment in the root of the project.
- It will install poetry, which is being used for dependency management and package development
- Poetry will install all the dependencies from
poetry.lockfile - It will install pre-commit hooks that are used for linting and formatting.
- Set up artifactory config by running
poetry config http-basic.artifactory username passwordwith your artifactory username and password - If you want to update your dependencies, you can run
poetry update.
Other make commands
make shell: will start a bash terminal inside the container based ofDockerfilefound in the project directory. This can be useful for running code in a more isolated environment that mimicks the CI/CD system.make local-build: this will build the sdist and the wheel for the library and put them indistdirectory.make unittest: this will run tests locally
To perform development in a container using VsCode, please follow this guide.
License
This library is released under the Apache 2.0 license. See LICENSE for details.
Metadata
Release files for causal-test-again 0.1.67
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| causal_test_again-0.1.67.tar.gz | 602.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| causal_test_again-0.1.67-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 991.3 kB
Release files / causal_test_again-0.1.67.tar.gz
| Download URL | causal_test_again-0.1.67.tar.gz |
|---|---|
| Size | 602.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b1cbb9a0b36d73f109dea814ef94bdb2c07eef6bc369586c6d621250ed1973c
|
|
BLAKE2b-256 checksum How to use checksums |
ef9243bc5f19b7718baa42cf5cdc2513ff8107dd0c2967ba53a892e69d0305a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Darwin/22.5.0
|
Release files / causal_test_again-0.1.67-py3-none-any.whl
| Download URL | causal_test_again-0.1.67-py3-none-any.whl |
|---|---|
| Size | 388.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6309e20a3bcfa623079ae43f31303ed1c08556288f036bffd1d2fe6b0f4c3cb
|
|
BLAKE2b-256 checksum How to use checksums |
5a64a488980ec715ec47dc0a8df64b84542981b903d7bc54c92ed3c245052680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Darwin/22.5.0
|
Security for causal-test-again 0.1.67
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.