Flexible Framework for Graph Feature Engineering
Project description
GraphFlex
Flexible Framework for Graph Feature Engineering
GraphFlex is a modular and extensible framework for graph-based feature engineering in Python. It allows seamless integration of graph datasets with traditional machine learning pipelines using familiar tools like scikit-learn.
🔗 Homepage & Documentation: GraphFlex on GitHub
📦 Installation
pip install graphflex
Optional Dependencies
GraphFlex supports several optional extras. Install them with:
pip install "graphflex[dgl]"
pip install "graphflex[neo4j]"
pip install "graphflex[rdflib]"
pip install "graphflex[full]" # all optional features
🔍 Example Usage
# GraphFlex pipeline
from graphflex import GraphFlex
from graphflex.functions.postprocessing.filter import NonUniqueFeatureFilter
from graphflex.functions.feature import MeanStdFeature
from graphflex.functions.edgenode import NumericalEdgeNode
connect = Connector(...) #use defined connector here
gflex = GraphFlex(
connector=connect,
node_feature=MeanStdFeature(),
edge_node_feature=NumericalEdgeNode(),
post_processor=NonUniqueFeatureFilter()
)
nodes = ...
feature_matrix = gflex.fit_transform(nodes)
✨ Features
- Plug-and-play feature extraction for graph nodes
- Compatible with
scikit-learnpipelines - Support for multiple graph backends (DGL, RDFLib-HDT, Neo4j, ...)
- Built-in feature functions and postprocessing modules
- Easily extendable with custom logic
📚 Documentation
For full documentation, examples, and API reference, visit the GraphFlex repository.
⚙ Dependencies
- Python ≥ 3.10
numpy,pandas,scikit-learn,tqdm- Optional:
dgl,torch,torchdata,rdflib-hdt,neo4j,PyYAML,pydantic
👤 Author
Bram Steenwinckel – bram.steenwinckel@ugent.be
📄 License
This project is licensed under the MIT License.
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 graphflex-0.1.1.tar.gz.
File metadata
- Download URL: graphflex-0.1.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535d77bbeaf2f45d4010d4f47ec9e571c98ed04ec1ee65b0942da0b306c953cf
|
|
| MD5 |
b3feed5191b394acc48a7abe0d270512
|
|
| BLAKE2b-256 |
7fa041d371a95f77846539a2c04b280deab9dbd6c38fcecb25b7ccb22ebe05e5
|
File details
Details for the file graphflex-0.1.1-py3-none-any.whl.
File metadata
- Download URL: graphflex-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033bc3235055fa622ee05ad4bf5dcbd0c29afa19629f21b3180c39b3c32cd792
|
|
| MD5 |
7c7aed45fab4b32a12a2755db9be920d
|
|
| BLAKE2b-256 |
343f1b379655408dcb7bc455e0f38b3343a156b0d7750874305e89449e7fbb23
|