semvec/pypi-packages huggingface dataset:
eagleeyeair 0.1.7
Python API client library for eagleeye
License: MIT

# Eagle Eye Air

This package provides Python SDK for accessing APIs provided by [the eagleeye platform](https://status.eagleeye.com).

## Setup environment

To use the package, we need to first configure os with following variables:

* `EES_AUTH_CLIENT_ID`: this is your `eagleeye` client id
* `EES_AUTH_CLIENT_SECRET`: your `eagleeye` secret, will be used for payload encryption
* `EES_API_PREFIX`: api version to use, default to `/2.0`
* `EES_POS_API_HOST`: hostname of the POS API server
* `EES_WALLET_API_HOST`: hostname of the Wallet API server
* `EES_RESOURCES_API_HOST`: hostname of the Resources API server

## Invoke API

With environment setup, you can invoke the APIs as shown below:

```python
import json
from eagleeyeair import resources

print(json.dumps(resources.list_campaigns(limit=5), indent=2))
```
stransi 0.3.0
A lightweight parser for ANSI escape sequences
License: MIT
Requires Python: >=3.8,<4.0
Keywords: ansi-colors,ansi-escape-codes,ansi,console,cuia,parser,stransi,terminal

[![PyPI](https://img.shields.io/pypi/v/stransi)](https://pypi.org/project/stransi/)
[![Python package](https://github.com/getcuia/stransi/actions/workflows/python-package.yml/badge.svg)](https://github.com/getcuia/stransi/actions/workflows/python-package.yml)
[![PyPI - License](https://img.shields.io/pypi/l/stransi)](https://github.com/getcuia/stransi/blob/main/LICENSE)

# [stransi](https://github.com/getcuia/stransi#readme) 🖍️

<div align="center">
    <img class="hero" src="https://github.com/getcuia/stransi/raw/main/banner.jpg" alt="stransi" width="33%" />
</div>

> I see a `\033[1;31m`red`\033[;39m` door, and I want it painted
> `\033[1;30m`black`\033[;39m`.

stransi is a lightweight parser for
[ANSI escape code sequences](https://en.wikipedia.org/wiki/ANSI_escape_code). It
implements a string-like type that is aware of its own ANSI escape sequences,
and can be used to parse most of the common escape sequences used in terminal
output manipulation.

## Features

-   ✨ [Good support of ANSI escape sequences](FEATURES.md)
-   🎨 Focus on coloring and styling
-   🛡️ Unsupported `CSI` escape sequences are emitted as tokens
-   🏜️ Only one dependency: [ochre](https://github.com/getcuia/ochre)
-   🐍 Python 3.8+

## Installation

```console
$ pip install stransi
```

## Usage

```python
In [1]: from stransi import Ansi

In [2]: text = Ansi(
   ...:     "I see a \033[1;31mred\033[;39m door, "
   ...:     "and I want it painted \033[1;30mblack\033[;39m"
   ...: )

In [3]: list(text.escapes())
Out[3]:
['I see a ',
 Escape('\x1b[1;31m'),
 'red',
 Escape('\x1b[;39m'),
 ' door, and I want it painted ',
 Escape('\x1b[1;30m'),
 'black',
 Escape('\x1b[;39m')]

In [4]: list(text.instructions())
Out[4]:
['I see a ',
 SetAttribute(attribute=<Attribute.BOLD: 1>),
 SetColor(role=<ColorRole.FOREGROUND: 30>, color=Ansi256(1)),
 'red',
 SetAttribute(attribute=<Attribute.NORMAL: 0>),
 SetColor(role=<ColorRole.FOREGROUND: 30>, color=None),
 ' door, and I want it painted ',
 SetAttribute(attribute=<Attribute.BOLD: 1>),
 SetColor(role=<ColorRole.FOREGROUND: 30>, color=Ansi256(0)),
 'black',
 SetAttribute(attribute=<Attribute.NORMAL: 0>),
 SetColor(role=<ColorRole.FOREGROUND: 30>, color=None)]
```

## Credits

[Photo](https://github.com/getcuia/stransi/raw/main/banner.jpg) by
[Tien Vu Ngoc](https://unsplash.com/@tienvn3012?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
on
[Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText).
streamlit-profiler 0.2.4
Runtime profiler for Streamlit, powered by pyinstrument
License: MIT
Requires Python: >=3.7,<4.0

# streamlit-profiler &nbsp;🏄🏼

[![PyPi](https://img.shields.io/pypi/v/streamlit-profiler)](https://pypi.org/project/streamlit-profiler/)

**Runtime profiler for Streamlit, powered by [pyinstrument](https://github.com/joerick/pyinstrument).**

streamlit-profiler is a [Streamlit component](https://streamlit.io/components) that
helps you find out which parts of your app are slow. It profiles the code via
[pyinstrument](https://github.com/joerick/pyinstrument) and shows the results right
within your Streamlit app.

<sup>Alpha version, use with care.</sup>

---

<h3 align="center">
  ⏱️ <a href="https://share.streamlit.io/jrieke/streamlit-profiler/main/examples/basic.py">Live demo</a> ⏱️
</h3>

---

<p align="center">
    <a href="https://share.streamlit.io/jrieke/streamlit-profiler/main/examples/basic.py"><img src="images/demo.png" width=600></a>
</p>

## Installation

```bash
pip install streamlit-profiler
```

## Usage

```python
import streamlit as st
from streamlit_profiler import Profiler

with Profiler():
    st.title("My app")
    # ... other code

# Or:
# p = Profiler()
# p.start()
# ...
# p.stop()
```

Then start your app as usual: `streamlit run my_app.py`

The `Profiler` class is an extension of `pyinstrument.Profiler`, so you can use
[all of its functions](https://pyinstrument.readthedocs.io/en/latest/reference.html#pyinstrument.Profiler).