Skip to main content

gPrime webapp for genealogy

Project description

# gPrime

gPrime is a web-based application for genealogy. It uses the Gramps API for data, reports, import/export, etc.

* Designed for collaboration and large databases
* Multi-user, password protected
* Support IIIF Image Server API - http://iiif.io/api/image/2.1/

Requirements
------------

* Python3
* tornado
* PIL
* simplejson
* passlib

Installation
-------------

Install from github:

```shell
git clone --depth 1 https://github.com/GenealogyCollective/gprime
cd gprime
python3 setup.py build
sudo python3 setup.py install
```

Released version installation (once released):

```shell
pip3 install gprime
```

Running
-------

You can run gprime directly from either the downloaded directory, or from the installed version.

Installed version:

```shell
python3 -m gprime.app --config="familytree.conf"
```
Downloaded versions:

```shell
export PYTHONPATH=/path/to/gprime
python3 -m gprime.app --config="familytree.conf"
```

Where `familytree.conf` contains options and values, such as:

```python
port = 8000
database = "My Family Tree"
username = "demo"
```

If you do not provide `--password` (a crypt-based password) on the command-line or in the config file then a plaintext password will be interactively requested, and the crypt generated.

Options:
------------

* --create - Create a directory and family tree
* --import-file - Import a Gramps-supported file type (.ged, .gramps, .json, etc.)
* --database - The directory or name of the Family Tree database
* --username - Username
* --password-hash - Password hash for username
* --debug - Use to see additional debugging information
* --port - Port to use (8000 is default)
* --hostname - Hostname to use (localhost is default)
* --sitename - Name to use for the site (gPrime is default)
* --data_dir - Folder of data (templates)
* --home_dir - Home directory
* --server - Start the server? Default is True
* --xsrf - Use cross-site request forgery protection

Common variations
-----------------

```shell
python3 -m gprime.app --create="Smith Family" --username=demo --server=False

python3 -m gprime.app --database="Smith Family" --import-file="myinfo.gramps" --username=demo --server=False

python3 -m gprime.app --database="Smith Family" --username=demo

python3 -m gprime.app --help
```

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

gprime-0.0.2.tar.gz (13.5 MB view details)

Uploaded Source

Built Distribution

gprime-0.0.2-py2.py3-none-any.whl (8.5 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file gprime-0.0.2.tar.gz.

File metadata

  • Download URL: gprime-0.0.2.tar.gz
  • Upload date:
  • Size: 13.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gprime-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6aff864ddde6927c46149752d826c8c44062166528058437e5de9e672d6837a1
MD5 34bd8956a828545f9a14195139719916
BLAKE2b-256 90142d1e86e4f8d5b37dfeb909e58af8692a92bfce92a9bf8b82cfdd4f81cc9b

See more details on using hashes here.

File details

Details for the file gprime-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gprime-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6aa069dad0635ce11ab824ea74b65baa96bb0283b3e6c27707665bf6a07a859
MD5 afc391fc7902c9ca18ab3f1c2f7ce2d2
BLAKE2b-256 b30a78bf12b7f20e704dfc091d9d3bbb6eb027af68c3ba8ccb041aac745341a1

See more details on using hashes here.

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