semvec/pypi-packages huggingface dataset:
joke-api 1.0.0
A cool wrapper for Joke API
Requires Python: >=3.5
Keywords: joke,jokes,wrapper,api

#### About:

`joke` Is a Python Wrapper that can deliver jokes to you.

#### Quickstart:

To grab the random 10 jokes, You can use joke.joke.joke.random_10
```python
from joke import joke

result = joke.random_10() #Returns a list of dicts

for item in result: #Irritating through the list, now it returns a dict
    print(item["question"]) #Prints the joke question
    print(item["answer"]) #Prints the joke answer
    print(item["type"]) #Print the type of the joke.
```

To grab 1 random joke, You can use joke.joke.joke.random
```python
from joke import joke

result = joke.random() #Returns a dict with key value "question", "answer" and "type"

print(result["question"]) #Prints the joke question
print(result["answer"]) #Prints the joke answer
print(result["type"]) #Print the type of the joke
```

It can also be used in the command line.
```sh
>>> unknown@unknown % joke
Question: Why did the man run around his bed?
Answer: Because he was trying to catch up on his sleep!
Type: general
```

### Installing:
```
pip install -U joke
```
sphinx-plotly-directive 0.1.3
A directive for including a plotly figure in a Sphinx document
Requires Python: >=3.6

# sphinx-plotly-directive

[![pypi badge](https://img.shields.io/pypi/v/sphinx-plotly-directive?color=blue)](https://pypi.org/project/sphinx-plotly-directive/)
![CI](https://github.com/harupy/sphinx-plotly-directive/workflows/CI/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/sphinx-plotly-directive/badge/?version=latest)](https://sphinx-plotly-directive.readthedocs.io/en/latest/?badge=latest)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

A directive for including a Plotly figure in a Sphinx document.

_**This package is based on [matplotlib's plot directive](https://matplotlib.org/3.1.1/devel/plot_directive.html).**_

## Install

```bash
# pypi
pip install sphinx-plotly-directive

# dev version
pip install git+https://github.com/harupy/sphinx-plotly-directive.git
```

## Usage

#### Source:

```
.. plotly::

   import plotly.express as px
   px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
```

#### Output:

<img src="https://user-images.githubusercontent.com/17039389/97077273-4278ae80-161d-11eb-89d7-9963776b7ed3.gif" width="80%" />

See [documentation](https://sphinx-plotly-directive.readthedocs.io/en/latest/index.html) for details.

## Development

### Install dependencies

```
pip install -e ".[dev]"
```

### Format code

```
flake8 .
isort .
black .
```

### Run tests

```
pytest tests
```

### Build document

```
cd docs
make html
```