semvec/pypi-packages huggingface dataset:
nomad-camels-driver-demo-digital-multimeter 0.1.4
This packes a demo SMU instrument for the NOMAD CAMELS sandbox
Requires Python: >=3.9.6

# NOMAD CAMELS driver for a demo digital multimeter

Simulated demo digital multimeter for testing, written for the measurement software [NOMAD CAMELS](https://fau-lap.github.io/NOMAD-CAMELS/).


## Features
This driver can be used to get familiar with the functionalities of NOMAD CAMELS without using an actual instrument / setup.

It is usually used together with the [demo source measure unit](https://pypi.org/project/nomad-camels-driver-demo-source-measure-unit/), where more options are available.

Both these drivers can communicate with each other. The typical usage for the demo digital multimeter is to read out a resistance from this demo (a Pt1000) which may then be converted to a temperature.

## Documentation

For more information and documentation visit the NOMAD CAMELS [documentation](https://fau-lap.github.io/NOMAD-CAMELS/doc/instruments/instruments.html).
farl 0.0.8
A FastAPI rate limiting library.
Requires Python: >=3.11

# Farl

[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![PyPI version](https://badge.fury.io/py/farl.svg)](https://badge.fury.io/py/farl)
[![Code Coverage](https://codecov.io/gh/nafnix/farl/branch/master/graph/badge.svg)](https://codecov.io/gh/nafnix/farl)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)

A powerful and flexible FastAPI rate limiting library that provides comprehensive rate limiting capabilities for your FastAPI applications.

## Features

- **Easy Integration**: Simple setup with FastAPI applications
- **Flexible Configuration**: Support for various rate limiting strategies
- **Multiple Backends**: In-memory and Redis backend support
- **Comprehensive Protection**: Request rate limiting with customizable rules
- **Monitoring**: Built-in metrics and logging capabilities
- **Dependency Injection**: FastAPI-style dependency injection support

## Installation

```bash
pip install farl
```

### Optional Dependencies

For Redis backend support:

```bash
pip install farl[redis]
```

## Quick Start

```python
from fastapi import Depends, FastAPI

from farl import (
    AsyncFarl,
    FarlError,
    farl_exceptions_handler,
    rate_limit,
)


# Using Redis backend
farl = AsyncFarl()

app = FastAPI()
app.add_exception_handler(FarlError, farl_exceptions_handler)


@app.get(
    "/",
    dependencies=[
        Depends(
            rate_limit({"amount": 1}),
        )
    ],
)
async def pre_minute_1_request():
    return {"message": "ok"}

```