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.
Metadata
Release files for graphflex 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graphflex-0.1.1.tar.gz | 9.7 kB | Without provenance | Details for graphflex-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphflex-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for graphflex-0.1.1-py3-none-any.whl |
Total release size: 23.4 kB
Release files / graphflex-0.1.1.tar.gz
| Download URL | graphflex-0.1.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
535d77bbeaf2f45d4010d4f47ec9e571c98ed04ec1ee65b0942da0b306c953cf
|
|
BLAKE2b-256 checksum How to use checksums |
7fa041d371a95f77846539a2c04b280deab9dbd6c38fcecb25b7ccb22ebe05e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / graphflex-0.1.1-py3-none-any.whl
| Download URL | graphflex-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
033bc3235055fa622ee05ad4bf5dcbd0c29afa19629f21b3180c39b3c32cd792
|
|
BLAKE2b-256 checksum How to use checksums |
343f1b379655408dcb7bc455e0f38b3343a156b0d7750874305e89449e7fbb23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for graphflex 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.