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

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 database
* --username - Username (demo)
* --password - Password (demo)
* --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 gprime/data
* --home_dir - Gramps home
* --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 Distributions

gprime-0.0.1.zip (15.2 MB view details)

Uploaded Source

gprime-0.0.1.tar.gz (14.0 MB view details)

Uploaded Source

Built Distribution

gprime-0.0.1-py2.py3-none-any.whl (9.1 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file gprime-0.0.1.zip.

File metadata

  • Download URL: gprime-0.0.1.zip
  • Upload date:
  • Size: 15.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gprime-0.0.1.zip
Algorithm Hash digest
SHA256 84323966e0f33e1e8cf2b9b12db1e96769c576aef57c4706850ca3643850ef6c
MD5 d4bd864a100b19cfb485de1078f32892
BLAKE2b-256 a12ec9c3c058673e3fc1bc31990012ee92fbb3e3313594302e9755378437a137

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gprime-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0fb96399bfc5dcf4d329cd3009ee8ab9efee2a569680a153fb10d60d1ec1a23f
MD5 f77007f040f59ca892d8a9cc13fb2d5a
BLAKE2b-256 dcbcc376e91fa71d276ff144dc990b72f94a799eeb92e83bd9bf3d2da9c6d62a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gprime-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b4b1d7e2ab2e1bd91a72aabfd34fc21531eb7344ff30bf411eb7e25b247069e
MD5 23358622065d9110db83e0c26b1c98f6
BLAKE2b-256 5582e273cafc4b98104403219fc84fb47ac18bec415cb48a9e52e71056e33d06

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