semvec/pypi-packages huggingface dataset:
h2o-nitro-matplotlib 0.2.2
matplotlib plugin for H2O Nitro
Requires Python: >=3.7

# Matplotlib plugin for H2O Nitro

This plugin lets you use [Matplotlib](https://matplotlib.org/stable/index.html)
and [Seaborn](https://seaborn.pydata.org/) visualizations in [Nitro](https://github.com/h2oai/nitro) apps.

**Warning: Try to avoid pyplot in web apps!** pyplot maintains references to the opened figures to make show() work, but
this will cause memory leaks unless the figures are properly closed[^1].

[^1]: See [Matplotlib docs on embedding](https://matplotlib.org/3.5.0/gallery/user_interfaces/web_application_server_sgskip.html)

## Demo

### Matplotlib

![Matplotlib](demo_matplotlib.gif)

[View source](examples/matplotlib_basic.py).

### Seaborn

![Seaborn](demo_seaborn.gif)

[View source](examples/seaborn_basic.py).


## Install

```
pip install h2o-nitro-matplotlib
```

## Usage

1. Import the plugin:


```py
from h2o_nitro_matplotlib import matplotlib_plugin, matplotlib_box
```


2. Register the plugin:

```py
nitro = View(main, title='My App', caption='v1.0', plugins=[matplotlib_plugin()])
```

3. Use the plugin:

```py 
# Make a figure:
x = np.linspace(0, 2, 100)  # Sample data.
fig = Figure()
ax = fig.subplots()
ax.plot(x, x, label='linear')  # Plot some data on the axes.
ax.plot(x, x ** 2, label='quadratic')  # Plot more data on the axes...
ax.plot(x, x ** 3, label='cubic')  # ... and some more.
ax.set_xlabel('x label')  # Add an x-label to the axes.
ax.set_ylabel('y label')  # Add a y-label to the axes.
ax.legend()  # Add a legend.

# Display the figure:
view(matplotlib_box(fig))
```

## Change Log

- v0.2.1 - Jun 09, 2022
  - Fixed
     - Don't return value from plots.
- v0.2.0 - May 30, 2022
   - Added
      - Use global pyplot if a figure is not passed (for Seaborn support).
- v0.1.0 - May 29, 2022
  - Initial Version
braze-client 2.3.3
Braze Python Client
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Keywords: Appboy,Braze

# braze-client
A Python client for the Braze REST API

[![Build Status](https://travis-ci.com/dtatarkin/braze-client.svg?branch=master)](https://travis-ci.com/dtatarkin/braze-client)
[![Coverage](https://codecov.io/gh/dtatarkin/braze-client/branch/master/graph/badge.svg)](https://codecov.io/gh/dtatarkin/braze-client)

### How to install

Make sure you have Python 2.7+ or 3.6+ installed and run:

```
$ git clone https://github.com/dtatarkin/braze-client
$ cd braze-client
$ python setup.py install
```

### How to use

```python
from braze.client import BrazeClient
client = BrazeClient(api_key='YOUR_API_KEY', use_auth_header=True)

r = client.user_track(
    attributes=[{
        'external_id': '1',
        'first_name': 'First name',
        'last_name': 'Last name',
        'email': 'email@example.com',
        'status': 'Active',
        # And other fields ...
    }],
    events=None,
    purchases=None,
)
if r['success']:
    # do our magic here
    print('Success!')
    print(r)
else:
    print(r['client_error'])
    print(r['errors'])

```
For more examples, check `examples.py`.

### How to test

To run the unit tests, make sure you have the [tox](https://tox.readthedocs.io/en/latest/) module installed 
and run the following from the repository root directory:

`$ tox`
xrdconfig 0.2.0
Easy access to Xrootd config parameters
Requires Python: >=3.8

# xrdconfig

[![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]

[![PyPI version][pypi-version]][pypi-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

[![GitHub Discussion][github-discussions-badge]][github-discussions-link]

Simple command line tool for checking XrootD configuration files and comparing
them. Requires Python 3.8 or later and XrootD 5.0.0 or later.

<!-- prettier-ignore-start -->
[actions-badge]:            https://github.com/uobdic/xrdconfig/workflows/CI/badge.svg
[actions-link]:             https://github.com/uobdic/xrdconfig/actions
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/uobdic/xrdconfig/discussions
[pypi-link]:                https://pypi.org/project/xrdconfig/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/xrdconfig
[pypi-version]:             https://img.shields.io/pypi/v/xrdconfig
[rtd-badge]:                https://readthedocs.org/projects/xrdconfig/badge/?version=latest
[rtd-link]:                 https://xrdconfig.readthedocs.io/en/latest/?badge=latest

<!-- prettier-ignore-end -->