Skip to main content

greatgramps

A static site generator for Gramps family tree databases.

greatgramps reads a Gramps database and builds a browsable static website from it. Each person in the tree gets their own page with biographical details, family relationships, events, photos, and a relationship label showing how they connect to a chosen root person. The site also includes index pages for people, places, events, census records, birthdays, and surnames.

The site is built from the point of view of one or more root people — typically the living members of a family who each want to browse the tree as themselves. Each root person gets their own section of the site where relationship labels ("your grandmother", "your 2nd cousin") are calculated relative to them. A dropdown in the nav bar lets you switch between roots from any page.

The site is generated once and served as plain HTML — no server-side code required. It's not a web frontend for Gramps (like gramps-web), in that it's read-only, but it produces a rich browsable site for your tree. Once built, the site can be hosted with ease, with no Python or Gramps installation required.

This approach lets you manage your own tree using open source software without relying on subscription or proprietary services, while still making it easy to share your tree with your family on the web.

Demo

A demo is available at gramps.bennuttall.com which features a generated family tree showcasing what greatgramps can build from a Gramps database.

Requirements

  • Python 3.10+
  • A Gramps sqlite database
  • Gramps

Installation

Install Gramps first. See the Gramps installation instructions.

Also install PyICU for locale-aware sorting, via your platform's package manager (otherwise Gramps logs a warning and falls back to less accurate sorting of names and places). On Debian/Ubuntu:

sudo apt install python3-icu

Then install the project. The core package only handles reading the Gramps database; pick the extras for the features you need:

pip install greatgramps[cli,html,pdf]
  • cli — the grgr command-line tool
  • html — the grgr build / grgr rebuild-page commands for generating the static site
  • pdf — the grgr pdf commands (also requires Ghostscript)

If you only have the html extra installed (no cli), build the site with python -m greatgramps.build instead of grgr build — it has no dependency on typer or rich.

Links

Licence

Download files

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

Source Distribution

greatgramps-0.4.2.tar.gz (91.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

greatgramps-0.4.2-py3-none-any.whl (115.1 kB view details)

Uploaded Python 3

File details

Details for the file greatgramps-0.4.2.tar.gz.

File metadata

  • Download URL: greatgramps-0.4.2.tar.gz
  • Upload date:
  • Size: 91.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for greatgramps-0.4.2.tar.gz
Algorithm Hash digest
SHA256 10a5fc7255f9c80e5014eff6e6e1f86d1f3e9ebba886501a532f5cc3dbc5797e
MD5 40fdd9df1fdf7795ffee1cd0db97364c
BLAKE2b-256 7acd2e3fca2c9bb17f6c98c639509d7540a2ec57a4b42a6bae080b5e300f16c8

See more details on using hashes here.

File details

Details for the file greatgramps-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: greatgramps-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 115.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for greatgramps-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d13d97f57a679eb5262b46cd7830eb6c73b1ac92d50b81ab702223272462e85a
MD5 91624ade866056e29199f066c7888463
BLAKE2b-256 cf839298bf904fe93ae9c46a7d04bcb11ac77d2822f3f7e5587774325b05dae5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page