semvec/pypi-packages huggingface dataset:
cocktail-info 0.1.8
Get the information of cocktails.
License: MIT
Requires Python: >=3.9,<4.0

# cocktail_info

This project is called cocktail_info. The functions are built to get the information of cocktails users want to know. Below are the explanations for what each function can do:

Function get_id(): This function can help users to get the id of the cocktail they input so that they could use for further search.

Function get_cocktail(): This function can help users to get the details of the cocktails they input, such as ID, Name, Category, whether they contain alcohol, the ways to make them, etc.

Function get_one(): This function can help users to get the information of the exact one cocktail they want through the unique id.

Function get_ingredient(): This function can help users to get the names and measures of the ingredients in the cocktail after the users input the name of cocktails. 

Function get_pics(): This function can help users to get the pictures of the cocktails along with the IDs and names they input.

Function decsription(): This function can give users the introduction of cocktails users input.

Function is_in(): This function allows users to check whether the ingredient they input is in the ingredients list.

## Installation

```bash
$ pip install cocktail_info
```

## Usage

```bash
from cocktail_info import cocktail_info
```

### Get the id of the cocktail

```bash
cocktail_info.get_id('gin')
```

### Get the information of the cocktails

```bash
cocktail_info.get_cocktail('gin')
```

### Get the information of the exact cocktail you want to know

```bash
cocktail_info.get_one('gin')
```

### Get the ingredients of the cocktails

```bash
cocktail_info.get_ingredient('gin')
```

### Get the pictures of the cocktails

```bash
cocktail_info.get_pics('gin')
```

### Get the introduction of the cocktail

```bash
cocktail_info.description('gin')
```

### Tell whether one ingredient is in the cocktail

```bash
cocktail_info.is_in('gin')
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`cocktail_info` was created by Kun Yao. It is licensed under the terms of the MIT license.

## Credits

`cocktail_info` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
screenshot-api 1.0.0
Python client library for Screenshot API.
License: MIT
Requires Python: >=3.6
Keywords: screenshot,api,whois,whoisxmlapi

.. image:: https://img.shields.io/badge/License-MIT-green.svg
    :alt: screenshot-py license
    :target: https://opensource.org/licenses/MIT

.. image:: https://img.shields.io/pypi/v/screenshot-api.svg
    :alt: screenshot-py release
    :target: https://pypi.org/project/screenshot-api

.. image:: https://github.com/whois-api-llc/screenshot-py/workflows/Build/badge.svg
    :alt: screenshot-py build
    :target: https://github.com/whois-api-llc/screenshot-py/actions

========
Overview
========

The client library for
`Screenshot API <https://website-screenshot.whoisxmlapi.com/>`_
in Python language.

The minimum Python version is 3.6.

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

.. code-block:: shell

    pip install screenshot-api

Examples
========

Full API documentation available `here <https://website-screenshot.whoisxmlapi.com/api/documentation/making-requests>`_

Create a new client
-------------------

.. code-block:: python

    from screenshotapi import *

    client = Client('Your API key')

Capture screenshots
-------------------

.. code-block:: python

    client.get(filename='screen.jpg',url='example.com')

Extras
-------------------

.. code-block:: python

    cookies = {
        'name1': 'value1',
        'name2': 'value2'
    }

    # Pass cookies, emulate mobile device, disable JS, wait for network idle
    # event, output API errors in XML, capture PDF screenshot in full page
    # mode and get image data in base64.
    response = client.get_raw(
        url='example.com',
        type=ImageFormat.PDF,
        mode=Client.SLOW_MODE,
        full_page=True,
        mobile=True,
        output_format=Client.XML_FORMAT,
        image_output_format=Client.BASE64_FORMAT,
        no_js=True,
        cookies=cookies
    )



Changelog
=========

1.0.0 (2021-12-16)
------------------

* First release