semvec/pypi-packages huggingface dataset:
dsutil 0.2.1
Collection of utils for making your life easier when using the Python data science stack

# python-ds-util

[![PyPI version](https://badge.fury.io/py/dsutil.png)](https://badge.fury.io/py/dsutil)

## Installation

The library is available on **pip**:

`pip install dsutil`

## Examples

For full usage examples see notebooks under [the examples directory](https://github.com/queirozfcom/python-ds-util/tree/master/examples).

### Plotting

Full examples for plotting [here](https://github.com/queirozfcom/python-ds-util/tree/master/examples/examples-plotting.ipynb)

- `add_grid()`: reasonable default grid settings, with weak grey lines, light alpha, etc.
   
  ```python
  import numpy as np
  import matplotlib.pyplot as plt
  from dsutil.plotting import add_grid
  
  x = np.linspace(0.0,100,10)
  y = np.random.uniform(low=0,high=10,size=10)

  plt.bar(x,y)
  
  add_grid()
  ```
   
<p align="center">
  <img src="https://i.imgur.com/7ZnSaZq.png" width="350">
  <img src="https://i.imgur.com/vOq2ZMZ.png" width="350">
</p>

- `add_value_labels()` annotates barplots, line plots and scatter plots with values for the coordinates

  ```python
  import numpy as np
  import matplotlib.pyplot as plt
  from dsutil.plotting import add_value_labels
  
  x = np.linspace(0.0,100,10)
  y = np.random.uniform(low=0,high=10,size=10)

  plt.bar(x,y)
  
  add_value_labels()
  ```
   
<p align="center">
  <img src="https://i.imgur.com/J8iZuK6.png" width="350">
  <img src="https://i.imgur.com/Wq9eKQm.png" width="350">
</p>

- `format_yaxis_percentage()`: turns values between 0 and 1 in y-axis into percentages

  ```python
  import numpy as np
  import matplotlib.pyplot as plt
  from dsutil.plotting import format_yaxis_percentage
  
  x = np.linspace(0.0,100,10)
  y = np.random.uniform(low=0,high=1,size=10)
    
  plt.bar(x,y)
  plt.yticks(np.arange(0,1.01,0.1))

  format_yaxis_percentage()
  ```
  
<p align="center">
  <img src="https://i.imgur.com/XIIJgM8.png" width="350">
  <img src="https://i.imgur.com/ybDW5hq.png" width="350">
</p>

- `format_yaxis_thousands()`: uses commas as thousands separator in the y-axis labels

  ```python
  import numpy as np
  import matplotlib.pyplot as plt
  from dsutil.plotting import format_yaxis_thousands
  
  x = np.linspace(0.0,100,10)
  y = np.random.uniform(low=10000,high=100000,size=10)

  plt.bar(x,y)
  plt.yticks(np.arange(0,100001,10000))

  format_yaxis_thousands()
  ```
  
<p align="center">
  <img src="https://i.imgur.com/1g0WYKO.png" width="350">
  <img src="https://i.imgur.com/IyTMmbr.png" width="350">
</p>
bm-cli-coyote963 0.0.1
Command line interface for boring man servers
Requires Python: >=3.6


### CLI

Command line tools for provisioning servers. A sample of the commands:

1. `start` Starts the Boring Man Wrapper API
2. `stop` Stops Boring Man Wrapper API and all servers running therein
3. `add` Adds a server from a preset. Presets are configurable and defined in `presets.py`
4. `add-custom` Adds a server from a settings file path
5. `remove` Kills a server and frees its resources
6. `status` Displays server information in tabular form
py-motion-detector 0.1.2
A python based motion detection application for the raspberry pi.
Requires Python: >=3.7,<3.11

==================
py-motion-detector
==================

A python based motion detection application for the raspberry pi.  Current version must be ran on a raspberry pi since it relies on the ``picamera`` software.

Usage
-----

To start the application::

    py-motion-detector

Hit Ctrl-C to exit or use ``kill <pid>``.
selenium-browser 0.0.15
selenium_browser
Requires Python: >=3.4

# selenium_browser

![PyPI - package version](https://img.shields.io/pypi/v/selenium_browser?logo=pypi&style=flat-square)
![PyPI - license](https://img.shields.io/pypi/l/selenium_browser?label=package%20license&style=flat-square)
![PyPI - python version](https://img.shields.io/pypi/pyversions/selenium_browser?logo=pypi&style=flat-square)
![PyPI - downloads](https://img.shields.io/pypi/dm/selenium_browser?logo=pypi&style=flat-square)

![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/selenium_browser?style=flat-square)
![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/selenium_browser?style=flat-square)

![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/selenium_browser?style=flat-square)
![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/selenium_browser?style=flat-square)
![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/selenium_browser?style=flat-square)

![GitHub - license](https://img.shields.io/github/license/kkristof200/selenium_browser?label=repo%20license&style=flat-square)

## Description



## Install

~~~~bash
pip install selenium_browser
# or
pip3 install selenium_browser
~~~~

## Usage

~~~~python
import selenium_browser
~~~~

## Dependencies

[k-selenium-cookies](https://pypi.org/project/k-selenium-cookies), [kproxy](https://pypi.org/project/kproxy), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [xpath-utils](https://pypi.org/project/xpath-utils)
sphinx-json-schema-formatter 0.3.7
JSON Schema renderer for Sphinx
Keywords: sphinx,json,schema

sphinx-json-schema
==================

A JSON Schema renderer for Sphinx_

Installation
------------


As simple as it can be with ``pip``::

   pip install sphinx-json-schema


Usage
-----

Add the extension name to your ``conf.py``::

   extensions = [
      ...
      'sphinx_json_schema_formatter',
      ...
   ]

If necessary, add a root directory to look for json schemas::

   json_schema_root_dir = os.path.join('path', 'to', 'root', 'dir')

In your documentation::

   .. json-schema:: path/to/json/schema.json

The file is looked up relatively from the ``.rst`` file the directive is called in, or, if not
found from the ``json_schema_root_dir`` specified in the ``conf.py`` file.

allOf, oneOf, anyOf, not support
--------------------------------

``sphinx_json_schema_formatter`` supports the ``allOf``, ``oneOf``, ``anyOf`` and ``not`` keywords. It can
also parse references to other schemas. The final JSON output is the result of the operations and
inclusions of other schemas. This means it can be quite long even if the original ``.json`` file
is very short!

.. warning::

   This is still experimental


.. _Sphinx: http://www.sphinx-doc.org/