semvec/pypi-packages huggingface dataset:
os-simulator 0.2.1
High-performance CPU scheduling algorithms with C++ optimization
Requires Python: >=3.8

# OS Simulator

A high-performance Python package implementing CPU scheduling algorithms with C++ optimization.

## Features

- **First Come First Served (FCFS)**: Simple queue-based scheduling
- **Shortest Job First (SJF)**: Optimal average waiting time scheduling
- **Round Robin (RR)**: Time-slice based preemptive scheduling
- **C++ Performance**: Optimized implementations using pybind11
- **Easy Integration**: Simple Python interface for complex algorithms

## Installation

```bash
pip install os-simulator
```

## Quick Start

```python
from os_simulator import os_algorithms

# Define processes
processes = [
    {"pid": 1, "arrival_time": 0, "burst_time": 5},
    {"pid": 2, "arrival_time": 1, "burst_time": 3},
    {"pid": 3, "arrival_time": 2, "burst_time": 8},
]

# Run FCFS scheduling
scheduled = os_algorithms.fcfs_scheduler(processes)

# Run SJF scheduling
scheduled = os_algorithms.sjf_scheduler(processes)

# Run Round Robin with time quantum of 2
scheduled = os_algorithms.round_robin_scheduler(processes, 2)
```

## Algorithm Details

### FCFS (First Come First Served)
Processes are scheduled in order of arrival time. Simple but can cause convoy effect.

### SJF (Shortest Job First)
Schedules shortest burst time processes first. Optimal for average waiting time.

### Round Robin
Each process gets a fixed time quantum. Fair scheduling with controlled response time.

## Development

```bash
git clone https://github.com/Will-Swinson/os-simulator
cd os-simulator
pip install -e .
```

## License

MIT License - see LICENSE file for details.
pthelma 2.8.1
Utilities for hydrological and meteorological time series processing
Requires Python: >=3.10
Keywords: time series

pthelma
=======

.. image:: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml/badge.svg
    :alt: Build button
    :target: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml

.. image:: https://codecov.io/github/openmeteo/pthelma/coverage.svg?branch=master
    :alt: Coverage
    :target: https://codecov.io/gh/openmeteo/pthelma

.. image:: https://img.shields.io/pypi/v/pthelma.svg
        :target: https://pypi.python.org/pypi/pthelma

A Python library with utilities for hydrological and meteorological time
series processing.

Documentation: https://pthelma.readthedocs.io