A Luigi Target implementation using ChromaDB.
Project description
luigi-chromadb-target
A Luigi Target implementation using ChromaDB.
Installation
Install the package via pip:
pip install luigi-chromadb-target
Usage
from luigi_chromadb_target import ChromaTarget
import chromadb
# initialize the client (and the collection)
client = chromadb.Client()
client.create_collection(name="documents")
# Use ChromaTarget
target = ChromaTarget(client, "documents", "my-document-id")
with target.open('w') as f:
f.write('This is some content.')
with target.open('r') as f:
content = f.read()
print(content) # Outputs: This is some content.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file luigi_chromadb_target-1.0.0.tar.gz.
File metadata
- Download URL: luigi_chromadb_target-1.0.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
355f5c326f251b9892b41ad437be11189688a2daf574a528bbf4e68a40a12507
|
|
| MD5 |
9a089c10aa8c7452f16ab84e540889e3
|
|
| BLAKE2b-256 |
0d53d2324a76c54fe88181694d21d6cf802960b20fd24b1d73351b69d6a10f93
|
File details
Details for the file luigi_chromadb_target-1.0.0-py3-none-any.whl.
File metadata
- Download URL: luigi_chromadb_target-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4a94ddf760e5e3a878a8c98b31f3bf9b950f28d0e9d95292cf7bb036ac5d67e
|
|
| MD5 |
450a99b109876d257bcf56edcd67ecfb
|
|
| BLAKE2b-256 |
3f351ad5a5a4ae4b100923f128f5f00c21b50cc6317280f3a0d131dc6ed9916b
|