semvec/pypi-packages huggingface dataset:
boto3-pydantic-neptunedata 1.0.2
Pydantic models for AWS Neptunedata
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, neptunedata

# boto3-pydantic-neptunedata

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Neptunedata.
boto3-pydantic-neptune-graph 1.0.2
Pydantic models for AWS Neptune_graph
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, neptune_graph

# boto3-pydantic-neptune_graph

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Neptune_graph.
boto3-pydantic-neptune 1.0.2
Pydantic models for AWS Neptune
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, neptune

# boto3-pydantic-neptune

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Neptune.
boto3-pydantic-mwaa 1.0.2
Pydantic models for AWS Mwaa
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mwaa

# boto3-pydantic-mwaa

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mwaa.
boto3-pydantic-mturk 1.0.2
Pydantic models for AWS Mturk
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mturk

# boto3-pydantic-mturk

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mturk.
boto3-pydantic-mq 1.0.2
Pydantic models for AWS Mq
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mq

# boto3-pydantic-mq

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mq.
boto3-pydantic-migrationhubstrategy 1.0.2
Pydantic models for AWS Migrationhubstrategy
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, migrationhubstrategy

# boto3-pydantic-migrationhubstrategy

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Migrationhubstrategy.
test-qaaa-sdk 2.3.3
qaqqa
Requires Python: >=3.7
Keywords: SDK


# Getting Started with Pagination Tester

## Introduction

API demonstrating different pagination techniques.

## Install the Package

The package is compatible with Python versions `3.7+`.
Install the package from PyPi using the following pip command:

```bash
pip install test-qaaa-sdk==2.3.3
```

You can also view the package at:
https://pypi.python.org/pypi/test-qaaa-sdk/2.3.3

## Test the SDK

You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:

Navigate to the root directory of the SDK and run the following commands

```
pip install -r test-requirements.txt
pytest
```

## Initialize the API Client

**_Note:_** Documentation for the client can be found [here.](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/client.md)

The following parameters are configurable for the API Client:

| Parameter | Type | Description |
|  --- | --- | --- |
| http_client_instance | `HttpClient` | The Http Client passed from the sdk user for making requests |
| override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
| http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
| timeout | `float` | The value to use for connection timeout. <br> **Default: 60** |
| max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |

The API client can be initialized as follows:

```python
client = PaginationtesterClient(
    environment=Environment.PRODUCTION
)
```

## List of APIs

* [Transaction](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/controllers/transaction.md)

## SDK Infrastructure

### HTTP

* [HttpResponse](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/http-response.md)
* [HttpRequest](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/http-request.md)

### Utilities

