pyopentrep(1)
๐ฆ 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 namedtraveldb. 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 ๐
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
- epel 10: python3-opentrep 0.08.01-2.el10_3 ยท LGPL-2.1-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms