semvec/pypi-packages huggingface dataset:
py-mld 1.0.3
MLDv1 router-side protocol implementation for Python
License: MIT
Requires Python: >=3.3
Keywords: MLD MLDv1 Router IPv6 Multicast Interest

# MLD

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py-mld)](https://pypi.org/project/py-mld/)
[![PyPI](https://img.shields.io/pypi/v/py-mld)](https://pypi.org/project/py-mld/)
[![PyPI - License](https://img.shields.io/pypi/l/py-mld)](https://github.com/pedrofran12/py-mld/blob/master/LICENSE)

This repository stores the implementation of MLDv1 router-side state machines. This can be used to detect multicast interest of directly connected hosts.

The goal of this repository/module is to facilitate maintainability of this MLD implementation since its code is used by other Python projects/modules:

- [HPIM-DM](https://github.com/pedrofran12/hpim_dm)
- [PIM-DM](https://github.com/pedrofran12/pim_dm)


# Requirements

 - Linux machine
 - Python3 (we have written all code to be compatible with at least Python v3.3)
 - pip (to install all dependencies)


# Installation

  ```
  pip3 install py-mld
  ```

# How to use it?

```python
# import module
from mld import InterfaceMLD

intf = InterfaceMLD(interface_name="eth0")
intf.enable()  # start receiving MLD packets

# get information from a given multicast group
multicast_group_obj = intf.interface_state.get_group_state(group_ip="ff05::10:11:12")

interest = multicast_group_obj.has_members()  # boolean that informs if there is
                                              # multicast interest in this group
group_state = multicast_group_obj.state.print_state()  # get string identifying
                                                       # the state in which this
                                                       # group is at

# get notified of interest changes on this group
class MulticastGroupNotifier:
    def notify_membership(self, has_members):
        print(has_members)

notifier = MulticastGroupNotifier()
multicast_group_obj.add_multicast_routing_entry(notifier)

# when there is a change of multicast interest (for example group ff05::10:11:12
# gets interested receivers), the object associated to this object is notified
# through "notify_membership" method with has_members=True

# if you no longer want to monitor the interest of ff05::10:11:12, remove the
# notifier from the group
multicast_group_obj.remove_multicast_routing_entry(notifier)

intf.remove()  # stop receiving MLD packets
```
igmp 1.0.4
IGMPv2 router-side protocol implementation for Python
License: MIT
Requires Python: >=3.2
Keywords: IGMP IGMPv2 Router IPv4 Multicast Interest

# IGMP

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/igmp)](https://pypi.org/project/igmp/)
[![PyPI](https://img.shields.io/pypi/v/igmp)](https://pypi.org/project/igmp/)
[![PyPI - License](https://img.shields.io/pypi/l/igmp)](https://github.com/pedrofran12/igmp/blob/master/LICENSE)

This repository stores the implementation of IGMPv2 router-side state machines. This can be used to detect multicast interest of directly connected hosts.

The goal of this repository/module is to facilitate maintainability of this IGMP implementation since its code is used by other Python projects/modules:

- [HPIM-DM](https://github.com/pedrofran12/hpim_dm)
- [PIM-DM](https://github.com/pedrofran12/pim_dm)

This implementation was performed during my Master thesis and has since then been updated to fix issues, add new features and in the future to include the implementation of IGMPv3 as well.


# Documents detailing the initial work of IGMPv2 implementation

 - [Python implementation of IGMPv2, PIM-DM and HPIM-DM](https://github.com/pedrofran12/hpim_dm/tree/master/docs/PythonImplementations.pdf)
 - [Test to Python implementation of IGMPv2, PIM-DM, and HPIM-DM](https://github.com/pedrofran12/hpim_dm/tree/master/docs/PythonTests.pdf)


# Requirements

 - Linux machine
 - Python3 (we have written all code to be compatible with at least Python v3.2)
 - pip (to install all dependencies)


# Installation

  ```
  pip3 install igmp
  ```

# How to use it?

```python
# import module
from igmp import InterfaceIGMP

intf = InterfaceIGMP(interface_name="eth0")
intf.enable()  # start receiving igmp packets

# get information from a given multicast group
multicast_group_obj = intf.interface_state.get_group_state(group_ip="224.10.11.12")

interest = multicast_group_obj.has_members()  # boolean that informs if there is
                                              # multicast interest in this group
group_state = multicast_group_obj.state.print_state()  # get string identifying
                                                       # the state in which this
                                                       # group is at

# get notified of interest changes on this group
class MulticastGroupNotifier:
    def notify_membership(self, has_members):
        print(has_members)

notifier = MulticastGroupNotifier()
multicast_group_obj.add_multicast_routing_entry(notifier)

# when there is a change of multicast interest (for example group 224.10.11.12
# gets interested receivers), the object associated to this object is notified
# through "notify_membership" method with has_members=True

# if you no longer want to monitor the interest of 224.10.11.12, remove the
# notifier from the group
multicast_group_obj.remove_multicast_routing_entry(notifier)

intf.remove()  # stop receiving igmp packets
```
aiinpy 0.0.18
A neural network building, training, and testing package
License: MIT

# aiinpy

aiinpy is an open source artificial intelligence package for the python programming language. aiinpy can be used to build neural networks (nn), convolutional neural networks (cnn), recurrent neural networks (rnn), long term short term memory networks (lstm), and gated recurrent units (gru). these networks can be trained with backpropagation as well as neuroevolution.

install aiinpy through pypi: **pip install aiinpy**