Hello and welcome to the project! đ
Weâre thrilled that youâre considering contributing to the project. This project is a collaborative effort and we welcome contributors from everyone.
Before you start, please take a few moments to read through these guidelines. They are designed to make the contribution process easy and effective for everyone involved. Also take a look at the code organization for a birdâs eye view of the repository.
The guidelines document is organized as the following sections:
Lemonade Server Demos aim to be reproducible in under 10 minutes, require no code changes to the app youâre integrating, and use an app supporting the OpenAI API with a configurable base URL.
Please see AI Toolkit ReadMe for an example Markdown contribution.
Weâre excited to see what you build! If youâre unsure about your idea or need help unblocking an integration, feel free to reach out via GitHub Issues or email.
If you wish to contribute to any other part of the repository such as examples or reporting, please open an issue with the following details.
Please file any bugs or feature requests you have as an Issue and we will take a look.
Contribute code by creating a pull request (PR). Your PR will be reviewed by one of the repo maintainers.
Please have a discussion with the team before making major changes. The best way to start such a discussion is to file an Issue and seek a response from one of the repo maintainers.
Tests are defined in tests/
and run automatically on each PR, as defined in our testing action. This action performs both linting and unit testing and must succeed before code can be merged.
We donât have any fancy testing framework set up yet. If you want to run tests locally:
conda
environment that has lemonade-sdk
(this package) installed.conda install pylint
if you havenât already (other pylint installs will give you a lot of import warnings).pylint src --rcfile .pylintrc
from the repo root.python *.py
for each test script in test/
.We use semantic versioning, as described in versioning.md.
Lemonade SDK is provided as a package on PyPI, the Python Package Index, as lemonade-sdk. The release process for pushing an updated package to PyPI is mostly automated, however (by design), there are a few manual steps.
main
.v
(lowercase), followed by the contents of the string in version.py.
version.py
contains __version__ = "4.0.5"
, the string is 4.0.5
and you should write v4.0.5
into the text box.pip install lemonade-sdk
may not find the new update for a few more minutes.