python-startkladde
  • Executables of the python startkladde
  • Python Scripts
    • sk.py
      • help
        • Synopsis
      • import-flights
        • Synopsis
      • stats
        • Synopsis
      • Synopsis
      • Display statistics
      • Set Email Adress for Pilots
  • Bash Scripts
    • startkladde_backup.bsh
      • Functionality
      • Synopsis
    • startkladde_restore.bsh
      • Synchronisation of the Startkladde Database with a Webserver
        • Overview
        • Master Configuration
        • Server Configuration
        • Backup Process
    • startkladde_sync_master.bsh
      • Requirements
      • Synopsis
  • The pysk package
    • The db package
      • Database Model
        • Tables
      • Database Class
        • Interface
      • Table Class
      • Column Class
        • Interface
      • CSV Reader Class
        • Expected Format
        • Interface
      • Conflict Handler
        • Interface
        • Constants
    • Tools package
      • Tool Base Class
    • Utils package
      • ASCII Replacements
  • GitHub Related Information
    • Software Development
      • Getting the source code
      • Workflow
    • Publishing Documentation with GitHub Project Pages
      • Setting Up the Branch
      • Disabling Jekyll
      • Creating and Publishing Documentation
 
python-startkladde
  • Docs »
  • Executables of the python startkladde »
  • Python Startkladde Command Line Tool »
  • Print Launch Statistis
  • View page source

Print Launch Statistis¶

Print log book entries for a range of dates and airplanes in the database.

Synopsis¶

usage: sk.py [-h] [-t TIME] [registrations [registrations ...]]

Calculate statistics for a given plane

positional arguments:
  registrations

optional arguments:
  -h, --help
  -t TIME, --time TIME  Single date or date range. Format isYYYY-MM-DD for a
                        single date and <begin>:<end> for a range.

global arguments:
  -h, --help
  -u USER, --user USER  Specify database username and hostname. Format
                        <user>[@<host>]
  -p [PASSWORD], --password [PASSWORD]
                        Specify password. If no argument is provided, user is
                        prompted.
  -d DATABASE, --database DATABASE
                        Specify name of startkladde database
  -v VERBOSE, --verbose VERBOSE
                        verbose mode setting

Allowed commands are:
  import-flights: Import flights into database from csv file(s)
  stats: Calculate statistics for a given plane
  help: Describe the usage of this program or its subcommands
  set-pilot-email: Set email of pilots
Reads the email address of pilots from a html filein RESI format and adds them to the database
  create-users: Creates a user account for each pilot in databaseOne input file containing the message to be sent to each user shallbe provided. To personalise the message, the fields ${first_name}, ${last_name}, ${email}, ${username} and ${password} can be used.


Program terminated successfully!
Next Previous

© Copyright 2015, Claas H. Köhler.

Built with Sphinx using a theme provided by Read the Docs.