Skip to content

Commit

Permalink
Update the Python Driver (#1246)
Browse files Browse the repository at this point in the history
- Updated the README contents of the Python driver for the pypi
release.
- Fixed errors in test_age_py.py that was causing connectivity issues.
  • Loading branch information
dehowef authored Sep 22, 2023
1 parent dc82449 commit c171573
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 372 deletions.
9 changes: 9 additions & 0 deletions drivers/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

Apache AGE](https://age.apache.org/) is a PostgreSQL extension that provides graph database functionality. The goal of the Apache AGE project is to create single storage that can handle both relational and graph model data so that users can use standard ANSI SQL along with openCypher, the Graph query language. This repository hosts the development of the Python driver for this Apache extension (currently in Incubator status). Thanks for checking it out.

A graph consists of a set of vertices (also called nodes) and edges, where each individual vertex and edge possesses a map of properties. A vertex is the basic object of a graph, that can exist independently of everything else in the graph. An edge creates a directed connection between two vertices. A graph database is simply composed of vertices and edges. This type of database is useful when the meaning is in the relationships between the data. Relational databases can easily handle direct relationships, but indirect relationships are more difficult to deal with in relational databases. A graph database stores relationship information as a first-class entity. Apache AGE gives you the best of both worlds, simultaneously.

Apache AGE is:

- **Powerful** -- AGE adds graph database support to the already popular PostgreSQL database: PostgreSQL is used by organizations including Apple, Spotify, and NASA.
- **Flexible** -- AGE allows you to perform openCypher queries, which make complex queries much easier to write.
- **Intelligent** -- AGE allows you to perform graph queries that are the basis for many next level web services such as fraud & intrustion detection, master data management, product recommendations, identity and relationship management, experience personalization, knowledge management and more.

# AGE AGType parser and driver support for Python
AGType parser and driver support for [Apache AGE](https://age.apache.org/), graph extension for PostgreSQL.
Expand Down
Binary file modified drivers/python/requirements.txt
Binary file not shown.
11 changes: 6 additions & 5 deletions drivers/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@
long_description = fh.read()

setup(
name = 'age',
version = VERSION.VERSION,
name = 'apache-age-python',
version = '0.0.7',
description = 'Python driver support for Apache AGE',
long_description=long_description,
long_description_content_type="text/markdown",
author = 'Apache AGE',
author = 'Ikchan Kwon, Apache AGE',
author_email = '[email protected]',
url = 'https://github.com/apache/age',
url = 'https://github.com/apache/age/tree/master/drivers/python',
download_url = 'https://github.com/apache/age/releases' ,
license = 'Apache2.0',
install_requires = [ 'psycopg2', 'antlr4-python3-runtime==4.11.1'],
install_requires = [ 'psycopg2', 'antlr4_python3_runtime==4.11.1'],
packages = ['age', 'age.gen'],
keywords = ['Graph Database', 'Apache AGE', 'PostgreSQL'],
python_requires = '>=3.9',
Expand Down
Loading

0 comments on commit c171573

Please sign in to comment.