AGType parser and driver support for Apache AGE, graph extention for PostgreSQL.
- Unmarshal AGE result data(AGType) to Vertex, Edge, Path
- Cypher query support for Psycopg2 PostreSQL driver (enables to use cypher queries directly)
- over Python 3.9
- This module runs on psycopg2 and antlr4-python3
sudo apt-get update
sudo apt-get install python3-dev libpq-dev
pip install --no-binary :all: psycopg2
pip install antlr4-python3-runtime==4.9.2
python -m unittest -v test_age_py.py
python -m unittest -v test_agtypes.py
git clone https://github.com/apache/age.git
cd age/drivers/python
python setup.py install
pip install apache-age-python
For more information about Apache AGE
- Apache Age : https://age.apache.org/
- Github : https://github.com/apache/age
- Document : https://age.apache.org/age-manual/master/index.html
- apache-age-python GitHub : https://github.com/rhizome-ai/apache-age-python
Connect to your containerized Postgres instance and then run the following commands:
# psql
CREATE EXTENSION age;
LOAD 'age';
SET search_path = ag_catalog, "$user", public;
- If you are familiar with Psycopg2 driver : Go to Jupyter Notebook : Basic Sample
- Simpler way to access Apache AGE AGE Sample in Samples.
- Agtype converting samples: Agtype Sample in Samples.
Apache-2.0 License