semvec/pypi-packages huggingface dataset:
micropython-linenotify 0.0.5
Line Notify with MicroPython on ESP32/ESP8266
License: MIT
Keywords: linenotify,esp32,esp8266,micropython

micropython-linenotify
======================

| It is a MicroPython library for sending notifications to Line
  Notify,which can be used with ESP8266 and ESP32.
| Can send both text messages, stickers and images.

github: https://github.com/PerfecXX/micropython-linenotify

Installation
============

.. code:: python

   upip install micropython-linenotify

Usage
=====

-  Create Instance and set token

.. code:: python

   line = LineNotify('<token>')

-  Notify text message

.. code:: python

   line.notify('<message>')

-  Notify sticker with text message

Sticker List:
https://developers.line.biz/en/docs/messaging-api/sticker-list/

.. code:: python

   line.notifySticker('<Sticker Package ID>','<Sticker ID>','<Message>')

-  Notify image from URL with text message

.. code:: python

   line.notifyImageURL('<Image URL>','<Message>')

Example Code
============

.. code:: python

   # Import Library
   from linenotify import LineNotify
   from network import WLAN,STA_IF

   # Network Setup
   ssid = '<ssid>'
   password = '<password>'
   wlan = WLAN(STA_IF)
   wlan.active(True)
   print('Connecting...')
   wlan.connect(ssid,password)
   while not wlan.isconnected():
       pass
   print(wlan.ifconfig())

   # Set Line Token 
   line = LineNotify('<token>')
   # Notify text message 
   line.notify('Hello World!')
   # Notify sticker with message
   line.notifySticker(3,240,'Nice Sticker')
   # Notify image from URL with message
   line.notifyImageURL('https://static.wikia.nocookie.net/chainsaw-man/images/1/1b/Pochita.PNG','Pochita')
anime-relations-py 0.1.2
A parser for anime-relations. So you don't have to.
License: MIT
Requires Python: >=3.6

# anime-relations-py

[![PyPI version](https://img.shields.io/pypi/v/anime-relations-py?color=blue)](https://pypi.org/project/anime-relations-py/)

A parser for anime-relations. So you don't have to.

[More information on anime episode relations can be found here.](https://github.com/erengy/anime-relations)

## Installation

```sh
$ pip install -U anime-relations-py
```

## Usage

```py
>>> from anime_relations_py import AnimeRelations

>>> parser = AnimeRelations()    # instance is empty until fetched
>>> parser.fetch_sync()          # alt: await parser.fetch_async()

>>> rule = parser.from_mal(40028)
>>> rule
Rule(mal_from=40028, kitsu_from=42422, anilist_from=110277, episodes_from=(60, 75), mal_to=40028, kitsu_to=42422, anilist_to=110277, episodes_to=(1, 16))
>>> rule.get_episode_redirect(65)
6
>>> rule.mal_to
40028
>>> parser.meta
{'version': '1.3.0', 'last_modified': '2021-02-25'}
```

For more advanced usage and other methods, please look at the source code. It's quite short and well-documented.