semvec/pypi-packages huggingface dataset:
getpodcast 1.0.11
Download podcast
License: MIT
Keywords: podcast,client,resume,download

==========
Getpodcast
==========

* PyPI: https://pypi.org/project/getpodcast/
* Documentation: https://fholmer.gitlab.io/getpodcast
* Source code: https://gitlab.com/fholmer/getpodcast
* License: MIT

Summary
=======

Simplify downloading podcasts with getpodcast

Features
========

* No database or caching backend. RSS items are instead compared to file name,
  file size and file timestamp

* Configuration and hooks are stored in a single python file, which is also
  executable

Installation
============

* Linux:

  .. code-block:: bash

    $ python3 -m pip install --user getpodcast

* Windows:

  .. code-block:: doscon

    > py -3 -m pip install --user getpodcast

Usage
=====

Create a new file ``mypodcasts.py``:

.. code-block:: python

    #! /usr/bin/env python3

    import getpodcast

    opt = getpodcast.options(
        date_from='2021-01-01',
        root_dir='./podcast')

    podcasts = {
        "SGU": "https://feed.theskepticsguide.org/feed/sgu"
    }

    getpodcast.getpodcast(podcasts, opt)


Download podcasts:

.. code-block:: bash

    python3 mypodcasts.py --run


More help:

.. code-block:: bash

    python3 mypodcasts.py --help

Setup cronjob to download once a day:

.. code-block:: bash

    $ crontab -e

    0 19 * * * /usr/bin/python3 /home/myuser/mypodcasts.py --quiet --onlynew --run
minecraftinfo 2.1
minecraftinfo is a library that allows you to get information about minecraft servers, skins, etc. in python
License: MIT

<img src="https://raw.githubusercontent.com/naisu-dev/naisu-dev/main/minecraftinfo.png" width=30px> minecraftinfo
==========
<a href="https://pypi.python.org/pypi/minecraftinfo">
<img src="https://img.shields.io/pypi/v/minecraftinfo.svg" alt="pypi">
</a> 
<a href="https://discord.com/invite/xWvSTkjNm3">
<img src="https://img.shields.io/discord/1164890966507913237?color=5865f2&label=Discord&logo=Discord&logoColor=ffffff" alt="discord">
</a>
<a href="https://opensource.org/license/MIT/">
<img src="https://img.shields.io/github/license/naisu-dev/minecraftinfo" alt="MIT">
</a>

<br>
minecraftinfoはpythonでマインクラフトのサーバーやスキンなどの情報を取得することができるライブラリです

使用方法
==========
```python
import minecraftinfo as mcinfo

server = mcinfo.mcje_server("minecraft.com", 25565)
print(server.icon)
print(server.players)
print(server.maxplayers)
print(server.version)
print(server.protocol)
print(server.motd)
print(server.ping())

skin = mcinfo.get_skin("notch")
print(skin)

cape = mcinfo.get_cape("notch")
print(cape)
```

エラー
==========
### ping error
`Server is not running or server has been modified to not respond to status requests`<br>
このエラーメッセージがでたら取得したいサーバーが起動していないかステータス要求に応答しないように設定されています
pymagewell 0.2.1
Python interface for Magewell ProCapture SDK
License: MIT
Requires Python: >=3.8

# pymagewell
`pymagewell` is a Python library for interfacing with Magewell ProCapture frame grabbers.

It is based on (and includes) Magewell's Windows SDK and is therefore Windows only. However, it provides a mock class
that for testing and development that does not depend on the SDK's Windows .dll files, so `pymagwell` can also be 
installed on macOS and Linux.

* [GitHub page](https://github.com/KCL-BMEIS/pymagewell)
* [API reference documentation](https://kcl-bmeis.github.io/pymagewell/)
* [PyPI page](https://pypi.org/project/pymagewell/)

### Installation

From PyPI:
```bash
pip install pymagewell
```
From conda-forge (Windows and macOS only):
```bash
conda install -c conda-forge pymagewell
```

### Example of use

A full working example is provided in
[`example_script.py`](https://github.com/KCL-BMEIS/pymagewell/blob/main/example_script.py).

First, create a `ProCaptureSettings` dataclass:

```python
from pymagewell import (
    ProCaptureSettings, ImageSizeInPixels, TransferMode, ColourFormat
)

device_settings = ProCaptureSettings(
    dimensions=ImageSizeInPixels(1920, 1080),
    color_format=ColourFormat.BGR24,  # Color format of captured video frames
    transfer_mode=TransferMode.LOW_LATENCY,
    num_lines_per_chunk=64  # has effect only in low latency mode
)
```
Then create a `ProCaptureDevice` (or `MockProCaptureDevice` for testing on a system without a grabber) configured with
your chosen settings:

```python
from pymagewell import ProCaptureDevice

device = ProCaptureDevice(settings=device_settings)
```
Then create a `ProCaptureDeviceController` to transfer frames from the device to your PC:

```python
from pymagewell import ProCaptureController

controller = ProCaptureController(device)
```
Then you can grab frames in a loop using the `transfer_when_ready()` method, which will wait until a frame has been 
acquired by the device, transfer it from the device to the PC, and return it as a `VideoFrame` object. This is a 
blocking call.
```python
while True:
    frame = controller.transfer_when_ready()
```
`VideoFrame` provides access to the pixels as a Numpy array with its `as_array` method. It also provides access to
timestamps (datetime.datetime) describing the frame acquisition process:
```python
t1 = frame.timestamps.buffering_started  # time at which frame started being written to the hardware buffer
buffer
t2 = frame.timestamps.buffering_complete  # time at which frame was completely written to the hardware buffer
t3 = frame.timestamps.transfer_started  # time at which the software started transferring the frame to PC memory
t4 = frame.timestamps.transfer_complete  # time by which the whole frame had arrived in PC memory
```
In TIMER and NORMAL transfer modes, transfer starts after the full frame has been written to hardware buffer. In 
LOW_LATENCY transfer mode, transfer starts while the frame is still being written to hardware memory. This will be 
reflected in the timestamps.