semvec/pypi-packages huggingface dataset:
iterframes 0.2.0
Iterate on video frames quickly
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/iterframes.svg)](https://badge.fury.io/py/iterframes)

# IterFrames - python video decoder

IterFrames is a simple Python video decoder implemented in Rust.

## Use

```python
import iterframes

for frame in iterframes.read("video.mp4"):
    # frame is a numpy array with shape (height, width, 3)
    pass
```

## Develop

To develop IterFrames you need:

* working rust toolchain (e.g. https://rustup.rs)
* working python 3.6+ environment

### Install ffmpeg dependencies

On *nix systems, `clang`, `pkg-config` and FFmpeg libraries (including development headers) are required.

On macOS:

```shell
brew install pkg-config ffmpeg
```

On Debian-based systems:

```shell
apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config
```

Other `libav*-dev` and `libsw*-dev` packages may be required if you enable the corresponding features,
e.g., `libavdevice-dev` for the `device` feature.

### Install python dependencies

IterFrames is built with [maturin](https://github.com/PyO3/maturin)

```shell
pip install maturin pytest
maturin develop
pytest tests
```

## Build

Only linux systems are currently supported. To build a `manylinux2010` wheel just run the `build.sh` script:

```shell
bash build.sh
```
climatempopy 0.0.7
A Clima Tempo API Python Wrapper
Requires Python: >=3.6

# ClimaTempoPy
## A Clima Tempo API Python Wrapper
### Retrieving Brazilian current weather and forecast prevision from Clima Tempo site.

1. Example
```
import sys
from climatempopy import ClimaTempo
from aiohttp import ClientSession
import asyncio

YOUR_CLIMA_TEMPO_TOKEN =''
LOCALE_ID = ''

async def main():
    async with ClientSession() as session:
        climatempo = ClimaTempo(session, YOUR_CLIMA_TEMPO_TOKEN , LOCALE_ID)
        await climatempo.update_current_weather()
        await climatempo.update_72_hours_forecast()
        await climatempo.update_15_days_forecast()
    print(climatempo.current)
    print(climatempo.forecast_72_hours)
    print(climatempo.forecast_15_days)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

2. Scripts of this lib
```
$ pip3 install climatempopy
$ get_localeID YOUR_CLIMATEMPO_TOKEN LAT LON
$ get_weather_by_localeID YOUR_CLIMATEMPO_TOKEN LOCALE_ID

```
imgflip 0.1.0
api to imgflip

imgflip
=========
A python api to imgflip.


Install
-------
::

  pip install imgflip


How to use?
-----------
::

  python -m imgflip.cli
  python -m imgflip
  imgflip


Development
-----------
setup::

  python -m pip install --upgrade pip wheel setuptools flake8 twine
  python -m pip install -e .

run tests::

  coverage run --source=imgflip -m unittest discover
  coverage report -m

check src::

  flake8 imgflip

check readme::

  python setup.py sdist
  twine check dist/*

make package::

  python setup.py sdist bdist_wheel
  python -m twine upload dist/*