{"id":20147988,"url":"https://github.com/ate329/vdbpy","last_synced_at":"2026-05-15T20:04:11.452Z","repository":{"id":182070260,"uuid":"667914195","full_name":"Ate329/VDBpy","owner":"Ate329","description":"A simple python vector database allows difference search methods (consine similarity and euclidean distance ect.)","archived":false,"fork":false,"pushed_at":"2024-03-04T19:38:19.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T13:51:42.432Z","etag":null,"topics":["database","simple-project","vector-database"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ate329.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-18T15:27:38.000Z","updated_at":"2023-11-11T21:21:53.000Z","dependencies_parsed_at":"2023-07-18T16:21:47.214Z","dependency_job_id":"fd32df4b-89e9-4d2a-9ceb-fd3ea47fcfb8","html_url":"https://github.com/Ate329/VDBpy","commit_stats":null,"previous_names":["ateee329/vdbpy","ate329/vdbpy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ate329/VDBpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ate329%2FVDBpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ate329%2FVDBpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ate329%2FVDBpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ate329%2FVDBpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ate329","download_url":"https://codeload.github.com/Ate329/VDBpy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ate329%2FVDBpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33077979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","simple-project","vector-database"],"created_at":"2024-11-13T22:33:19.337Z","updated_at":"2026-05-15T20:04:11.435Z","avatar_url":"https://github.com/Ate329.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VDBpy\nA simple vector database allows difference search methods (consine similarity and euclidean distance ect.)\n\n\n## Usage\nView example.py for details\n\n```python\nfrom VDBpy.indexing import VectorIndex\nfrom VDBpy.query import VectorQuery\n\n# Create a new vector index\nindex = VectorIndex()\n\n# Add some vectors to the index\nindex.add_vector([1, 2, 3], 'vector1')\nindex.add_vector([4, 5, 6], 'vector2')\n\n# Create a new vector query\nquery = VectorQuery(index)\n\n# Execute the query\nresults = query.execute([2, 2, 2], k=2)\n\n'''\n# Execute the query using cosine similarity\nresults = query.execute([2,2,2], k=2, metric='cosine')\n# Execute the query using Manhattan distance\nresults = query.execute([2,2,2], k=2, metric='manhattan')\n# Execute the query using Jaccard similarity\nresults = query.execute([2,2,2], k=2, metric='jaccard') # for some reasons jaccard similarity is not working\n# Execute the query using Euclidean distance\nresults = query.execute([2,2,2], k=2, metric='euclidean') \n'''\n\n# Print the results\nfor id, similarity in results:\n  print(f\"ID: {id}, Similarity: {similarity}\")\n```\n\n\n## Installation\n\n```bash\npip install VDBpy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fate329%2Fvdbpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fate329%2Fvdbpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fate329%2Fvdbpy/lists"}