Full-Stack Data/Knowledge Management with Neo4j version 4
Project description
Brain Annex - a full technology stack on top of GRAPH DATABASES
This is a mono-repository of:
- The "Brain Annex" python library
- The "Brain Annex" web app (backend and frontend)
Graph databases currently supported:
- Neo4j, version 4.4 (the final release of major version 4)
- Neo4j, version 5.26 (the final release of major version 5)
- We expect to later support others, possibly Memgraph and AWS Neptune
Do you only care about the python library?
Simply:
pip install brainannex-neo4jv4
orpip install brainannex-neo4jv5
(based on which major version of Neo4j you use.)
Nothing else to do!
Then use it with imports such as:
from brainannex import GraphAccess
(notice that we are just saying brainannex here, NOT the full install name!)
IMPORTANT for installing the web app - to switch between supported databases:
- Must change the database driver, in the first line of
requirements.txt - Must comment/uncomment the appropriate version lines in the
brainannex/__init__.pyfile, for theInterGraphmodule, which is database-specific.
Website: https://BrainAnnex.org
Brain Annex's Technology Stack (Overview)
BRAIN ANNEX PYTON LIBRARY
From lower to higher levels:
-
InterGraph library (low-level, database-specific layer)
-
GraphAccess library (python interface offering many services)
-
GraphSchema library (optional Schema layer)
-
plus several other specialized high-level libraries
What is a "Schema layer"?
A schema layer harmoniously brings together the best of the flexibility ("anything goes!") of graph databases, and the "law and order" aspect of relational databases!
BRAIN ANNEX WEB APP
-
Python/Flask (for web API, and web app pages)
-
Vue2.js
EXAMPLE of use case : Multimedia Knowledge Representation and Management
What are Neo4j/Graph Databases, and why do they matter?
If you're new, here's a gentle brief intro.
Brain Annex's Technology Stack (Details)
Brain Annex may be used as a standalone web app, or used to power other web apps.
The libraries that are the bottom layers may also be used independently.
How to set up and use Brain Annex WEB APP
(Note: if you only care about the python library, just pip install it! This section doesn't apply to you!)
The underlying graph database and the Brain Annex web app may be installed either locally or on a remote server.
The database and web app may reside on the same or different machines.
SETUP
EXAMPLES of Schemas available for import
(For instructions on how to import the Schemas, see the setup page, above)
EXAMPLE 1 - the available default Multimedia Content Management System
The ROOT node for the Categories is shown in blue at the top.
EXAMPLE 2 - same as example 1, but with sample extra Classes (representative of user-added schema)
The diagram below is split in 2 parts, for readability.
"chem" is an example of a custom Class.
The following second half of the diagram shows the remainder of the Schema, detailing Classes that are instances of the "Records" Class. Most of the items in this diagram are examples of typical user-added schema:
Major components
-
GraphAccess : a library to connect to Neo4j with python. It provides many services. Link
-
GraphSchema : a higher-level schema-based library on top of GraphAccess. Link
Article explaining this layer -
CK Editor : open-source JavaScript library to implement an online HTML Editor.
Website. (Note: Brain Annex uses version 4 of the CK Editor) -
API : the endpoints appear in this file
-
Web pages : the pages generated by Brain Annex are listed in this routing file
-
Navigation bar : Brain Annex can be used either as a standalone web app, or integrated with another site.
The navigation is implemented in this package
Project website: https://BrainAnnex.org
The lead author of Brain Annex can be reached on LinkedIn
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brainannex_neo4jv4-5.0rc6.tar.gz.
File metadata
- Download URL: brainannex_neo4jv4-5.0rc6.tar.gz
- Upload date:
- Size: 150.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4942fbea56fc66525e25295cc28ef356b0264a4ac0e996b65b96008d12ab49f4
|
|
| MD5 |
57ac2dfc1897d8f16cdcef607c1cadc9
|
|
| BLAKE2b-256 |
ea73ff0afba8109cbfd4499b2c8d6b81d5587d67c732b9778c984a770eec4fb0
|
File details
Details for the file brainannex_neo4jv4-5.0rc6-py3-none-any.whl.
File metadata
- Download URL: brainannex_neo4jv4-5.0rc6-py3-none-any.whl
- Upload date:
- Size: 158.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3565d59a13368481ed1dd4dce2e226083d645418d6e6ee4cc514e07bad2fca26
|
|
| MD5 |
7eaa09095ed6c05408dc585dfe312899
|
|
| BLAKE2b-256 |
e7095b7b082ca97a2a0150b55ee0ff0e702b80a5055cdc4d4ca264ec0450733c
|