agensgraph-0.0.2
توضیحات
A Python driver for Agensgraph
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | agensgraph-0.0.2 |
| نام | agensgraph |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | IOMED Medical Solutions SL |
| ایمیل نویسنده | dev@iomed.es |
| آدرس صفحه اصلی | https://github.com/iomedhealth/agensgraph |
| آدرس اینترنتی | https://pypi.org/project/agensgraph/ |
| مجوز | MIT |
# Agensgraph python driver
A psycopg2 extension to use [AgensGraph][1] with Python.
### Documentation
Go to [Psycopg's documentation][2] for documentation about the Python interface and to [AgensGraph][1] documentation for AgensSQL. If you want to learn more about Cypher, I recommend you to go to [Neo4j's][3] documentation.
### How to
```python
import agensgraph
conn = agensgraph.connect("dbname=iomed") # Equivalent to psycopg2.connect
cur = conn.cursor()
cur.execute("SET graph_path=snomed;")
cur.execute("MATCH (a)-[r]->(b) RETURN a,r,b LIMIT 10;")
result = cur.fetchall()
```
**Copyright © 2017, IOMED Medical Solutions S.L.**
[1]: http://bitnine.net/wp-content/uploads/2017/06/html5/main.html
[2]: http://initd.org/psycopg/docs/index.html
[3]: https://neo4j.com/docs/developer-manual/current/cypher/
نحوه نصب
نصب پکیج whl agensgraph-0.0.2:
pip install agensgraph-0.0.2.whl
نصب پکیج tar.gz agensgraph-0.0.2:
pip install agensgraph-0.0.2.tar.gz