semvec/pypi-packages huggingface dataset:
py-epg 0.3.0
py_epg is an easy to use, modular, multi-process EPG grabber written in Python.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: xmltv,epg

# py-epg

**py-epg** is an easy to use, modular, multi-process EPG grabber written in Python.

* 📺 Scrapes various TV Program websites and saves programs in XMLTV format.
* 🧩 Simply extend [EpgScraper](https://github.com/szab100/py_epg/blob/main/py_epg/common/epg_scraper.py) to grab EPG from your favorite TV site (requires basic Python skills).
* 🤖 The framework provides the rest:
    * [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/bs4/doc) - easily search & extract data from html elements 
    * multi-processing
    * config management
    * logging
    * build & write XMLTV (with auto-generated fields, eg 'stop')
    * proxy server support
    * auto http/s retries
    * random fake user_agents
* 🚀 Save time by fetching channels in parallel (caution: use proxy server(s) to avoid getting blacklisted)!
* 🧑🏻‍💻 Your contributions are welcome! Feel free to create a PR with your tv-site scraper and/or framework improvements.

<p align="center">
  <img src="https://raw.githubusercontent.com/szab100/py_epg/main/py_epg.gif">
</p>

## Usage

1. Install package:
    ```sh
    $ pip3 install py_epg
    ```
2. Create configuration: py_epg.xml
    - Add all your channels (see [sample config](https://github.com/szab100/py-epg/blob/main/py_epg.xml)).
    - Make sure there is a corresponding site scraper implementation in [py_epg/scrapers](https://github.com/szab100/py-epg/tree/main/py_epg/scrapers) for each channels ('site' attribute).
3. Run:
    ```sh
    $ python3 -m py_epg -c </path/to/your/py_epg.xml> -p
    ```

    ..or see all supported flags:
    ```sh
    $ python3 -m py_epg -h
    usage: py_epg [-h] [-p [PROGRESS_BAR]] [-q [QUIET]] -c CONFIG
    ...
    ```

## Development

Your contributions are welcome! Setup your dev environment as described below. [VSCode](https://code.visualstudio.com/) is a great free IDE for python projects. Once you are ready with your cool tv site scraper or framework feature, feel free to open a Pull Request here.

1. Install poetry: 
    ```sh
    curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
    ```

2. Clone repository & install dependencies:
      ```sh
      git clone https://github.com/szab100/py-epg.git && cd py-epg
      ```

3. Configure py_epg.xml
    - Add all your channels (see the sample config xml). Make sure you have a scraper implementation in py_epg/scrapers/ for each channels ('site' attribute).

4. Run:
      ```sh
      poetry install
      poetry run epg -c py_epg.xml
      ```

## License

Copyright 2021. Released under the MIT license.
pytseq 0.1
Tiny toolbox for time series segmentation
License: MIT

*****************************************
Time series segmentation toolbox (pytseq)
*****************************************

.. image:: https://github.com/RaoulHeese/pytseg/actions/workflows/tests.yml/badge.svg
    :target: https://github.com/RaoulHeese/pytseg/actions/workflows/tests.yml
    :alt: GitHub Actions
	
.. image:: https://readthedocs.org/projects/pytseg/badge/?version=latest
    :target: https://pytseg.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status	
	
.. image:: https://img.shields.io/badge/license-MIT-lightgrey
    :target: https://github.com/RaoulHeese/pytseg/blob/main/LICENSE
    :alt: MIT License	
	
Tiny toolbox for time series segmentation.

The toolbox presumes a (univariate or multivariate) time series. For example, consider the following univariate time series:

.. image:: https://github.com/RaoulHeese/pytseg/blob/main/docs/source/_static/plot1.png 

Such a time series can then be segmented into distinguishable segments using the toolbox:

.. image:: https://github.com/RaoulHeese/pytseg/blob/main/docs/source/_static/plot2.png

All segments are marked in different colors in the plot. And, finally, these segments can be assigned labels like stationarity:

.. image:: https://github.com/RaoulHeese/pytseg/blob/main/docs/source/_static/plot3.png
   
Green lines indicate stationary segments of the time series.

**Installation**

Install the package via pip or clone this repository. To use pip, type:

.. code-block:: sh

  $ pip install pytseg

**Usage**

Documentation: `<https://pytseg.readthedocs.io/en/latest/>`_.

Demo notebooks can be found in the `demos/` directory of this repository.

📖 **Citation**

If you find this code useful in your research, please consider citing:

.. code-block:: tex

  @misc{pytseq2022,
        author = {Raoul Heese},
        title = {pytseq},
        year = {2022},
        publisher = {GitHub},
        journal = {{GitHub} repository},
        howpublished = {\url{https://github.com/RaoulHeese/pytseq}},
       }

The implemented univariate time series segmentation closely follows:

.. code-block:: tex

  @article{PhysRevE.69.021108,
           title = {Heuristic segmentation of a nonstationary time series},
           author = {Fukuda, Kensuke and Eugene Stanley, H. and Nunes Amaral, Lu\'{\i}s A.},
           journal = {Phys. Rev. E},
           volume = {69},
           issue = {2},
           pages = {021108},
           numpages = {12},
           year = {2004},
           month = {2},
           publisher = {American Physical Society},
           doi = {10.1103/PhysRevE.69.021108},
           url = {https://link.aps.org/doi/10.1103/PhysRevE.69.021108}
          }

There is no affiliation with the authors of this article.
guipylib 0.3.1
UI library for pygame
License: MIT
Requires Python: >=3.7,<4.0

# Guipy

![Python](https://img.shields.io/badge/python-3-blue.svg?v=1)
![Version](https://img.shields.io/pypi/v/guipylib.svg?v=1)
![License](https://img.shields.io/pypi/l/guipylib.svg?v=1)

Pygame UI Library built by Casey (@caseyhackerman) and Jason

## Installation

```
pip install guipylib
```

or with poetry

```
poetry add guipylib
```

## Components

### Button

<p align="center">
<img alt="Button" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/button.gif" width="200" />
</p>

### Dropdown

<p align="center">
<img alt="Dropdown" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/dropdown.gif" width="500" />
</p>

### Live Plot

<p align="center">
<img alt="Live Plot" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/live_plot.gif" width="600" />
</p>

### Plot

<p align="center">
<img alt="Plot" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/plot.gif" width="600" />
</p>

### Slider

<p align="center">
<img alt="Slider" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/slider.gif" width="600" />
</p>

### Switch

<p align="center">
<img alt="Switch" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/switch.gif" width="500" />
</p>

### Textbox

<p align="center">
<img alt="Textbox" src="https://github.com/Zjjc123/guipy/blob/main/docs/imgs/textbox.gif" width="600" />
</p>

## Example

```python
import pygame

import colorsys

from guipy.components.slider import Slider
from guipy.manager import GUIManager
from guipy.utils import *

winW = 1280
winH = 720

root = pygame.display.set_mode((winW, winH))

man = GUIManager()

mySlider = Slider(height=50, width=500, thickness=5, radius=12, initial_val=0.4)
mySlider2 = Slider(height=50, width=500, thickness=5, radius=12, initial_val=0)
mySlider3 = Slider(height=50, width=500, thickness=5, radius=12, initial_val=0.5)
mySlider4 = Slider(height=50, width=500, thickness=5, radius=12, initial_val=0.5)

man.add(mySlider, (0, 25))
man.add(mySlider2, (0, 75))
man.add(mySlider3, (0, 125))
man.add(mySlider4, (0, 175))

running = True
while running:
    events = pygame.event.get()
    for event in events:
        if event.type == pygame.QUIT:
            running = False

    root.fill(DARK_GREY)

    color = tuple(
        i * 255
        for i in colorsys.hls_to_rgb(mySlider2.val, mySlider3.val, mySlider4.val)
    )
    center = (winW // 2, winH // 2)
    r = 10 + mySlider.val * 100
    pygame.draw.circle(root, color, center, r)
    pygame.draw.circle(root, BLACK, center, r, 3)

    man.update(pygame.mouse.get_pos(), events, root)
    pygame.display.update()
```

## Documentation

Check out some helpful guides and API references [here](https://zjjc123.github.io/guipy/)
dwbzen 0.1.2
Music and Math package including MarkovChain generation from text and music source, and production
License: MIT
Requires Python: >=3.8
Keywords: markov chain text music

# dwbzen
dwbzen has python implementations of some of the classes in my github projects:

* [commonlib](https://github.com/dwbzen/commonlib) : math classes including Markov Chains,
and utilities/classes used by other projects.

* [text-processing](https://github.com/dwbzen/text-processing) : Generates text using Markov chains, 
and part-of-speech (POS) patterns from POS word files Part Of Speech Database 

* [music_framework](https://github.com/dwbzen/music-framework) : A Java framework encapsulating musical structure, 
notation and theory for purposes of composition and analysis. 

dwbzen includes the following sub-packages:
## common

## text

## music


I used [Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
to write content.