paper_firehose.commands.export_recent

Export recent command implementation. Creates a smaller database containing only recent entries from the history database.

Functions

run(config_path[, days, output_name])

Export recent entries from matched_entries_history.db to a smaller file.

paper_firehose.commands.export_recent.run(config_path, days=60, output_name=None)[source]

Export recent entries from matched_entries_history.db to a smaller file.

Parameters:
  • config_path (str) – Path to the main configuration file

  • days (int) – Number of days to include (default: 60)

  • output_name (Optional[str]) – Optional output filename (default: matched_entries_history.recent.db)

Return type:

None