Licensed Kafka to Neo4j Graph Ingestion Engine
Project description
KafkaGraph
Licensed Kafka to Neo4j ingestion SDK.
Install
pip install .
Usage
from kafkagraph import KafkaGraph
kg = KafkaGraph(
license_file="license.json",
kafka_config={"brokers": ["localhost:9092"], "group_id": "kafkagraph"},
neo4j_config={"uri": "bolt://localhost:7687", "user": "neo4j", "password": "pass"},
topics_config_path="topics.yaml",
batch_size=500
)
kg.start()
API Key Mode (Test)
Set API keys via environment or a file. If none are provided, 10 deterministic test keys are available.
Environment:
export KAFKAGRAPH_API_KEYS="key1,key2,key3"
# or from a file with one key per line
export KAFKAGRAPH_API_KEYS_FILE=/path/to/apikeys.txt
Use with API key:
from kafkagraph import KafkaGraph
kg = KafkaGraph(
api_key="your_api_key",
kafka_config={"brokers": ["localhost:9092"], "group_id": "kafkagraph"},
neo4j_config={"uri": "bolt://localhost:7687", "user": "neo4j", "password": "pass"},
topics_config_path="topics.yaml",
batch_size=500
)
kg.start()
Default test keys can be generated programmatically:
from kafkagraph.license.api_keys import default_test_keys
print(default_test_keys()) # 10 keys for local testing
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kafkagraph-0.1.1.tar.gz
(7.7 kB
view details)
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 kafkagraph-0.1.1.tar.gz.
File metadata
- Download URL: kafkagraph-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27374924beeed708069abe5c1b01da43b38dea696fb5f7daa74a8b46bcd0f0d8
|
|
| MD5 |
800106d99b681e7576c3064db183183b
|
|
| BLAKE2b-256 |
e68c8f0561b9189488a61411ba11cd36096727feaf6b45a22d00559941066b0a
|
File details
Details for the file kafkagraph-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kafkagraph-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698bc9b6a8b6106f1a80a507561eb03df6d2f030dd89c89a992c089bf2fe6dbc
|
|
| MD5 |
efa0d8063ddd0afc51c37f78e8da6a81
|
|
| BLAKE2b-256 |
a302d376a86b804d5fd3e9ba463b94d6af4b07594d97f01576ee23b19daca1c3
|