git clone https://github.com/crate/langchain-cratedb.git
cd langchain-cratedb
poetry install --with lint,test,typingdocker run --rm \
--publish=4200:4200 --publish=5432:5432 --env=CRATE_HEAP_SIZE=2g \
crate:latest -Cdiscovery.type=single-nodeRun linters and software tests.
make checkFormat code.
make formatRun tests selectively.
pytest -vvv tests/test_docs.py tests/test_examples.pypytest -vvv -k standardpytest -vvv -k cratedb- Bump version in
pyproject.toml'stool.poetry.version. - Update
CHANGES.mdcorrespondingly. - Commit both files with
Release 0.2.0. - Tag repository
git tag v0.2.0. - Build and upload package.
poetry build twine upload --skip-existing dist/*{.tar.gz,.whl}
This package has been bootstrapped using langchain-cli integration new,
see also How to implement an integration package.
Other fragments have been derived from langchain-datastax, langchain-mongodb, and langchain-postgres.