Skip to main content

A command-line tool and module for convenient APT log file display and filtering

Project description

apt-log

apt-log is a command-line tool that offers a user-friendly display and convenient filtering for APT package logs.

The package also contains a Python module that provides a parser and high-level interface to APT package logs.

Quick Navigation

Installation

Requires Python version 3.9 or higher and pip.

pip install apt-log

Usage

Expore the entire history

apt-log list

Quick filters

  • by time range:

    apt-log list -s 2023-01-01 -e 2023-01-31
    
  • by a specific package or multiple packages using glob-style pattern matching:

    apt-log list -n python3
    apt-log list -n 'python3.*'
    

Dive into details

Inspect a specific log entry using the assigned ID in the list.

apt-log show 13

Note: The IDs are not generated by APT itself but are assigned by apt-log in ascending chronological order. Be aware that any manipulation of APT log files, such as the deletion of old log files, may result in changes to these IDs.

License

apt-log is distributed under the terms of the MIT License.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apt_log-0.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

apt_log-0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file apt_log-0.1.tar.gz.

File metadata

  • Download URL: apt_log-0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-4-amd64

File hashes

Hashes for apt_log-0.1.tar.gz
Algorithm Hash digest
SHA256 3e34c0b1b23fcc2b5fd3df23b3c37d2c624b12976f171f37af71e22835a6aa8c
MD5 4bcb02a0a62cf44c07a61190c9d5dc50
BLAKE2b-256 7434f9d61e0607f8ff04d438357d6a1faf9bae384301cf97af890d1abe6083da

See more details on using hashes here.

File details

Details for the file apt_log-0.1-py3-none-any.whl.

File metadata

  • Download URL: apt_log-0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-4-amd64

File hashes

Hashes for apt_log-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c1853f6f7e75823be91652f1eed2bfbf0a52702ba12ab1e964bc4cb5169e3ab
MD5 0a28783e5744f989aff74352c432d790
BLAKE2b-256 70499f861bbd47804790ad973742d5c9c2dbff2528addc32480b5ce25b124767

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page