Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Conversation

ploomiz
Copy link
Contributor

@ploomiz ploomiz commented Apr 27, 2022

Issue: https://github.com/Eppo-exp/eppo/issues/2907

Description

This PR does the basic repository setup for the Python SDK. It does not include any randomization code.

  • Added CHANGELOG, README
  • Test setup - using tox and pytest
  • Added a github workflow for running tests and lint checks.
  • Use black as the formatter
  • Added a pull request and issue template

Testing

  1. Uploaded the project to TestPyPI (a test version of the real package manager)
python3 -m twine upload --repository testpypi --skip-existing dist/*
  1. Verified I can install the package from a virtual env
mkdir testenv
python3 -m venv testenv
source testenv/bin/activate
(testenv) ❯ python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps eppo-server-sdk
(testenv) ❯ python3
>>> from eppo_client import example
>>> example.add_one(1)
2

@ploomiz ploomiz changed the title repo setup Initial setup of repository Apr 27, 2022
@ploomiz ploomiz requested review from schmit, petzel and vpai April 27, 2022 22:53
@ploomiz ploomiz marked this pull request as ready for review April 27, 2022 22:54
Copy link
Contributor

@schmit schmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ploomiz ploomiz merged commit 8ac01c0 into main Apr 28, 2022
@ploomiz ploomiz deleted the repo-setup branch April 28, 2022 02:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants