An open API service indexing awesome lists of open source software.

https://github.com/sourceplusplus/probe-python

Continuous feedback probe for Python applications
https://github.com/sourceplusplus/probe-python

python

Last synced: 11 months ago
JSON representation

Continuous feedback probe for Python applications

Awesome Lists containing this project

README

          

# ![](https://github.com/sourceplusplus/sourceplusplus/blob/master/.github/media/sourcepp_logo.svg)

[![License](https://img.shields.io/github/license/sourceplusplus/probe-python)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/sourceplusplus?color=blue)](https://pypi.org/project/sourceplusplus/)
[![E2E](https://github.com/sourceplusplus/probe-python/actions/workflows/e2e.yml/badge.svg)](https://github.com/sourceplusplus/probe-python/actions/workflows/e2e.yml)

## What is this?

This project provides Python support to the [Source++](https://github.com/sourceplusplus/sourceplusplus) open-source live coding platform.

## Usage

- `pip install sourceplusplus`

### Attach

```python
from sourceplusplus.SourcePlusPlus import SourcePlusPlus
SourcePlusPlus().attach()
```

### Config

Add `spp-probe.yml` to working directory (or set `SPP_PROBE_CONFIG_FILE` env):

```yml
spp:
platform_host: "localhost"
```

Or construct with dict:

```python
from sourceplusplus.SourcePlusPlus import SourcePlusPlus
SourcePlusPlus({
"spp.platform_host": "localhost"
}).attach()
```

## Bugs & Features

Bug reports and feature requests can be created [here](https://github.com/sourceplusplus/sourceplusplus/issues).