semvec/pypi-packages huggingface dataset:
audiblerangepy 0.0.4
`audiblerangepy` is a package for checking some frequency is audible or not for some human-being and animals
License: MIT
Keywords: audible

`audiblerangepy` is a package for checking some frequency is audible or not for some human-being and animals

Requirements
------------
* Python 3.x
(you may work by Python2.x)

Features
--------
* nothing

History
-------
0.0.1 (2017-7-15)
0.0.2 (2017-7-15)
0.0.3 (2017-7-15)
0.0.4 (2017-7-15)
~~~~~~~~~~~~~~~~~~
* first release
Python-Trivia-API 4.0.2
An API wrapper for opentdb
License: MIT

# Python Trivia API
## Install
```
pip install Python-Trivia-API
```

## Example usage
```Python
from pytrivia import Category, Diffculty, Type, Trivia
my_api = Trivia(True)
response = my_api.request(2, Category.Books, Diffculty.Hard, Type.True_False)
print(response)
```

## Full method signature
```Python
def request(self, num_questions: int, category: Category = None,
            diffculty: Diffculty = None, type_: Type = None):
    """
    Send an api request to https://opentdb.com/
    Limitations:
    Only 1 Category can be requested per API Call.
    To get questions from any category, don't specify a category.
    A Maximum of 50 Questions can be retrieved per call.

    :param num_questions: the number of questions,
    must be between 1 and 50 (inclusive)

    :param category: the category of the question. None for any category

    :param diffculty: the diffculty of the question. None for any diffculty

    :param type_: the type of the question. None for any type

    :return: the api call response

    :rtype: dict

    :raises: ValueError when the num_questions parameter is less than 1
    or greater than 50
    """
```
wowspy 1.2.3
A Python World of Warships API wrapper
License: MIT

# Warships.py  
A  Python3 World of Warships API wrapper

Installation instruction:  
``pip install wowspy``    

Please consult the official documentation [here](https://developers.wargaming.net/reference)

Example usage:
```py
from wowspy import Wows


def example():
    api_key = 'YOUR_WOWS_API_KEY'
    my_api = Wows(api_key)

    # We will search for a player and then get its stats in this example
    player_name = 'PotatoSquad'

    # Api response from Wargaming
    # We only want one result, thus it's specified limit
    player_id_response = my_api.players(
        my_api.region.NA, player_name, fields='account_id', limit=1)

    # Get the player id from the api response
    player_id = player_id_response['data'][0]['account_id']

    # Now we will use this id to search for the player's stats
    # We only want the pvp stats here, it's specified in fields param
    player_stats_response = my_api.player_personal_data(
        my_api.region.NA, player_id, fields='statistics.pvp')
    print(player_stats_response)


if __name__ == '__main__':
    example()
```

Example usage(with Aiohttp):
```py
from asyncio import get_event_loop

from aiohttp import ClientSession

from wowspy import WowsAsync


async def example():
    api_key = 'YOUR_WOWS_API_KEY'
    session = ClientSession()
    my_api = WowsAsync(api_key, session)

    # We will search for a player and then get its stats in this example
    player_name = 'PotatoSquad'

    # Api response from Wargaming
    # We only want one result, thus it's specified limit
    player_id_response = await my_api.players(
        my_api.region.NA, player_name, fields='account_id', limit=1)

    # Get the player id from the api response
    player_id = player_id_response['data'][0]['account_id']

    # Now we will use this id to search for the player's stats
    # We only want the pvp stats here, it's specified in fields param
    player_stats_response = await my_api.player_personal_data(
        my_api.region.NA, player_id, fields='statistics.pvp')
    print(player_stats_response)


if __name__ == '__main__':
    loop = get_event_loop()
    loop.run_until_complete(example())
    loop.close()

```
pycsvdb 2.3
Reading CSV file and insert into database
License: MIT
Keywords: CSV database pandas

=============
pycsvdb
=============
Read csv and insert into DB

Requirements
-----------------

- Python 3.x
- hashlib
- pandas
- sqlalchemy
- shelve
- numpy

Installation
-----------------
::

    $ pip install pycsvdb


Example
-----------------

::

   from pycsvdb import CsvManage

   CsvManage(db_config_file="config.ini", file_name="filename.csv", primary_key="id", table_name="table_name")

Confi.ini format
-----------------

::

    [DB]


    sqlalchemy.url = postgresql://postgres:password@localhost:5432/postgres

    stage_schema = stage_table

    prod_schema = prod_table