semvec/pypi-packages huggingface dataset:
overcast-parser 0.1.0
Overcast podcast link parser especially for pythonista.
License: MIT
Keywords: podcast,parser,rss,feed,pythonista,overcast,shortcuts,ios

# Overcast URL to podcast information
[![PyPI](https://img.shields.io/pypi/v/overcast_parser.svg)](https://pypi.org/project/overcast-parser/)
[![Lint](https://github.com/hbmartin/overcast_parser/actions/workflows/lint.yml/badge.svg)](https://github.com/hbmartin/overcast_parser/actions/workflows/lint.yml)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Code style: black](https://img.shields.io/badge/🐧️-black-000000.svg)](https://github.com/psf/black)
[![Checked with pytype](https://img.shields.io/badge/🦆-pytype-437f30.svg)](https://google.github.io/pytype/)
[![Versions](https://img.shields.io/pypi/pyversions/overcast-to-sqlite.svg)](https://pypi.python.org/pypi/overcast-to-sqlite)
[![twitter](https://img.shields.io/badge/@hmartin-00aced.svg?logo=twitter&logoColor=black)](https://twitter.com/hmartin)

Python library to obtain RSS feed URL from Overcast link, built especially for Pythonista

## Installation / Upgrade

This can be installed one of two ways:

First, it can be installed directly in Pythonista with [StaSh](https://github.com/ywangd/stash)

```
pip install overcast-parser
```

Alternately, you can copy this entire repo to Pythonista and start immediately editing demo.py. This can be done i.e. with a git tool in Pythonista or, on your Mac, copying this to the Pythonista3 iCloud directory.


## Usage

#### See demo.py for full pythonista script

```
from overcast_parser.OvercastParser import OvercastParser


parser = OvercastParser()

data = requests.get(overcast_url).text

(itunes_id, stream_url, overcast_id, title, feed_url) = parser.parse_overcast(data)
```

## Shortcut
demo.py is meant to be used from either the share extension or from an iOS Shortcut. (Note that due to Pythonista limitations share extension cannot call a script in iCloud.)

You can [download a shortcut here](https://www.icloud.com/shortcuts/942bc3f2f69747429960fefdde4ccb2c) or create one like:
![shortcut](shortcut.png)

Where the final URL block is like (adjusted for your path or removing root=icloud)
```
pythonista3://overcast_parser/demo.py?action=run&root=icloud&args=URL Encoded Text
```

## Built With

* [pythonista-stubs](https://github.com/hbmartin/pythonista-stubs) - for desktop development
* [itunes_podcast_rss](https://github.com/wotaen/itunes_podcast_rss) - obtain RSS feed URL from iTunes link (built-in)
* [podcastparser](https://github.com/gpodder/podcastparser) - for parsing podcast feed (dependency)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## Authors

* [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail


## License

[MIT](LICENSE.txt)
greeneye_monitor 5.0.2
Receive data packets from GreenEye Monitor (http://www.brultech.com/greeneye/)
License: MIT
Requires Python: >=3.10,<4.0
Keywords: greeneye

==================
`greeneye-monitor`
==================

Receive data from your `GreenEye Monitor <http://www.brultech.com/greeneye/>`_ in Python.

This module provides a layered API for parsing individual packets (`greeneye.packets`), processing streams of packets
(`greeneye.streams`), or monitoring the current state reported by one or more monitors (`greeneye.monitor`). It's an
API intended to be integrated with other systems; it does not itself provide those integrations or any sort of data
storage. If you're looking for something like that, check out
`btmon.py <https://github.com/matthewwall/mtools/blob/master/bin/btmon.py>`_.

Features include:
* Parsing for all binary packet formats
* Receive data from multiple monitors
* Computes rate-of-change (Watts, pulses/sec) in addition to reporting total values

***********
Quick start
***********

API Usage
=========
See `dump_packets.py <https://github.com/jkeljo/greeneye-monitor/blob/master/dump_packets.py>`_ for a simple usage example.

GEM Setup
=========
Your GEM must be set to send binary format packets (formats that begin with Bin, e.g. Bin32 NET) to
the IP address of the computer on which you're running this software.
Your `GEM configuration manual <https://www.brultech.com/software/files/downloadSoft/GEM_Configuration_CFG_ver3_2.pdf>`_
is the canonical source for how to do this, but here are the steps as of this writing:

1. Navigate to your GEM's web UI (`http://<GEM IP>:8000`)
2. Click "Enter Setup Mode"
3. Click the "Packet Send" tab
4. Set the "Primary (Com1) Packet Format" to one of the "Bin" formats. I recommend:
    * Bin32 ABS if you have a 32-channel GEM with no channels set for net metering
    * Bin32 NET if you have a 32-channel GEM and some channels are set for net metering
    * Bin48 ABS if you have a 48-channel GEM with no channels set for net metering
    * Bin48 NET if you have a 48-channel GEM and some channels are set for net metering
5. Set the "Packet Send Interval" if you want something other than the default
6. Click "Save"
7. Click the "Network" tab
8. Enter the IP address of the computer on which you'll be running this software, and the port of your choice
9. Click "Save"
10. Click "Return" when it becomes available
11. Click "Exit Setup Mode"