semvec/pypi-packages huggingface dataset:
image-to-excel 1.0.3
A simple project to convert from an image to an excel file, because my brother wanted something that did this.
License: MIT
Requires Python: >=3.8,<4.0

# image-to-excel

A simple project to convert from an image to an excel file, because my brother wanted something that did this.

## Installation

You can install the project using pip :)

```bash
pip install image-to-excel
```

## Usage

You can use image-to-excel as an importable module:

```py
from image_to_excel import BaseClass
from pathlib import Path

app = BaseClass("config.yml")

app.image_to_excel(
    Path("input.jpg"), 100, Path("output.xlsx")
)
```

Or as a command line interface:

```bash
$ python3 -m image_to_excel
# or
$ image-to-excel -w 100 input.jpg output.xslx
```

## Documentation

Documentation for image-to-excel can be found within the docs folder.
async-scheduler-object 1.1.0
Object-like async scheduler
License: MIT
Requires Python: >=3.7,<4.0

# Async scheduler object
Object-like async scheduler

## Install

https://pypi.org/project/async-scheduler-object/

## Usage

```py
import asyncio
from datetime import timedelta

from async_scheduler_object import AsyncScheduler, AsyncSchedulerEvent


class AgeSchedulerEvent(AsyncSchedulerEvent):
    def __init__(self, start: int) -> None:
        self._age = start

    async def run(self) -> None:
        print("Age", self._age)
        self._age += 1


class CatsSchedulerEvent(AsyncSchedulerEvent):
    def __init__(self, start: int) -> None:
        self._cats_count = start

    async def run(self) -> None:
        print("Cats", self._cats_count)
        self._cats_count *= 1


async def main() -> None:
    scheduler_1 = AsyncScheduler(
        events=[AgeSchedulerEvent(start=1)],
        interval=timedelta(seconds=1),
    )
    scheduler_2 = AsyncScheduler(
        events=[AgeSchedulerEvent(start=10), CatsSchedulerEvent(start=20)],
        interval=timedelta(seconds=0.5),
    )
    await scheduler_1.start()
    await scheduler_2.start()

    await asyncio.sleep(10)

    await scheduler_1.stop()
    await scheduler_2.stop()


asyncio.run(main())
```