Skip to main content

Copyright (c) 2010, 2011, Canonical Ltd

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 only.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

The oops_timeline package provides integration glue between timeline objects (http://pypi.python.org/pypi/timeline) and the oops error reporting system (http://pypi.python.org/pypi/oops).

Dependencies

Testing Dependencies

Usage

oops_timeline provides an oops on_create hook to extract timeline data from oops_context[‘timeline’] and inject it into the oops report as primitive data.

  • Setup your configuration:

    >>> from oops import Config
    >>> config = Config()

Note that you will probably want at least one publisher, or your reports will be discarded.

  • Add in the timeline hook to the config:

    >>> oops_timeline.install_hooks(config)

This is a convenience function in case additional hooks are needed in future.

For more information see pydoc oops_timeline.

Installation

python-oops-timeline can be installed into an existing Python environment in the usual way using pip, or it can be installed as a standalone package. To install it as a standalone package, run make to create a suitable virtual environment.

Development

Upstream development takes place at https://launchpad.net/python-oops-timeline. To setup a working area for development, if the dependencies are not immediately available, you can use make to create a virtual environment, then env/bin/python3 to get a python interpreter with the dependencies available.

To run the tests use tox.

For instance:

$ tox

Release files for oops-timeline 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oops-timeline 0.1.0
File Size Uploaded
oops_timeline-0.1.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oops-timeline 0.1.0
File Interpreter ABI Platform
oops_timeline-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / oops_timeline-0.1.0.tar.gz

Download URL oops_timeline-0.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ddf76d9341a8209962756d70b4f4a9ba7f31162e19c3f80310c99b61e0e5302e
BLAKE2b-256 checksum
How to use checksums
c411dba3dffa2da1d3dc14c717054cf1dc09140d9bc391f86a7c22de5f8a00f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / oops_timeline-0.1.0-py3-none-any.whl

Download URL oops_timeline-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9919bf2196389ffadd81d07fc5815845d80c13f6c5904a7a91bbdfd7ec3d6d22
BLAKE2b-256 checksum
How to use checksums
039ecb89082bfd1dcc5bdcf867e50433c84056426fb29744c43b83feb6913df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page