semvec/pypi-packages huggingface dataset:
restible-swagger 0.3.3
Generate OpenAPI spec for restible resources
License: MIT
Keywords: restible swagger OpenAPI REST restapi


restible-swagger
################

.. readme_inclusion_marker

This is simple tool that makes it easy to generate OpenAPI (previously Swagger)
specification from the `restible <https://github.com/novopl/restible>`_ powered
backend code.

.. note::

    The CircleCI builds can be found
    `here <https://circleci.com/gh/novopl/restible-swagger>`_

Installation
============

.. code-block:: shell

    $ pip install restible-appengine


Contributing
============

Cloning and setting up the development repo
-------------------------------------------

.. code-block:: shell

    $ git clone git@github.com:novopl/restible-swagger.git
    $ cd restible-swagger
    $ virtualenv env
    $ source ./env/bin/activate
    $ pip install .
    $ pip install -r ops/devrequirements.txt
    $ peltak git add-hooks

.. note::
    God knows why, installing the current package with
    ``python setup.py develop`` or ``python setup.py install`` will cause pylint
    to think **six** is a local project package and it will throw errors about
    the wrong import order.


Running tests
.............

.. code-block:: shell

    $ peltak test

Linting
.......

.. code-block:: shell

    $ peltak lint

Generating docs
...............

.. code-block:: shell

    $ peltak docs
legipy 0.1.2
Python client for legifrance.gouv.fr website
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*
Keywords: scraping politics data france

legipy
======

[![Build Status](https://travis-ci.org/regardscitoyens/legipy.svg?branch=master)](https://travis-ci.org/regardscitoyens/legipy)
[![codecov](https://codecov.io/gh/regardscitoyens/legipy/branch/master/graph/badge.svg)](https://codecov.io/gh/regardscitoyens/legipy)

Python client for the `legifrance.gouv.fr` website.

CLI usage
---------

The command-line script `legipy` gives access to service commands from the command line and outputs data in JSON format.

## Legislature

Access to the [legislature](https://www.legifrance.gouv.fr/dossiers_legislatifs.jsp).

### List legislatures

```bash
legipy legislatures
```

### List published laws

```bash
legipy published_laws [--legislature=CURRENT]
```

### List pending law projects

```bash
legipy law_projects [--legislature=CURRENT]
```

### List pending law proposals

```bash
legipy law_proposals [--legislature=CURRENT]
```

### List common laws ("[Lois dites](https://www.legifrance.gouv.fr/affichSarde.do?reprise=true&page=1&idSarde=SARDOBJT000007106573)")

```bash
legipy common_laws
```

### Show specific law

```bash
legipy law JORFDOLE000024106525
```

## Applicable codes

Access to the [applicable codes](https://www.legifrance.gouv.fr/initRechCodeArticle.do).

### List applicable codes

```bash
legipy codes
```

### Show code details

```bash
legipy code LEGITEXT000006074075
legipy code --date-pub 2018-05-01 LEGITEXT000006074075
```

### Show code section details

```bash
legipy code_section LEGITEXT000006074075 LEGISCTA000006107991
legipy code --date-pub 2018-05-01 LEGITEXT000006074075 LEGISCTA000006107991
```
nannypi 0.1.2
Collection of python scripts used to automate a raspberry pi and telegram powered nanny cam.
License: MIT
Requires Python: >=3
Keywords: Nanny,Telegram

# nannypi

This project is to create a telegram-enabled nanny cam using a raspberry pi and a usb webcam.

## Project Installation

Run the script

Edit the /etc/default/motion file: `sudo vim /etc/default/motion`

```
# set to 'yes' to enable the motion daemon
start_motion_daemon=yes

TELEGRAM_BOT_TOKEN=<telegram_bot_token>
TELEGRAM_CHAT_ID=<telegram_chat_id>

export TELEGRAM_BOT_TOKEN
export TELEGRAM_CHAT_ID
```

Edit motion config file: `sudo vim /etc/motion/motion.conf`
The option `on_picture_save` is commented out.  Remove the comment and add the following.

```
on_picture_save /opt/nannypi/venv/bin/send_telegram_media.py --delete --file %f
```

## Python Script info

This is part of a larger repo created to create a telegram-enabled nanny camera.  See the main repo for full information: [nannypi](https://gitlab.com/rveach/nannypi).

### Install Python Scripts

```bash
pip install nannypi
```

### send_telegram_media.py

This script will send media to telegram using cli arguments.

```bash
python send_telegram_media.py -h
usage: send_telegram_media.py [-h] [-f [FILE [FILE ...]]] [-t TOKEN]
                              [-c CHAT_ID] [-d]

Send media images to a Telegram Chat.

optional arguments:
  -h, --help            show this help message and exit
  -f [FILE [FILE ...]], --file [FILE [FILE ...]]
                        Files to send
  -t TOKEN, --token TOKEN
                        telegram token. Can also be specified with the env
                        variable TELEGRAM_BOT_TOKEN.
  -c CHAT_ID, --chat-id CHAT_ID
                        telegram chat id. Can also be specified with the env
                        variable TELEGRAM_CHAT_ID
  -d, --delete          delete file after sending
```
eda-viz 0.0.6.1
Light-weight Python EDA and Visualization Library for Data Scientists
License: MIT

# EDA and Visualization Library
[![Build Status](https://travis-ci.com/ajaymaity/eda-viz.svg?branch=master)](https://travis-ci.com/ajaymaity/eda-viz)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/ajaymaity/eda-viz/blob/master/LICENSE)

Light-weight Python EDA and Visualization Library for Data Scientists.

The `eda_viz` module is a light-weight library that will make your data 
exploration and visualization tasks lot simpler.

## Installation

You can install `eda-viz` from PyPI:

```buildoutcfg
pip install eda-viz
```

The library is only tested in Python 3.6.5, and on Mac OS v10.13.6.

## How to use

Let's create a sample dataframe:

```buildoutcfg
import pandas as pd
df = pd.DataFrame({
    'categories': ['A', 'B', 'A', 'C', 'D', 'B', 'A'],
    'numbers': [1, 2, 1, 3, 4, 2, 1]
})
```

### Column Distribution

```buildoutcfg
from eda_viz.viz import column_distribution
column_distribution(df['categories'])
```

![Column Distribution](https://raw.githubusercontent.com/ajaymaity/eda-viz/master/images/example-column-distribution.png)

### Histogram

```buildoutcfg
from eda_viz.viz import histogram
histogram(df['numbers'])
```

![Histogram](https://raw.githubusercontent.com/ajaymaity/eda-viz/master/images/example-histogram.png)

### Bar Plot

```buildoutcfg
from eda_viz.viz import bar_plot
bar_plot(df['categories'], df['numbers'])
```

![Bar Plot](https://raw.githubusercontent.com/ajaymaity/eda-viz/master/images/example-bar-plot.png)

Other charts are a WIP.