Skip to main content

Lightweight module for work with tables in Python.

Project description


Built-in Python logging module is a powerful tool to provide your programs with high quality logs. This project is conception continue and alternative for native python logging.

Logbook is not a rework and even not based on python logging objects but it is a rethink totally written from zero (honestly with use similar names and tricks for easier migration and use). We chose this path when found out that python logging is not enough functional and not enough flexible when we speak about integration with other our products.

With logbook you can:

  • Generate and customize log file.
  • Use existing file instead of creating new.
  • Write messages into console instead of file.
  • Generate customizable header with basic information about application, system or log.
  • Log information, success and debug messages.
  • Log errors with different levels (error, warning, critical).
  • Abort program when high level error occurs.
  • Or log messages in any desired record type.
  • Separate different log blocks with border.
  • Customize and design records of any type.
  • Configure the default or add new record types, messages, patterns and forms.
  • Manage log parameters during or after initialization.
  • Reset log to default parameters.
  • Close or reopen current log.
  • Limit log by size or day.

Getting Started


Operation systems: Windows, Linux, Mac OS.

Python version: 3.7.1.


To install just download the latest release of logbook and copy src/logbook folder to your/python/folder/Lib/site-packages/.

How to Use

To start just declare log class instance:

import logbook

log = logbook.Log('test')

Project details

Download files

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

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

pypyrus_logbook-0.0.2-py3-none-any.whl (14.3 kB view hashes)

Uploaded py3

Supported by

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