semvec/pypi-packages huggingface dataset:
PMMatomo 0.0.5
A Python wrapper for the Matomo HTTP reporting API.
License: MIT

# PMMatomo

A Python wrapper for the Matomo HTTP reporting API.

# Run the test suite
```bash
python3 -m unittest
```

# Installation

```bash
pip3 install PMMatomo
```

# Usage

```python
import datetime
from PMMatomo import Matomo, MatomoReportPeriod

m = Matomo(url=YOUR_MATOMO_API_URL,
           token=YOUR_MATOMO_AUTHENTICATION_TOKEN,
           siteId=YOUR_SITE_ID)


m.enableFilterLimit(False)
m.setReportPeriod(MatomoReportPeriod.month)

# since we set the report period to .month we get a report of the mont that this date is in
date = datetime.datetime.strptime("2019-01-26", '%Y-%m-%d')
m.setReportDateFromDatetime(date)


visitorDetails = m.genReportLiveGetLastVisistsDetails()
print(visitorDetails)
```

# Upload to PIP
```
python3 -m venv venv
source venv/bin/activate
pip3 install twine
python3 setup.py sdist
twine upload dist/*
```
master-slave 1.0.2
package to communicate with infected devices trought a local network
License: MIT
Requires Python: >=3.0.

# Python Henallux Project 2019
Usage informations about master.py and slave.py classes
## Class Master

Usage:
```python
from master-slave import Master

master = Master(address="", port=50000)
   # address = address to listen to (empty mean listenning on all addresses)
   # port = listening port 
master.start()
```

## Class Slave

Usage:
```python
from master-slave import Slave

slave = Slave(address="192.168.0.10", port=50000)  
   # address = address of master
   # port = listening port of master
slave.start()
```