semvec/pypi-packages huggingface dataset:
picoscope-record 0.1
A package for triggered waveform recording on picoscope 3000a/4000a series scopes
Requires Python: >=3.6

## Project Description

Python code allowing for independent triggered records and playouts from arbitrary waveform generator of Picoscope 3000 and 4000 series.

## Installation

There are several prerequisites

* PicoSDK
* Python wrappers for PicoSDK
* NumPy


To install the PicoSDK C Libraries follow the [instructions](https://github.com/picotech/picosdk-python-wrappers)

To install the PicoSDK wrappers:

`pip install git+https://github.com/picotech/picosdk-python-wrappers`


To use picoscope recording:

import picoscope_recording.ps3000a as pico
mz-msisdn 0.0.1
A small package to validate if a mozambican number is formated properly.
Requires Python: >=3.6

Validate Mozambican MSISDNs

## Installation

`pip install mz_msisdn`

## Validating Numbers

By default the validation function is setup to validate numbers in the international format.

```py
from mz_msisdn import mz_validator

# If the number is valid an empty array will be returned
mz_validator("258844245708") # []

# If the number is invalid an error bag containing all errors will be returned
errors = mz_validator("25889424570")
print(errors)
# ['The phone number must be 12 characters long. currently with 11.',
# "Invalid network code. Valid codes: ['82', '83', '84', '85', '86', '87']."]

```

If you want to validate numbers considering that you will only receive mozambican numbers, you can enable national formation as shown below:

```py
errors = mz_validator("89424570", nr_format="national")
# ['The phone number must be 9 characters long. currently with 8.',
# "Invalid network code. Valid codes: ['82', '83', '84', '85', '86', '87']."]
```
pyModSlave 0.4.4b0
A modbus RTU/TCP slave application

#pyModSlave

pyModSlave is a free python-based implementation of a ModBus slave application for simulation purposes and is based on [modbus-tk] (http://code.google.com/p/modbus-tk/), [pySerial] (http://pyserial.sourceforge.net/) and [pyQt5] (http://www.riverbankcomputing.co.uk).

It starts a TCP/RTU ModBus Slave.Builds 4 data blocks (coils,discrete inputs,input registers,holding registers) and sets random values. You can also set values for individual registers.

To configure the logging level set the 'LoggingLevel' in 'pyModSlave.ini' file
- CRITICAL : 50
- ERROR : 40
- WARNING : 30 [default]
- INFO : 20
- DEBUG : 10
- NOTSET : 0