Skip to main content

Graph transformations in Python

Project description

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

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.

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

projx-0.2.8.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file projx-0.2.8.tar.gz.

File metadata

  • Download URL: projx-0.2.8.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for projx-0.2.8.tar.gz
Algorithm Hash digest
SHA256 d5dcbc6cf1802f6d53e1921d8b95e5d2856efe1575b207418d48babe1b993997
MD5 203e2f44cd35dd195ceb68c17c1aec44
BLAKE2b-256 a2b8cd657899d9b1c9375b45d8d37d59b8c3358c8ef6f4bb3c86db9892df7623

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page