Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pamelafox/pgvector-playground
A dev container for using PostgreSQL + pgvector in Python, with SQLAlchemy, SQLModel, psycopg2, and asyncpg examples.
https://github.com/pamelafox/pgvector-playground
Last synced: 5 days ago
JSON representation
A dev container for using PostgreSQL + pgvector in Python, with SQLAlchemy, SQLModel, psycopg2, and asyncpg examples.
- Host: GitHub
- URL: https://github.com/pamelafox/pgvector-playground
- Owner: pamelafox
- Created: 2024-02-26T18:40:56.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T21:36:06.000Z (3 months ago)
- Last Synced: 2024-10-26T11:09:05.071Z (about 2 months ago)
- Language: Dockerfile
- Size: 7.95 MB
- Stars: 20
- Watchers: 2
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - pamelafox/pgvector-playground - A dev container for using PostgreSQL + pgvector in Python, with SQLAlchemy, SQLModel, psycopg2, and asyncpg examples. (Dockerfile)
README
# PostgreSQL + pgvector Dev Container / Codespace
This is a PostgreSQL dev container for use with VS Code Remote Containers or GitHub Codespaces.
The devcontainer.json uses a docker-compose.yaml to set up a local PostgreSQL server inside the container.For use with the local PostgreSQL server, copy `.env.devcontainer` into `.env`.
For use with an Azure PostgreSQL server, copy `.env.azure` into `.env` and adjust the host name, user name, and password.
Then run one of the examples in the `examples` directory.