1pyopentrep(1)                      OpenTREP                      pyopentrep(1)
2
3
4

NAME

6       pyopentrepPython wrapper around the C++ Travel Request Parser (TREP)
7       library
8

SYNOPSIS

10       pyopentrep [--prefix] [-v|--version] [-h|--help] [-d|--xapiandb
11       <Xapian-travel-database-path>] [-t|--sqldbtype <SQL-database-type>]
12       [-s|--sqldbconx <SQL-database-connection-string>] [-f|--format <output-
13       format>] [-g|--generate <nb-of-por>]
14

DESCRIPTION

16       pyopentrep is a small Python wrapper around the OpenTREP library.
17
18       pyopentrep accepts the following options:
19
20       -h, --help
21        Produce that message and show usage.
22
23       -d, --xapiandb <Xapian-travel-database-path>
24        Path (directory) to the Xapian travel database. The indexer creates,
25       or overwrites it when it already exists, the Xapian database. It
26       materialises as a collection of data files within a directory usually
27       named 'traveldb'.
28
29       -t, --sqldbtype <SQL-database-type>
30        SQL database type, e.g., nosql (no SQL database), sqlite, mysql
31
32       -s, --sqldbconx <SQL-database-connection-string>
33        SQL database connection string, e.g., ~/tmp/opentrep/sqlite_travel.db
34       (for SQLite3), 'db=trep_trep user=trep password=trep' (for MySQL)
35
36       -f, --format
37        Format of the output: Short (S, default), Full (F), raw JSON (J) and
38       Interpretation from JSON (I).
39
40       -g, --generate <nb-of-por>
41        Number of POR (points of reference) to generate
42
43       See the output of the `pyopentrep --help' command for default options.
44

SEE ALSO

46       opentrep-indexer(1), opentrep-dbmgr(1), opentrep-searcher(1), opentrep-
47       config(1), opentrep-library(3)
48

SUPPORT

50       Please report any bugs to http://github.com/trep/opentrep/issues
51
53       Copyright © 2009-2016 Denis Arnaud
54
55       See the COPYING file for more information on the (LGPLv2+) license, or
56       directly on Internet:
57        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
58
59
60
61Version 0.07.7                  Tue Jan 26 2021                  pyopentrep(1)
Impressum