* [ApiHelper](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/api-helper.md)
* [HttpDateTime](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/http-date-time.md)
* [RFC3339DateTime](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/rfc3339-date-time.md)
* [UnixDateTime](https://www.github.com/tahaali2000/test-qaaa-python-sdk/tree/2.3.3/doc/unix-date-time.md)
boto3-pydantic-migrationhuborchestrator 1.0.2
Pydantic models for AWS Migrationhuborchestrator
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, migrationhuborchestrator

# boto3-pydantic-migrationhuborchestrator

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Migrationhuborchestrator.
boto3-pydantic-migrationhub-config 1.0.2
Pydantic models for AWS Migrationhub_config
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, migrationhub_config

# boto3-pydantic-migrationhub_config

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Migrationhub_config.
boto3-pydantic-migration-hub-refactor-spaces 1.0.2
Pydantic models for AWS Migration_hub_refactor_spaces
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, migration_hub_refactor_spaces

# boto3-pydantic-migration_hub_refactor_spaces

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Migration_hub_refactor_spaces.
boto3-pydantic-mgn 1.0.2
Pydantic models for AWS Mgn
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mgn

# boto3-pydantic-mgn

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mgn.
boto3-pydantic-mgh 1.0.2
Pydantic models for AWS Mgh
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mgh

# boto3-pydantic-mgh

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mgh.
boto3-pydantic-meteringmarketplace 1.0.2
Pydantic models for AWS Meteringmarketplace
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, meteringmarketplace

# boto3-pydantic-meteringmarketplace

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Meteringmarketplace.
PyGPUEnergy 0.1.1
A package for monitoring GPU power and energy consumption
Requires Python: >=3.9

# PyGPUEnergy

A Python package for monitoring GPU power consumption and energy usage during code execution. This package provides both a decorator-based approach and a manual monitoring interface for tracking GPU metrics.

## How it works

The package uses the `nvidia-smi` command to monitor GPU metrics. It runs a background process that periodically calls `nvidia-smi` to get the GPU metrics. The metrics are then saved to a CSV file. 

During the execution of the code, the GPU monitor will record the start and end time of the user code region.

The energy consumption is calculated by equation:

$$E = \int P(t) dt$$

where $P(t)$ is the power consumption of the GPU at time $t$.



## Installation

```bash
pip install PyGPUEnergy
```

## Usage

### Using the Decorator

```python
from PyGPUEnergy.decorator import monitor_gpu

@monitor_gpu(gpu_id=0, sampling_period_ms=100)
def your_gpu_function():
    # Your GPU-intensive code here
    pass
```

The decorator supports the following parameters:
- `gpu_id`: GPU device ID to monitor (default: 0)
- `sampling_period_ms`: Sampling period in milliseconds (default: 100)

### Manual Monitoring

```python
from PyGPUEnergy.monitor import GPUMonitor

# Create monitor instance
monitor = GPUMonitor(gpu_id=0, sampling_period_ms=100)

# Start monitoring
monitor.start_monitoring()

# Your GPU-intensive code here

# Stop monitoring
monitor.stop_monitoring()

# Get metrics with energy consumption information
metrics_df = monitor.get_metrics()
```

### Visualization

```python
from PyGPUEnergy.visualize import plot_gpu_metrics

# Plot metrics from a log file
plot_gpu_metrics("path/to/log_file.csv", save_path="metrics_plot.png")

# Plot with custom settings
plot_gpu_metrics(
    "gpu_logs/log_file.csv",
    records_file="gpu_logs/gpu_records_0.json",  # Function execution records
    t0_file="gpu_logs/t0.txt",                   # Start time reference
    save_path="metrics_plot.png",
    show=True
)
```

## Example

See the `examples/usage_example.py` file for a complete example of using the package. Here's a quick example:

```python
from PyGPUEnergy.decorator import monitor_gpu
import torch

@monitor_gpu(gpu_id=0, sampling_period_ms=100)
def train_model():
    model = torch.nn.Linear(1000, 1000).cuda()
    optimizer = torch.optim.Adam(model.parameters())
    
    for _ in range(100):
        x = torch.randn(1000, 1000).cuda()
        y = model(x)
        loss = y.sum()
        loss.backward()
        optimizer.step()
```

## License

MIT License

## Contributing
This project is a very basic implementation and can be improved in many ways.
Contributions are welcome! Please feel free to submit a Pull Request.
boto3-pydantic-memorydb 1.0.2
Pydantic models for AWS Memorydb
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, memorydb

# boto3-pydantic-memorydb

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Memorydb.
setup-pybrv-etlmeta 0.1.6
A Databricks-compatible package to create etl_meta schema and rule validation tables

# setup-pybrv-etlmeta

This package helps create the `etl_meta` schema and required business rule metadata tables inside a Databricks Unity Catalog database.

## Installation

After publishing to PyPI:

```bash
pip install setup-pybrv-etlmeta
boto3-pydantic-medical-imaging 1.0.2
Pydantic models for AWS Medical_imaging
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, medical_imaging

# boto3-pydantic-medical_imaging

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Medical_imaging.
boto3-pydantic-mediatailor 1.0.2
Pydantic models for AWS Mediatailor
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediatailor

# boto3-pydantic-mediatailor

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediatailor.
boto3-pydantic-mediastore-data 1.0.2
Pydantic models for AWS Mediastore_data
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediastore_data

# boto3-pydantic-mediastore_data

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediastore_data.
boto3-pydantic-mediastore 1.0.2
Pydantic models for AWS Mediastore
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediastore

# boto3-pydantic-mediastore

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediastore.
boto3-pydantic-mediapackagev2 1.0.2
Pydantic models for AWS Mediapackagev2
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediapackagev2

# boto3-pydantic-mediapackagev2

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediapackagev2.
boto3-pydantic-mediapackage-vod 1.0.2
Pydantic models for AWS Mediapackage_vod
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediapackage_vod

# boto3-pydantic-mediapackage_vod

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediapackage_vod.
boto3-pydantic-mediapackage 1.0.2
Pydantic models for AWS Mediapackage
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, mediapackage

# boto3-pydantic-mediapackage

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Mediapackage.
boto3-pydantic-medialive 1.0.2
Pydantic models for AWS Medialive
Requires Python: <4.0,>=3.9
Keywords: aws, boto3, pydantic, models, medialive

# boto3-pydantic-medialive

This package was automatically generated by aws-resource-validator repository.

For more information, visit:
- Package homepage: https://coreoxide.github.io/aws_resource_validator/
- GitHub repository: https://github.com/CoreOxide/aws_resource_validator
- PyPI project: https://pypi.org/project/aws-resource-validator/

Pydantic models for AWS Medialive.