semvec/pypi-packages huggingface dataset:
DatasetTester 0.0.1
A tool to automate collecting and testing against datasets on openml.org
Requires Python: >=3.6

DatasetTester is a tool to collect datasets from openml.org and make it easier to test predictors (classifiers or regressors) against these files. Our hope is this eases the work required to test classifiers and so encourages researchers to test predictors against larger numbers of datasets, taking greater advantage of the collection on openml.org. 

The tool works by calling a series of methods, for example:

datasets_tester = DatasetsTester()
matching_datasets = datasets_tester.find_datasets( 
    problem_type = "classification",
    min_num_classes = 2,
    max_num_classes = 20,
    min_num_minority_class = 5,
    max_num_minority_class = np.inf,
    min_num_features = 0,
    max_num_features = np.inf,
    min_num_instances = 500,
    max_num_instances = 5_000,
    min_num_numeric_features = 2,
    max_num_numeric_features = 50,
    min_num_categorical_features=0,
    max_num_categorical_features=50)

This returns a pandas dataframe containing the list of datasets on openml.org matching the provided criteria. In this example, we're specifying datasets with between 500 and 5,000 rows, between 2 and 50 numeric columns, and so on.

The returned list may be examined and the parameters refined if desired. Alternatively, users may call datasets_tester.find_by_name() to specify a specific list of dataset names.

A call is then made such as:

datasets_tester.collect_data()

This will return all datasets identified by the previous call to find_datasets() or find_by_name(). Alternatively, users may specify to return a subset of the datasets identified, for example:

datasets_tester.collect_data(max_num_datasets_used=5, method_pick_sets='pick_first', keep_duplicated_names=False)

This collects the first 5 datasets found above. Note though, as keep_duplicated_names=False is specified, in cases where openml.org has multiple datasets with the same name, but different versions, only the last version will be collected.
lambda-parse-sqs 0.2.2
Parse SQS messages from lambda triggered SQS subscription

[![Actions Status](https://github.com/msantino/lambda-parse-sqs/workflows/CI/badge.svg)](https://github.com/msantino/lambda-parse-sqs/actions)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
[![PyPI version](https://badge.fury.io/py/lambda-parse-sqs.svg)](https://badge.fury.io/py/lambda-parse-sqs)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/msantino/lambda-parse-sqs.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/msantino/lambda-parse-sqs/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/msantino/lambda-parse-sqs.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/msantino/lambda-parse-sqs/context:python)
[![Twitter Follow](https://img.shields.io/twitter/follow/msantino.svg?style=social&label=Follow)](https://twitter.com/msantino)




# Lambda Parse SQS Messages

When creating a Lambda subscription to consume SQS events, it's possible to receive multiple messages at once function invocation. So, its necessary to parse message body and iterate over multiple events. 

```bash
pip install lambda-parse-sqs
```

```python
from lambda_parse_sqs import parse_messages

def lambda_handler(event, context):

    messages = parse_messages(event)
    for message in messages:
        # Do wethever you want
```