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
Python 3.8+
timeline (http://pypi.python.org/pypi/timeline)
Testing Dependencies
subunit (http://pypi.python.org/pypi/python-subunit) (optional)
testtools (http://pypi.python.org/pypi/testtools)
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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oops_timeline-0.1.0.tar.gz | 8.3 kB | Without provenance | Details for oops_timeline-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oops_timeline-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for oops_timeline-0.1.0-py3-none-any.whl |
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
|
Security for oops-timeline 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.