semvec/pypi-packages huggingface dataset:
mocksign 0.1.2
Easily simulate printing, hand-signing and scanning of documents, inspired by FalsiSign.
License: MIT
Requires Python: <4.0,>=3.8

# MockSign

[![image](https://img.shields.io/pypi/v/mocksign.svg)](https://pypi.python.org/pypi/mocksign)
![Build](https://github.com/srwi/MockSign/actions/workflows/github-actions.yml/badge.svg)
[![image](https://img.shields.io/pypi/l/mocksign.svg)](https://pypi.python.org/pypi/mocksign)
[![image](https://img.shields.io/pypi/pyversions/mocksign.svg)](https://pypi.python.org/pypi/mocksign)

Simulate the look of hand-signed and scanned documents. MockSign is a simple tool to help you shortcut the tedious process of printing, hand-signing and scanning documents.

<p align="center">
  <img src='https://github.com/srwi/MockSign/assets/17520641/b787a307-4d77-473a-8d45-c61643dc68c8' width='80%'>
</p>

## Installation

Use pip to install MockSign with

```bash
pip install mocksign
```

## Usage

Before using MockSign, a collection of real signature images is needed. This can be
achieved by scanning and cropping signatures using an image editing program like [Gimp](https://www.gimp.org/) and saving them into a designated folder.

Afterwards, MockSign can be started with `mocksign`.

<p align="center">
  <img src='https://github.com/srwi/FalsiSignPy/assets/17520641/2ec12a25-ec97-4dca-a551-27a4d44c2602' width='80%'>
</p>

## License & Attribution

MockSign is licensed under the [MIT](https://github.com/srwi/MockSign/blob/master/LICENSE) license and draws inspiration from [FalsiSign](https://gitlab.com/edouardklein/falsisign) by Edouard Klein.
pycosmed 0.0.23
an OCP interface to send commands and recieve using Omnia control protocol
License: MIT
Requires Python: >=3.11

## About
This is package is create to interface with COSMED Omnia *(created by Â©1996-2024 [COSMED](https://www.cosmed.com/en/) srl)* using OCP (Omnia control protocol) it Could be used to send any command from the OCP and get the result as a python dictionary by first creating the command as an xml send it and receive the response and process it to get a python dictionary to all easy Integration with python.


## to get started with OCP using python follow the following steps:-

1. normally install COSMED Omnia.

2. run the regedit.reg file provided to configure the OCP.

3. then normally start COMSED OMNIA.

4. then you can use the python module ocp.py to send commands to the software.

  
  
### steps to install and use the OCP package:
1. clone the package.
2. run setup.py using (pip install .) while on the same directory as the setup.py.




```
from OCP import OCP #import the OCP main class


ocp = OCP()  # to creates an OCP object
ocp.connect() # to initiate a TCP connection with COSMED Omnia
# to login and notice COSMED omnia needs to be running and replace the username and password with  username and password created on COMED Omnia 
ocp.login("username", "password")




```


you can then send any command and get the result in python as the OCP interface and you can find a
method for every command on the OCP to send that command and receive a response