← Open Source
MazzaWill

neo4j-python-pandas-py2neo-v3

Excel-to-Neo4j knowledge graph examples: legacy py2neo v3 plus modern Neo4j GraphRAG/vector search.

TutorialsTool-specific tutorialsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
580
Stars
187
Forks
+0
This week
1
Contributors
Created 2018-11-13 · Updated 2026-09-24 · #16640 today
Top developers
MazzaWill

MazzaWill/neo4j-python-pandas-py2neo-v3 is ranked 16,640 with 580 stars.

Same-category comparison

MazzaWill/neo4j-python-pandas-py2neo-v3 is ranked 16,640 among these 8 peers; claudio-silva/claude-artifact-runner is ranked 16,644.

Same-category comparison
NameRankMetrics
bkitano/llama-from-scratch16,596
Language:
Jupyter Notebook
Stars:
582
Forks:
55
Description:
Llama from scratch, or How to implement a paper without crying.
hellotransformers/Natural_Language_Processing_with_Transformers16,599
Stars:
582
Forks:
121
rasbt/stat453-deep-learning-ss2016,630
Language:
Jupyter Notebook
Stars:
581
Forks:
167
Description:
STAT 453: Intro to Deep Learning @ UW-Madison (Spring 2020).
the-ai-merge/multimodal-agents-course16,632
Language:
Python
Stars:
581
Forks:
149
Description:
An MCP Multimodal AI Agent with eyes and ears.
claudio-silva/claude-artifact-runner16,644
Language:
TypeScript
Stars:
580
Forks:
127
ukairia777/tensorflow-nlp-tutorial16,650
Language:
Jupyter Notebook
Stars:
580
Forks:
284
rohan-paul/LLM-FineTuning-Large-Language-Models16,681
Language:
Jupyter Notebook
Stars:
578
Forks:
137
Description:
LLM (Large Language Model) FineTuning.
zjhellofss/KuiperLLama16,684
Language:
C++
Stars:
578
Forks:
148
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryTutorials
SubcategoryTool-specific tutorials
KeywordsData extraction, Embeddings, Graph, Retrieval
Stars580
Forks187
Contributors1
Created date2018-11-13
Updated date2026-09-24
Stars in 1 day0
Stars in 7 days0
Rank16,640
Previous rank16,430
Rank change-210
7-day stars rank15,643
Previous 7-day stars rank15,648
7-day stars rank change5
Total stars rank17,238
Previous total stars rank17,212
Total stars rank change-26
README summary

Excel to Neo4j Knowledge Graph English | Simplified Chinese Excel-to-Neo4j examples for building knowledge graphs: a legacy py2neo v3 path for the original educational project, plus a modern Neo4j GraphRAG/vector-search path for current applications. Maintenance Status This project is maintained again as of 2026-06. The current goal is to keep the original py2neo v3 / Neo4j 3. x example usable for learners, notebooks, and legacy projects while adding a current Neo4j driver, vector index, and GraphRAG example

. This repository is intentionally maintained as a legacy educational example. Modern Python, pandas, Neo4j, and py2neo versions may require code changes; modernization work is tracked separately so the legacy baseline remains clear. What This Project Does Reads invoice-style Excel data with pandas. Extracts node data and relationship data from the spreadsheet. Creates Neo4j nodes and relationships through py2neo v3. Converts Neo4j graph data into matrices for downstream machine learning experiments. Modern Neo4j Example The repository now includes a modern

, additive example at . It keeps the original invoice dataset concept but uses the current Neo4j application stack: official Python driver Neo4j 5+/2026 vector indexes GraphRAG-style semantic retrieval optional production embeddings local deterministic embeddings for keyless demos and CI Start with: Open Source Skill The repository also includes an open-source Codex/agent skill at . Use it when an AI coding agent needs to design a Neo4j knowledge graph from CSV/Excel data, generate safe Cypher, choose between legacy

py2neo and the official Neo4j driver, or add GraphRAG/vector-search behavior. The skill includes a reusable script for inspecting tabular data before graph modeling. Compatibility The original working environment was: Python 3. x py2neo 3 The pinned dependencies in are intentionally legacy. Dependency and security modernization is tracked in issue #23. Quick Start Install dependencies: The repository includes as sample data. Before running , update the local path and Neo4j connection settings: Replace with this repository path, or run the

script from the repository root. Project Structure : reads the Excel file, extracts node and relationship data, and writes to Neo4j. : wraps Neo4j node and relationship creation. : extracts Neo4j relationship data and converts it into matrix form. : demo Excel data for local testing and learning. : legacy dependency pins for the original py2neo v3 environment. : issue templates for bugs, compatibility questions, and sample-data requests. Running Environment For package dependencies, refer to . Extracting Excel Data With Pandas The Excel data structure is

as follows: The and functions extract the node data and relationship data required for building the knowledge graph. Creating Nodes And Edges extracts knowledge graph data and converts it into matrices for machine learning models. x - Restore Maintenance Triage historical issues and close resolved sample-data questions. Document the known working legacy environment. Add clearer setup notes for Windows, local paths, Neo4j credentials, and sample data. x - Reproducible Examples Ship a modern Neo4j GraphRAG/vector-search invoice example. Replace hard

-coded local paths with configurable arguments. Add smoke tests for Excel extraction and relationship DataFrame generation. Improve issue templates based

Frequently asked questions

How many stars and forks are recorded?

MazzaWill/neo4j-python-pandas-py2neo-v3 has 580 stars and 187 forks.

What is the repository rank?

MazzaWill/neo4j-python-pandas-py2neo-v3 is ranked 16,640.

What language and category are recorded?

MazzaWill/neo4j-python-pandas-py2neo-v3 has 580 stars, uses Python and belongs to Tutorials.

Which repository is closest in rank?

MazzaWill/neo4j-python-pandas-py2neo-v3 is compared with claudio-silva/claude-artifact-runner, ranked 16,644 with 580 stars.

README

Excel to Neo4j Knowledge Graph

English | Simplified Chinese

Excel-to-Neo4j examples for building knowledge graphs: a legacy py2neo v3 path for the original educational project, plus a modern Neo4j GraphRAG/vector-search path for current applications.

Legacy repository slug: neo4j-python-pandas-py2neo-v3.

Maintenance Status

This project is maintained again as of 2026-06. The current goal is to keep the original py2neo v3 / Neo4j 3.x example usable for learners, notebooks, and legacy projects while adding a current Neo4j driver, vector index, and GraphRAG example.

This repository is intentionally maintained as a legacy educational example. Modern Python, pandas, Neo4j, and py2neo versions may require code changes; modernization work is tracked separately so the legacy baseline remains clear.

What This Project Does

  • Reads invoice-style Excel data with pandas.
  • Extracts node data and relationship data from the spreadsheet.
  • Creates Neo4j nodes and relationships through py2neo v3.
  • Converts Neo4j graph data into matrices for downstream machine learning experiments.

Modern Neo4j Example

The repository now includes a modern, additive example at examples/modern_invoice_graphrag/.

It keeps the original invoice dataset concept but uses the current Neo4j application stack:

  • official neo4j Python driver
  • Neo4j 5+/2026 vector indexes
  • GraphRAG-style semantic retrieval
  • optional neo4j-graphrag production embeddings
  • local deterministic embeddings for keyless demos and CI

Start with:

python -m examples.modern_invoice_graphrag.app \
  --input examples/modern_invoice_graphrag/sample_invoice_rows.csv \
  --limit 2 \
  dry-run

Open Source Skill

The repository also includes an open-source Codex/agent skill at skills/neo4j-knowledge-graph/.

Use it when an AI coding agent needs to design a Neo4j knowledge graph from CSV/Excel data, generate safe Cypher, choose between legacy py2neo and the official Neo4j driver, or add GraphRAG/vector-search behavior. The skill includes a reusable profile_table.py script for inspecting tabular data before graph modeling.

Compatibility

The original working environment was:

  • Python 3.6.5
  • Windows 10
  • Neo4j 3.x
  • py2neo 3

The pinned dependencies in requirements.txt are intentionally legacy. Dependency and security modernization is tracked in issue #23.

Quick Start

Install dependencies:

pip install -r requirements.txt

The repository includes Invoice_data_Demo.xls as sample data.

Before running invoice_neo4j.py, update the local path and Neo4j connection settings:

  • Replace os.chdir('xxxx') with this repository path, or run the script from the repository root.
  • Replace the placeholder Graph(...) connection in dataToNeo4jClass/DataToNeo4jClass.py with your Neo4j server URL and credentials.

Project Structure

  • invoice_neo4j.py: reads the Excel file, extracts node and relationship data, and writes to Neo4j.
  • dataToNeo4jClass/DataToNeo4jClass.py: wraps Neo4j node and relationship creation.
  • neo4j_matrix.py: extracts Neo4j relationship data and converts it into matrix form.
  • Invoice_data_Demo.xls: demo Excel data for local testing and learning.
  • requirements.txt: legacy dependency pins for the original py2neo v3 environment.
  • .github/ISSUE_TEMPLATE/: issue templates for bugs, compatibility questions, and sample-data requests.

Neo4j Knowledge Graph Construction

1. Running Environment

For package dependencies, refer to requirements.txt.

2. Extracting Excel Data With Pandas

The Excel data structure is as follows:

The data_extraction and relation_extraction functions extract the node data and relationship data required for building the knowledge graph.

invoice_neo4j.py

3. Creating Nodes And Edges

DataToNeo4jClass.py

neo4j_matrix.py extracts knowledge graph data and converts it into matrices for machine learning models.

Roadmap

v0.2.x - Restore Maintenance

  • Triage historical issues and close resolved sample-data questions.
  • Document the known working legacy environment.
  • Add clearer setup notes for Windows, local paths, Neo4j credentials, and sample data.
  • Publish maintenance restart releases.

v0.3.x - Reproducible Examples

  • Ship a modern Neo4j GraphRAG/vector-search invoice example.
  • Replace hard-coded local paths with configurable arguments.
  • Add smoke tests for Excel extraction and relationship DataFrame generation.
  • Improve issue templates based on new bug reports.

v0.4.x - Modern Compatibility

  • Evaluate support for newer Python and pandas versions.
  • Document the migration path from py2neo v3 to newer Neo4j Python tooling.
  • Add CI checks for the supported legacy environment where practical.

Issue Triage

New and historical issues are being reviewed in batches. When opening an issue, please include:

  • Python version
  • Neo4j version
  • py2neo version
  • operating system
  • the command you ran
  • the full error message or screenshot

For sample data questions, use the included Invoice_data_Demo.xls file first.

Project Governance

Repository maintenance is tracked publicly through issues and releases.

Nearby in the ranking
Similar items