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.0.tar.gz
(7.6 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.0.tar.gz.
File metadata
- Download URL: kafkagraph-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69826001563f3ecb14866ecfb44d55d736c13810738cf9d2099bf4ea79b48f60
|
|
| MD5 |
fe3b0ad4e6c3d1e61738a846b694ad1b
|
|
| BLAKE2b-256 |
9b2b0464d643b061d0230bd05f040e29f3f02c65220b8534f4577a1afd18f260
|
File details
Details for the file kafkagraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kafkagraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 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 |
a44799192e03dc308afb7d246e354b940f341df643d5314b4765df5168053457
|
|
| MD5 |
5f147afe15114c7b764abd196f621269
|
|
| BLAKE2b-256 |
bdcc3b113544a38e63aff03421e3ffae5fde78a1d011940b998d0f5a577f7700
|