From d792f52b9a34dc393c4cdb2099465d071d0bd1bb Mon Sep 17 00:00:00 2001 From: "Eric O. Korman" Date: Sat, 9 Nov 2024 08:14:16 -0600 Subject: [PATCH] update publish workflow (#15) * update pypi publish workflow * update readme and project description --- .github/workflows/build-and-publish.yml | 4 ++-- README.md | 8 ++++---- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index a62312d..d78a6e5 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -8,6 +8,8 @@ on: jobs: build-and-publish: runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -17,5 +19,3 @@ jobs: run: pip install build && python -m build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/README.md b/README.md index 34cfc8c..70172fe 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ Note: this project is very similar to [vectordb-orm](https://github.com/piercefr ## Installation ```bash -pip install affine -# or `pip install affine[qdrant]` for qdrant support -# `pip install affine[weaviate]` for weaviate support -# `pip install affine[pinecone]` for pinecone support +pip install affine-vectordb +# or `pip install "affine-vectordb[qdrant]"` for qdrant support +# `pip install "affine-vectordb[weaviate]"` for weaviate support +# `pip install "affine-vectordb[pinecone]"` for pinecone support ``` ## Basic Usage diff --git a/pyproject.toml b/pyproject.toml index c39d5a5..29197f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "affine-vectordb" dynamic = ["version"] -description = "" +description = "A unified interface for vector databases" readme = "README.md" requires-python = ">=3.8" dependencies = ["typing-extensions", "numpy"]