sidetrack


Namesidetrack JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/caltechlibrary/sidetrack
SummarySimple debug tracing package for Python
upload_time2022-01-11 00:55:33
maintainer
docs_urlNone
authorMichael Hucka
requires_python>=3.6
licenseBSD 3-clause
keywords debugging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Sidetrack<img width="11%" align="right" src="https://github.com/caltechlibrary/sidetrack/raw/main/.graphics/sidetrack-logo.png">

_Sidetrack_ provides a simple interface for writing log messages in Python programs.  Calls to the log functions can be left in your code to let users produce debug logs in the field; if performance matters, using certain coding idioms and turning on Python optimization will cause log statements to be compiled out.

[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg?style=flat-square)](https://choosealicense.com/licenses/bsd-3-clause)
[![Python](https://img.shields.io/badge/Python-3.6+-brightgreen.svg?style=flat-square)](http://shields.io)
[![Latest release](https://img.shields.io/github/v/release/caltechlibrary/sidetrack.svg?style=flat-square&color=b44e88)](https://github.com/caltechlibrary/sidetrack/releases)
[![DOI](http://img.shields.io/badge/DOI-10.22002/D1.2029-blue.svg?style=flat-square)](https://data.caltech.edu/records/8968)
[![PyPI](https://img.shields.io/pypi/v/sidetrack.svg?style=flat-square&color=red)](https://pypi.org/project/sidetrack/)

<p align="center"><img width="60%" src="https://github.com/caltechlibrary/sidetrack/blob/develop/.graphics/version-2-warning.svg"></p>


## Table of contents

* [Introduction](#introduction)
* [Installation](#installation)
* [Usage](#usage)
* [Getting help](#getting-help)
* [Contributing](#contributing)
* [License](#license)
* [Authors and history](#authors-and-history)
* [Acknowledgments](#authors-and-acknowledgments)


## Introduction

IDEs are great for debugging and tracing execution of your code, but they can't be used in all situations.  For example, if your code is executing on multiple remote computers, or you have released a program to general users and you would like them to send you a debug log/trace of execution, using an IDE at run time may be impractical or impossible.  Logging packages such as [`logging`](https://docs.python.org/3/library/logging.html) are made for these situations; you can insert logging statements in your code and use the output to understand what is happening as well as for software telemetry and other purposes.  However, setting up Python [`logging`](https://docs.python.org/3/library/logging.html) or most similar packages is (IMHO) complicated and verbose if you don't need all its features.

_Sidetrack_ (<b>Si</b>mple <b>de</b>bug <b>trac</b>ing pac<b>k</b>age) offers a simple API that lets you turn on logging, set the output destination (which can be stdout), and sprinkle `log(f'my message and my {variable} value')` throughout your code.  Moreover, it is carefully written so that you can cause the `log` calls to be _optimized out completely_ if your run Python with the `-O` option and you prefix your `log` calls with `if __debug__`.  This leads to the following style of using Sidetrack:

``` python
...
for item in item_list:
    if __debug__: log(f'getting data for {item}')
    ...
```

When running with `-O`, the `log` statement in the loop will not simply be a no-op function call: Python will [completely discard the conditional block](https://www.engyrus.com/2013/03/idtkap-4-debug-and-o.html), as if the code did not exist.  This is as optimal as possible, and means that you do not have to worry about the performance costs of using `log` or evaluating its arguments.


## Installation


The instructions below assume you have a Python interpreter installed on your computer; if that's not the case, please first [install Python version 3](INSTALL-Python3.md) and familiarize yourself with running Python programs on your system.

On **Linux**, **macOS**, and **Windows** operating systems, you should be able to install `sidetrack` with [`pip`](https://pip.pypa.io/en/stable/installing/).  To install `sidetrack` from the [Python package repository (PyPI)](https://pypi.org), run the following command:
```
python3 -m pip install sidetrack
```

As an alternative to getting it from [PyPI](https://pypi.org), you can use `pip` to install `sidetrack` directly from GitHub, like this:
```sh
python3 -m pip install git+https://github.com/caltechlibrary/sidetrack.git
```


## Usage

There are just four functions in the `sidetrack` package:
* `set_debug`: turn logging on/off, set the output destination, and configure options
* `log`: logs a message as-is.
* `loglist`: takes a list of messages and logs them individually, as if applying `log` to each one in turn.
* `logf`: logs a message with optional arguments; the message string can contain embedded `format` directives.


### _How to import Sidetrack_

To take advantage of Python's optimization behavior, make sure to conditionalize all references to Sidetrack functions on the Python built-in symbol `__debug__`.  This includes the import statement for Sidetrack:

``` python
if __debug__:
    from sidetrack import set_debug, log, logf, loglist
```

The fragment above illustrates another tip: to make calls to the `log` functions as short as possible in your code, import `set_debug`, `log`, `logf`, and `loglist` directly using the `from sidetrack ...` approach instead of doing a plain `import sidetrack`, so that you can write `log(...)` instead of `sidetrack.log(...)`.  Believe me, your fingers and eyes will thank you!


### _How to turn on debug logging_

To turn on logging, call `set_debug(...)` at least once in your code.  Often, this will most convenient if combined with a command-line argument to your program, so that debug tracing can be enabled or disabled at run-time.  The following example shows the basic usage.

``` python
if __debug__:
    if ...some condition of your choosing...:
        set_debug(True)
else:
    print('Python -O is in effect, so debug logging is not available.')
```

The above will turn on debug logging and send output to the default destination, which is the standard error stream (`sys.stderr`).  To send the output to a different destination, use the optional second argument `debug_output`, which can be either a file name, a stream, or the dash symbol (`-`); the latter indicates the destination should be the default (i.e., `sys.stderr`).  Here is an example:

``` python
if __debug__:
    set_debug(True, dest = '/tmp/debug.txt')
```

The function `set_debug` also accepts another optional argument, `show_package`, that causes each `log`, `loglist`, and `logf` message to be prefixed with the name of the Python package containing the source file where the call to the log function is used.  This is very helpful when Sidetrack is used in multiple packages.

``` python
if __debug__:
    set_debug(True, show_package = True)
```

Finally, the function `set_debug(...)` also accepts one more optional argument, `extra`, that lets you prefix every output line with extra text of your choosing.  The `extra` text string can contain [Python logging system % formatting strings](https://docs.python.org/library/logging.html#logrecord-attributes).  For example, the process ID can be inserted by passing `'%(process)d'` as in the following example:

``` python
if __debug__:
    set_debug(True, debug_output, extra = '%(process)d')

```
If your program uses threads, you may find the use of `extra = "%(threadName)s"` helpful.


### _How to call `log`, `loglist`, and `logf`_

The function `log` is the most basic function in Sidetrack. Call it with a single argument, the message to be printed:

```python
if __debug__: log("I'm right here!")
```

If you want to print multiple strings, it's certainly possible to call `log` multiple times consecutively, but in some situations, it may be more convenient to call `loglist` &ndash; especially if the strings are generated dynamically as in the following example:

```python
if __debug__: loglist(f'{var} = {value}' for var, value in settings())
```

Finally, there are situations where f-strings cannot be used due to how they are evaluated at run time or due to [certain inherent limitations](https://www.python.org/dev/peps/pep-0498/#differences-between-f-string-and-str-format-expressions). For those situations, Sidetrack provides the `logf` function. It accepts one argument, a string, and any number of optional arguments.  Here's an example:

``` python
if __debug__: logf('exception (failure #{}): {}', failures, str(ex))
```

Internally, `logf` applies `format` to the string and passes any remaining arguments as the arguments to `format`.  In other words, it is essentially the following pseudocode:

``` python
def logf(msg, *other_args):
    final_text = msg.format(*other_args)
    write_log(final_text)
```

When using `logf`, beware of including references to variables that _might_ expand at run time to contain characters that have special meaning to Python's `format` command, such as the `{` character.

### _Understanding the output_

In all cases, each line of the output has the following form:

<p align="center">
<<i>package</i>> <i>extra</i>&nbsp;&nbsp;<b>filename:lineno</b>&nbsp;&nbsp;<b>function()</b> -- <b>message</b>
</p>

where _package_ and _extra_ are optional and controlled by the arguments `show_package` and `extra`, respectively, to `set_debug(...)`, and the remaining values are always printed: the file name, line number and function where the call to the `log`, `loglist`, or `logf` was made, and the message.  Examples are shown in the next section.


### _Tips for using Sidetrack_

Throughout the rest of your code, in places where it's useful, add calls to the log functions.  Here's a simple contrived example, taken from the [demonstration program](tests/demo_debug.py) supplied with Sidetrack:

``` python
if __debug__: log('=== demo program starting ===')

print('Looping my loopy loop:')
for i in range(0, 3):
    if __debug__: log(f'loop value {i}')
    print('Another go-around the loop')
print('Done looping.')

if __debug__: log('=== demo program stopping ===')
```

With the code above, if debugging is _not_ turned on, _or_ the program is running with [Python optimization turned on](https://docs.python.org/3/using/cmdline.html#cmdoption-o), the output will be:

``` text
Looping my loopy loop:
Another go-around the loop
Another go-around the loop
Another go-around the loop
Done looping.
```

With debugging turned on and the destination set to `-`, the output becomes:

``` text
demo_debug.py:32 main() -- === demo program starting ===
Looping my loopy loop:
demo_debug.py:36 main() -- loop value 0
Another go-around the loop
demo_debug.py:36 main() -- loop value 1
Another go-around the loop
demo_debug.py:36 main() -- loop value 2
Another go-around the loop
Done looping.
demo_debug.py:40 main() -- === demo program stopping ===
```

Being able to send the debug output to a file becomes useful when dealing with longer and more complicated programs &ndash; it makes it possible to store a detailed trace without cluttering the output as it is in the sample above.  File output can also be useful for deployed code: you can leave the debug functionality in your code and instruct your users to turn on debugging with output directed to a file, then send you the file so you can debug problems more easily.


### _How to run the demo program_

In the [`tests`](tests) subdirectory, there is a simple demonstration program illustrating the use of Sidetrack.  To run it, on Linux and macOS systems, you can start a terminal shell and run the following commands:

``` shell
python3 tests/demo_debug.py -h
```

To run it with debug logging enabled, use the `-d` command-line option (where the output in this example is given as `-`, which means to send the output to the terminal):

``` shell
python3 tests/demo_debug.py -d -
```

To see the difference when Python optimization is active, add the `-O` option to the Python interpreter:

``` shell
python3 -O tests/demo_debug.py -d -
```


## Getting help

If you find an issue, please submit it in [the GitHub issue tracker](https://github.com/caltechlibrary/sidetrack/issues) for this repository.


## Contributing

We would be happy to receive your help and participation with enhancing `sidetrack`!  Please visit the [guidelines for contributing](CONTRIBUTING.md) for some tips on getting started.


## License

Software produced by the Caltech Library is Copyright (C) 2020, Caltech.  This software is freely distributed under a BSD/MIT type license.  Please see the [LICENSE](LICENSE) file for more information.


## Authors and history

I developed the first version of this code while implementing [Spiral](https://github.com/casics/spiral).  I started using the code in essentially every Python software package I have written since then, first by copy-pasting the code (which was initially very short) and eventually creating a single-file module (named `debug.py`).  This was obviously a suboptimal approach.  Finally, in 2020, I decided it was time to break it out into a proper self-contained Python package.


## Acknowledgments

This work was funded by the California Institute of Technology Library.

The [vector artwork](https://thenounproject.com/term/debug/3482208/) of a document with a line break, used as the icon for this repository, was created by [iconixar](https://thenounproject.com/iconixar/) from the Noun Project.  It is licensed under the Creative Commons [CC-BY 3.0](https://creativecommons.org/licenses/by/3.0/) license.

<div align="center">
  <br>
  <a href="https://www.caltech.edu">
    <img width="100" height="100" src="https://github.com/caltechlibrary/sidetrack/raw/main/.graphics/caltech-round.svg">
  </a>
</div>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/caltechlibrary/sidetrack",
    "name": "sidetrack",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "debugging",
    "author": "Michael Hucka",
    "author_email": "mhucka@caltech.edu",
    "download_url": "https://files.pythonhosted.org/packages/e0/67/3d2fb48f0a9bfb96b06e3714fa4da10287cf0359f1bcb2b5017778dcb568/sidetrack-2.0.1.tar.gz",
    "platform": "",
    "description": "# Sidetrack<img width=\"11%\" align=\"right\" src=\"https://github.com/caltechlibrary/sidetrack/raw/main/.graphics/sidetrack-logo.png\">\n\n_Sidetrack_ provides a simple interface for writing log messages in Python programs.  Calls to the log functions can be left in your code to let users produce debug logs in the field; if performance matters, using certain coding idioms and turning on Python optimization will cause log statements to be compiled out.\n\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg?style=flat-square)](https://choosealicense.com/licenses/bsd-3-clause)\n[![Python](https://img.shields.io/badge/Python-3.6+-brightgreen.svg?style=flat-square)](http://shields.io)\n[![Latest release](https://img.shields.io/github/v/release/caltechlibrary/sidetrack.svg?style=flat-square&color=b44e88)](https://github.com/caltechlibrary/sidetrack/releases)\n[![DOI](http://img.shields.io/badge/DOI-10.22002/D1.2029-blue.svg?style=flat-square)](https://data.caltech.edu/records/8968)\n[![PyPI](https://img.shields.io/pypi/v/sidetrack.svg?style=flat-square&color=red)](https://pypi.org/project/sidetrack/)\n\n<p align=\"center\"><img width=\"60%\" src=\"https://github.com/caltechlibrary/sidetrack/blob/develop/.graphics/version-2-warning.svg\"></p>\n\n\n## Table of contents\n\n* [Introduction](#introduction)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Getting help](#getting-help)\n* [Contributing](#contributing)\n* [License](#license)\n* [Authors and history](#authors-and-history)\n* [Acknowledgments](#authors-and-acknowledgments)\n\n\n## Introduction\n\nIDEs are great for debugging and tracing execution of your code, but they can't be used in all situations.  For example, if your code is executing on multiple remote computers, or you have released a program to general users and you would like them to send you a debug log/trace of execution, using an IDE at run time may be impractical or impossible.  Logging packages such as [`logging`](https://docs.python.org/3/library/logging.html) are made for these situations; you can insert logging statements in your code and use the output to understand what is happening as well as for software telemetry and other purposes.  However, setting up Python [`logging`](https://docs.python.org/3/library/logging.html) or most similar packages is (IMHO) complicated and verbose if you don't need all its features.\n\n_Sidetrack_ (<b>Si</b>mple <b>de</b>bug <b>trac</b>ing pac<b>k</b>age) offers a simple API that lets you turn on logging, set the output destination (which can be stdout), and sprinkle `log(f'my message and my {variable} value')` throughout your code.  Moreover, it is carefully written so that you can cause the `log` calls to be _optimized out completely_ if your run Python with the `-O` option and you prefix your `log` calls with `if __debug__`.  This leads to the following style of using Sidetrack:\n\n``` python\n...\nfor item in item_list:\n    if __debug__: log(f'getting data for {item}')\n    ...\n```\n\nWhen running with `-O`, the `log` statement in the loop will not simply be a no-op function call: Python will [completely discard the conditional block](https://www.engyrus.com/2013/03/idtkap-4-debug-and-o.html), as if the code did not exist.  This is as optimal as possible, and means that you do not have to worry about the performance costs of using `log` or evaluating its arguments.\n\n\n## Installation\n\n\nThe instructions below assume you have a Python interpreter installed on your computer; if that's not the case, please first [install Python version 3](INSTALL-Python3.md) and familiarize yourself with running Python programs on your system.\n\nOn **Linux**, **macOS**, and **Windows** operating systems, you should be able to install `sidetrack` with [`pip`](https://pip.pypa.io/en/stable/installing/).  To install `sidetrack` from the [Python package repository (PyPI)](https://pypi.org), run the following command:\n```\npython3 -m pip install sidetrack\n```\n\nAs an alternative to getting it from [PyPI](https://pypi.org), you can use `pip` to install `sidetrack` directly from GitHub, like this:\n```sh\npython3 -m pip install git+https://github.com/caltechlibrary/sidetrack.git\n```\n\n\n## Usage\n\nThere are just four functions in the `sidetrack` package:\n* `set_debug`: turn logging on/off, set the output destination, and configure options\n* `log`: logs a message as-is.\n* `loglist`: takes a list of messages and logs them individually, as if applying `log` to each one in turn.\n* `logf`: logs a message with optional arguments; the message string can contain embedded `format` directives.\n\n\n### _How to import Sidetrack_\n\nTo take advantage of Python's optimization behavior, make sure to conditionalize all references to Sidetrack functions on the Python built-in symbol `__debug__`.  This includes the import statement for Sidetrack:\n\n``` python\nif __debug__:\n    from sidetrack import set_debug, log, logf, loglist\n```\n\nThe fragment above illustrates another tip: to make calls to the `log` functions as short as possible in your code, import `set_debug`, `log`, `logf`, and `loglist` directly using the `from sidetrack ...` approach instead of doing a plain `import sidetrack`, so that you can write `log(...)` instead of `sidetrack.log(...)`.  Believe me, your fingers and eyes will thank you!\n\n\n### _How to turn on debug logging_\n\nTo turn on logging, call `set_debug(...)` at least once in your code.  Often, this will most convenient if combined with a command-line argument to your program, so that debug tracing can be enabled or disabled at run-time.  The following example shows the basic usage.\n\n``` python\nif __debug__:\n    if ...some condition of your choosing...:\n        set_debug(True)\nelse:\n    print('Python -O is in effect, so debug logging is not available.')\n```\n\nThe above will turn on debug logging and send output to the default destination, which is the standard error stream (`sys.stderr`).  To send the output to a different destination, use the optional second argument `debug_output`, which can be either a file name, a stream, or the dash symbol (`-`); the latter indicates the destination should be the default (i.e., `sys.stderr`).  Here is an example:\n\n``` python\nif __debug__:\n    set_debug(True, dest = '/tmp/debug.txt')\n```\n\nThe function `set_debug` also accepts another optional argument, `show_package`, that causes each `log`, `loglist`, and `logf` message to be prefixed with the name of the Python package containing the source file where the call to the log function is used.  This is very helpful when Sidetrack is used in multiple packages.\n\n``` python\nif __debug__:\n    set_debug(True, show_package = True)\n```\n\nFinally, the function `set_debug(...)` also accepts one more optional argument, `extra`, that lets you prefix every output line with extra text of your choosing.  The `extra` text string can contain [Python logging system % formatting strings](https://docs.python.org/library/logging.html#logrecord-attributes).  For example, the process ID can be inserted by passing `'%(process)d'` as in the following example:\n\n``` python\nif __debug__:\n    set_debug(True, debug_output, extra = '%(process)d')\n\n```\nIf your program uses threads, you may find the use of `extra = \"%(threadName)s\"` helpful.\n\n\n### _How to call `log`, `loglist`, and `logf`_\n\nThe function `log` is the most basic function in Sidetrack. Call it with a single argument, the message to be printed:\n\n```python\nif __debug__: log(\"I'm right here!\")\n```\n\nIf you want to print multiple strings, it's certainly possible to call `log` multiple times consecutively, but in some situations, it may be more convenient to call `loglist` &ndash; especially if the strings are generated dynamically as in the following example:\n\n```python\nif __debug__: loglist(f'{var} = {value}' for var, value in settings())\n```\n\nFinally, there are situations where f-strings cannot be used due to how they are evaluated at run time or due to [certain inherent limitations](https://www.python.org/dev/peps/pep-0498/#differences-between-f-string-and-str-format-expressions). For those situations, Sidetrack provides the `logf` function. It accepts one argument, a string, and any number of optional arguments.  Here's an example:\n\n``` python\nif __debug__: logf('exception (failure #{}): {}', failures, str(ex))\n```\n\nInternally, `logf` applies `format` to the string and passes any remaining arguments as the arguments to `format`.  In other words, it is essentially the following pseudocode:\n\n``` python\ndef logf(msg, *other_args):\n    final_text = msg.format(*other_args)\n    write_log(final_text)\n```\n\nWhen using `logf`, beware of including references to variables that _might_ expand at run time to contain characters that have special meaning to Python's `format` command, such as the `{` character.\n\n### _Understanding the output_\n\nIn all cases, each line of the output has the following form:\n\n<p align=\"center\">\n<<i>package</i>> <i>extra</i>&nbsp;&nbsp;<b>filename:lineno</b>&nbsp;&nbsp;<b>function()</b> -- <b>message</b>\n</p>\n\nwhere _package_ and _extra_ are optional and controlled by the arguments `show_package` and `extra`, respectively, to `set_debug(...)`, and the remaining values are always printed: the file name, line number and function where the call to the `log`, `loglist`, or `logf` was made, and the message.  Examples are shown in the next section.\n\n\n### _Tips for using Sidetrack_\n\nThroughout the rest of your code, in places where it's useful, add calls to the log functions.  Here's a simple contrived example, taken from the [demonstration program](tests/demo_debug.py) supplied with Sidetrack:\n\n``` python\nif __debug__: log('=== demo program starting ===')\n\nprint('Looping my loopy loop:')\nfor i in range(0, 3):\n    if __debug__: log(f'loop value {i}')\n    print('Another go-around the loop')\nprint('Done looping.')\n\nif __debug__: log('=== demo program stopping ===')\n```\n\nWith the code above, if debugging is _not_ turned on, _or_ the program is running with [Python optimization turned on](https://docs.python.org/3/using/cmdline.html#cmdoption-o), the output will be:\n\n``` text\nLooping my loopy loop:\nAnother go-around the loop\nAnother go-around the loop\nAnother go-around the loop\nDone looping.\n```\n\nWith debugging turned on and the destination set to `-`, the output becomes:\n\n``` text\ndemo_debug.py:32 main() -- === demo program starting ===\nLooping my loopy loop:\ndemo_debug.py:36 main() -- loop value 0\nAnother go-around the loop\ndemo_debug.py:36 main() -- loop value 1\nAnother go-around the loop\ndemo_debug.py:36 main() -- loop value 2\nAnother go-around the loop\nDone looping.\ndemo_debug.py:40 main() -- === demo program stopping ===\n```\n\nBeing able to send the debug output to a file becomes useful when dealing with longer and more complicated programs &ndash; it makes it possible to store a detailed trace without cluttering the output as it is in the sample above.  File output can also be useful for deployed code: you can leave the debug functionality in your code and instruct your users to turn on debugging with output directed to a file, then send you the file so you can debug problems more easily.\n\n\n### _How to run the demo program_\n\nIn the [`tests`](tests) subdirectory, there is a simple demonstration program illustrating the use of Sidetrack.  To run it, on Linux and macOS systems, you can start a terminal shell and run the following commands:\n\n``` shell\npython3 tests/demo_debug.py -h\n```\n\nTo run it with debug logging enabled, use the `-d` command-line option (where the output in this example is given as `-`, which means to send the output to the terminal):\n\n``` shell\npython3 tests/demo_debug.py -d -\n```\n\nTo see the difference when Python optimization is active, add the `-O` option to the Python interpreter:\n\n``` shell\npython3 -O tests/demo_debug.py -d -\n```\n\n\n## Getting help\n\nIf you find an issue, please submit it in [the GitHub issue tracker](https://github.com/caltechlibrary/sidetrack/issues) for this repository.\n\n\n## Contributing\n\nWe would be happy to receive your help and participation with enhancing `sidetrack`!  Please visit the [guidelines for contributing](CONTRIBUTING.md) for some tips on getting started.\n\n\n## License\n\nSoftware produced by the Caltech Library is Copyright (C) 2020, Caltech.  This software is freely distributed under a BSD/MIT type license.  Please see the [LICENSE](LICENSE) file for more information.\n\n\n## Authors and history\n\nI developed the first version of this code while implementing [Spiral](https://github.com/casics/spiral).  I started using the code in essentially every Python software package I have written since then, first by copy-pasting the code (which was initially very short) and eventually creating a single-file module (named `debug.py`).  This was obviously a suboptimal approach.  Finally, in 2020, I decided it was time to break it out into a proper self-contained Python package.\n\n\n## Acknowledgments\n\nThis work was funded by the California Institute of Technology Library.\n\nThe [vector artwork](https://thenounproject.com/term/debug/3482208/) of a document with a line break, used as the icon for this repository, was created by [iconixar](https://thenounproject.com/iconixar/) from the Noun Project.  It is licensed under the Creative Commons [CC-BY 3.0](https://creativecommons.org/licenses/by/3.0/) license.\n\n<div align=\"center\">\n  <br>\n  <a href=\"https://www.caltech.edu\">\n    <img width=\"100\" height=\"100\" src=\"https://github.com/caltechlibrary/sidetrack/raw/main/.graphics/caltech-round.svg\">\n  </a>\n</div>\n\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-clause",
    "summary": "Simple debug tracing package for Python",
    "version": "2.0.1",
    "split_keywords": [
        "debugging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "37c6654a4d63b9e4feaa6c21d00c01ea",
                "sha256": "bdef201f80721426cd4a44c65c56fadbcd47698a4bc5c69ea753625ae3eb2397"
            },
            "downloads": -1,
            "filename": "sidetrack-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "37c6654a4d63b9e4feaa6c21d00c01ea",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10994,
            "upload_time": "2022-01-11T00:55:32",
            "upload_time_iso_8601": "2022-01-11T00:55:32.061311Z",
            "url": "https://files.pythonhosted.org/packages/ca/d7/887a3d03fa1ffad26613b61dbaa2c5205576829ae10dc9172e9e33e8bf97/sidetrack-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "0ff5826d018776a53664f9e712f7da9a",
                "sha256": "fd765659edf9fa230057446912e14d5bd3e3e89a50f34ef2e215f9c6c76bb7e2"
            },
            "downloads": -1,
            "filename": "sidetrack-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0ff5826d018776a53664f9e712f7da9a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 15044,
            "upload_time": "2022-01-11T00:55:33",
            "upload_time_iso_8601": "2022-01-11T00:55:33.966614Z",
            "url": "https://files.pythonhosted.org/packages/e0/67/3d2fb48f0a9bfb96b06e3714fa4da10287cf0359f1bcb2b5017778dcb568/sidetrack-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-01-11 00:55:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "caltechlibrary",
    "github_project": "sidetrack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sidetrack"
}
        
Elapsed time: 0.01325s