projx - Graph transformations in Python
Alpha Version API breaking changes may occur over the next several months.
projx provides two ways to interact with graphs: - A DSL based on Neo4j Cypher for executing graph transformations using a Python DB like API. - A programmatic api that consumes JSON ETL configuration objects and executes graph transformations. Based on orientdb-etl.
Currently only supports networkx.Graph
Example Notebook: http://nbviewer.ipython.org/github/davebshow/projx/blob/master/projx_demo.ipynb
Real docs coming soon at: http://projx.readthedocs.org/en/latest/#
Thanks to @versae for inspiring this project.
v0.1.0, 11/07/2014 – alpha release.
v0.1.1, 11/10/2014 – alpha release.
v0.1.2, 11/17/2014 – added basic support for predicates.
v0.1.3, 12/22/2014 – support for edge type criteria in traversals.
v0.1.4, 12/24/2014 – fixed bug in MatchPattern class.
v0.1.5, 12/31/2014 – automatically indexing nodes with integers. implemented “COMBINE” statements. fixed bug in add_nodes_from method. changed to lowercase package name in PyPi, broken API.
v0.2.0, 01/03/2015 – complete refactor. implemented ETL API.
v0.2.2, 01/03/2015 – minor bug fixes in api, etl.
v0.2.3, 01/04/2015 – added preliminary support for AS alias assignment. Simplified DB API, no close methods.
v0.2.4, 01/04/2015 – simplifying api.
v0.2.5, 01/06/2015 – finished refactoring code base. API is finally stable…ish.
v0.2.6, 01/07/2015 – removed AS/aliasing from DSL. Attributes are only set on TRANSFER destination or new node or edge as a result of COMBINE and PROJECT. METHOD now accepts a function (ATTRS, EDGES, JACCARD) and functions take args Type1, Type2 …. EDGES function now accepts types as args to determine valid transfers.
v0.2.7, 01/09/2015 – added node_type_attr and edge_type_attr to api.Projection class. added explicit keyword args to nxprojx.project and nxprojx.transfer. streamlining code base.
v0.2.8, –etl._value_lookup now fails quietly. fixed bug in grammar.
Release files for projx 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| projx-0.2.8.tar.gz | 11.0 kB | Details |
Release files / projx-0.2.8.tar.gz
| Download URL | projx-0.2.8.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5dcbc6cf1802f6d53e1921d8b95e5d2856efe1575b207418d48babe1b993997
|
|
BLAKE2b-256 checksum How to use checksums |
a2b8cd657899d9b1c9375b45d8d37d59b8c3358c8ef6f4bb3c86db9892df7623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |