Skip to main content

Convert chess games (PGN:s) to a Neo4j database

Project description

pgn2neo4j

Convert a series of chess games in a PGN file to a Neo4j database.

The database contains Position nodes representing a board position, and Move relationships representing a move from one position to another.

Each Position node has a fen property containing the FEN representation of the position. Additionally, each node contains the following properties:

  • whiteWins: the number of games won by white from this position
  • blackWins: the number of games won by black from this position
  • gamesPlayed: the total number of games played from this position

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgn2neo4j-0.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pgn2neo4j-0.0.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page