Skip to main content

More phthonic, humanize way to play with graphdb

Project description

The target of this project is: More pythonic, humanize way to play with graph model


pip install graphic

Basic Example

>>>from graphic import use_neo4j
>>>neo4j = use_neo4j()
>>>boss = graphic.node('Boss', uid=1234)._as('b')
>>>geek = graphic.node('Geek', uid=2345)._as('g')
>>>neo4j.push(graphic.relationship(boss, geek, 'WORKTAT', startat=3432432)
>>>q = graphic.node().filter(id__gt=123).select('id')
>>>graph = neo4j.fetch(q)
>>>from graphic.query.func import avg
>>>q = graphic.node().select(avg('uid')).order_by('-id').limit(10)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for graphic, version 1.0.0a6
Filename, size File type Python version Upload date Hashes
Filename, size graphic-1.0.0a6.tar.gz (57.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page