pyopentrep(1)

๐Ÿ“ฆ
version 0.08.01 ยท 4 versions
, in epel 10

๐Ÿฆ‹ NAME ๐Ÿฆ‹

pyopentrep โ€” the Python wrapper around the C++ Travel Request Parser (TREP) library. Yes bestie, itโ€™s giving โ€œsmall Python glue holding up a whole C++ situationโ€ ๐Ÿ’…

This page is pyopentrep(1) from the General Commands Manual, and itโ€™s about to explain the whole vibe.


โœจ SYNOPSIS โœจ

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

๐Ÿ’… DESCRIPTION ๐Ÿ’…

Okay so, pyopentrep is a small Python wrapper around the OpenTREP library. Tiny wrapper energy, but itโ€™s got options, so letโ€™s go ๐ŸŽ€

The synopsis also shows --prefix and -v/--version, but the original DESCRIPTION doesnโ€™t give them their own little paragraph. Not me inventing extra lore โ€” Iโ€™m just telling you whatโ€™s on the page, periodt.

pyopentrep accepts the following options:

  • -h, --help โ€” produce that message and show usage. Thatโ€™s the โ€œhelp me understandโ€ button, bestie ๐Ÿซถ
  • -d, --xapiandb <Xapian-travel-database-path> โ€” path (directory) to the Xapian travel database. The indexer creates it, or overwrites it when it already exists. It materialises as a collection of data files inside a directory usually named traveldb. Iconic database-in-a-directory behaviour โœจ
  • -t, --sqldbtype <SQL-database-type> โ€” SQL database type, e.g. nosql (no SQL database), sqlite, mysql. Pick your database era ๐Ÿ’–
  • -s, --sqldbconx <SQL-database-connection-string> โ€” SQL database connection string, e.g. ~/tmp/opentrep/sqlite_travel.db (for SQLite3), "db=trep_trep user=trep password=trep" (for MySQL). Connection-string realness ๐Ÿ”ฅ
  • -f, --format โ€” format of the output: Short (S, default), Full (F), raw JSON (J) and Interpretation from JSON (I). Choose your output aesthetic ๐Ÿ’…
  • -g, --generate <nb-of-por> โ€” number of POR (points of reference) to generate. Numbers go brrr ๐ŸŒธ

Also, tiny synopsis-only cameos, because we do not erase details in this house:

  • --prefix โ€” appears in the synopsis; the original DESCRIPTION doesnโ€™t describe it.
  • -v, --version โ€” appears in the synopsis; the original DESCRIPTION doesnโ€™t describe it.

See the output of the pyopentrep --help command for default options. Literally run it and read the output, iykyk ๐Ÿ‘‘


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


๐Ÿซถ SUPPORT ๐Ÿซถ

Please report any bugs to http://github.com/trep/opentrep/issues. Bug reports are a love language, ngl ๐Ÿ’œ


Copyright ยฉ 2009-2016 Denis Arnaud

See the COPYING file for more information on the (LGPLv2+) license, or directly on Internet:

http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html


Signed off with ๐Ÿ’– from OpenTREP, Version 0.08.01 โ€” and if youโ€™re looking for a date, the original footer didnโ€™t print one, so this is your cute little timestamp-less goodbye, bestie ๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from