semvec/pypi-packages huggingface dataset:
openrouterfreescanner 1.0.1
CLI and programmatically fetcher for open router current free models with advanced filtering.
Requires Python: >=3.6

# OpenRouter Free Scanner

A simple command-line tool and Python library to fetch, filter, and save a list of free models from OpenRouter.ai.

## Installation

```bash
pip install .
```

## Command-Line Usage

To display the list of free models in the console:

```bash
openrouterfreescanner
```

To save the list of free models to a JSON file named `free_models.json`:

```bash
openrouterfreescanner -o
```

### Advanced Usage

- `--limit <N>`: Limit the number of models returned.
- `--name <string>`: Filter models by name.
- `--min-context-length <N>`: Filter by minimum context length.
- `--provider <string>`: Filter by provider.
- `--sort-by <field>`: Sort models by a specific field (e.g., `name`, `context_length`).
- `--reverse`: Reverse the sort order.

**Example:** Get the top 5 free models with the longest context length:

```bash
openrouterfreescanner --limit 5 --sort-by context_length --reverse
```

## Programmatic Usage

You can also use this package as a library in your Python code:

```python
import openrouterfreescanner

# Get only free models
free_models = openrouterfreescanner.get_free_models()

# Get free models, including routers
free_models_with_routers = openrouterfreescanner.get_free_models(exclude_routers=False)

# Filter free models by name
gemma_models = openrouterfreescanner.filter_models(free_models, name="gemma")

# Filter free models by provider and context length
filtered_models = openrouterfreescanner.filter_models(free_models, provider="google", min_context_length=8000)

# Sort free models by context length in descending order
sorted_models = openrouterfreescanner.sort_models(free_models, sort_by="context_length", reverse=True)
```
dozersim 0.2.9
Simulation and optmization framework for drives
Requires Python: <4.0,>=3.12

# The Dozer Simulation Project

Welcome to the dozer-project. Dozer stands for Drive OptimiZER. It containts inverse models of gearboxes, electric motors, etc. in the It can simulate and optimize electrical and mechanical systems.


## Installation 
```commandline
py -m pip install dozersim
```

## Use


For in-depth instructions on installation and building the documentation, see  [Dozer Documentation](https://cormeijneke.gitlab.io/dozer/#) for detailed information.