semvec/pypi-packages huggingface dataset:
uonet-request-signer 1.0.0
Uonet+ request signer for Python
License: MIT

# Uonet+ request signer for Python

[![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=flat-square)](https://pypi.org/project/uonet-request-signer/)

## Installation

```console
$ pip install -U uonet-request-signer
```

## Usage

```python
from uonet_request_signer import sign_content

signed = sign_content(password, certificate, content)
```

## Tests

```console
$ python -m pytest .
```
Jevents 1.1.3
Simple to use Utilities package for creating EventEmitters and implementing data observers.
License: MIT
Keywords: data_observer EventEmitters events observers watch

### Package name: Jevents
- Author: Jaime Loeuf
- License: MIT
- Package Desciption:
	- This package contains classes/functions to implement data_observer patterns and use of EventEmitters like those provided by NodeJS runtime and other languages.
	- This package does not have any external dependencies.
	- Currently this package contains the
		1. 'Watch' class
		2. 'wait_for_daemons' function
	- Currently lacking more documentation. For now please view test scripts for the different modules to see how to use this Package.

##### Below is a watered down example on how to use the Watch class. The full version is available inside the test_watch.py script in the 'test' directory.
```python
from Jevents import Watch
from Jevents import wait_for_daemons

# Create a new data variable and store in the watchData object
sensorData = Watch(12)
# The data stored in the object can be accessed via the value property
print(sensorData.value)
# Alternatively it can also be accessed by calling itself with the help of the __repr__
print(sensorData)


# Define a callback function. All callback functions can expect a input parameter of the data watched.
def chicken(data):
	print('Chicken nuggets ', data)


# Using __iadd__ magic method to set/append an on_change callback function
sensorData.on_change += chicken

# Add a time delay to simulate real life async operations
sleep(1.4)
# Update the data in the object, this will cause all the callbacks to be called.
sensorData(1)
# Print out the updated value stored in the object.
print(sensorData)

# Add a time delay to simulate real life async operations
sleep(1.4)
# Update the data in the object. Notice nothing happens even when a new value is being set.
sensorData(5)
# Print out the updated value stored in the object.
print(sensorData)

# Call the wait function to stop main thread from ending before the daemonic threads finnish
wait_for_daemons()
```
JSutils 0.2.1
Simple to use functions to emulate native functions like setInterval in JavaScript
License: MIT
Keywords: setInterval loop interval

### Package name: JSutils

- Author: Jaime Loeuf
- License: MIT
- Package Desciption:
	- This package contains classes/functions that implements functions like the setInterval function from JavaScript.
	- This package currently does not have any external dependencies, written only with py std. lib
	- Currently this package contains the
		1. 'setInterval' class

##### To call a function over and over again with a fixed interval:
```python
from JSutils import setInterval

def HelloWorld(message):
	print('Hello world')
	print(message) # Print out / use the arguement.

setInterval(5, HelloWorld)
```