semvec/pypi-packages huggingface dataset:
fan-characterisation-ari-s 0.1.0
Measure a PWM fan's rotation frequency (RPM) as a function of PWM duty cycle
Requires Python: >=3.9

# Fan_characterisation

Measure a PWM fan's rotation frequency (RPM) as a function of PWM duty cycle

## Installation

The usual installation options apply:

- TBD: `pip install fan_characterisation`
- `pip install git+https://github.com/ari-s/fan_characterisation`
- `git clone https://github.com/ari-s/fan_characterisation`<br/>
  you need to have python-periphery and typed-argument-parser installed

## Usage

This can be used both as a CLI program as well as within python.
In python, you'll get a list of all tachometer readings, not just frequency

### CLI

See `python -m fan_characterisation --help

### python

See `import fan_characterisation; help(fan_characterisation)`
opencontest-server 2.8.0
An OpenContest server written in Python

# OpenContest Server

An [OpenContest](https://github.com/LadueCS/OpenContest) server written using Python's HTTPServer and SQLite, with no external dependencies other than the Python standard library, [requests](https://docs.python-requests.org/en/latest/), and [Firejail](https://github.com/netblue30/firejail).

## Installation

### Docker

Run the [Docker Hub image](https://hub.docker.com/r/laduecs/opencontest-server):
```
docker run -d -p 9534:9534 --name opencontest-server -v $PWD/contests:/usr/src/app/contests laduecs/opencontest-server:latest
```
> Note: `$PWD/contests` is where the contests folder in the container is mapped to on the host and by default creates a new folder called `contests` in the current directory. It can be replaced with the full path to a different if desired.

### AUR

Install the [opencontest-server-git](https://aur.archlinux.org/packages/opencontest-server-git) from the AUR:
```
paru -S opencontest-server-git
```

Start the server with `systemctl start opencontest-server`.

### Pip

Install [opencontest-server](https://pypi.org/project/opencontest-server/) with `pip`:
```
pip install opencontest-server
```

Run the server with `ocs`.

## Usage

You can place contests like the [sample contest](https://github.com/LadueCS/Test) in a `contests` directory.

For debugging, you can run the server with the `--verbose` flag.

For production usage, you should put this server behind a reverse proxy like NGINX or Caddy because Python's HTTPServer does not implement any security features. You will also need to a domain name and a TLS certificate which you can easily obtain using [Let's Encrypt](https://letsencrypt.org/).
event-channel 0.4.3
Pub sub implementation
Keywords: publish subscribe

# Event Channel
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://www.paypal.me/mandrewcito/1)&nbsp;
![Pypi](https://img.shields.io/pypi/v/event_channel.svg)
[![Downloads](https://pepy.tech/badge/event-channel)](https://pepy.tech/project/event-channel)
[![Downloads](https://pepy.tech/badge/event-channel/month)](https://pepy.tech/project/event-channel/month)
![Travis ci](https://img.shields.io/travis/mandrewcito/event_channel.svg)
![Issues](https://img.shields.io/github/issues/mandrewcito/event_channel.svg)
![Open issues](https://img.shields.io/github/issues-raw/mandrewcito/event_channel.svg)
![codecov.io](https://codecov.io/github/mandrewcito/event_channel/coverage.svg?branch=master)

Another library with a pub/sub implementation. You can subscribe functions to a certain topic (aka event). When a message is sent through this event callback functions subscribed will be executed.

```python
from event_channel import EventChannel

mychannel = EventChannel() # You can also import channel, is an instance already created

def callback(x):
    x = x + 1
    print(x)

mychannel.subscribe("myevent", callback)

mychannel.publish("myevent", 345)

channel.unsubscribe("myevent", callback)
```


```python

from event_channel.threaded_event_channel import ThreadedEventChannel

mychannel =  ThreadedEventChannel(blocking=False) # You can also import non_blocking_channel, is an instance already created

def callback(x):
    x = x + 1
    print(x)

mychannel.subscribe("myevent", callback)
mychannel.subscribe("myevent", callback2)

threads = mychannel.publish("myevent", 345)

# Wait thread finish
for thread in threads:
    thread.join()
```

```python

from event_channel.threaded_event_channel import ThreadedEventChannel

my_blocking_channel = ThreadedEventChannel() # You can also import channel, is an instance already created

def callback(x):
    x = x + 1
    print(x)

mychannel.subscribe("myevent", callback)
mychannel.subscribe("myevent", callback2)

threads = mychannel.publish("myevent", 345)
#at this point all threads are finished

```
loguwant 0.0.2
It is a Python package that enables you to log only what you want
Requires Python: >=3.6

It's a Python package that enables you to log only what you want. It creates logger, using which
    you can see the logs of the modules written by you separately.
    
    For this we have to defined log level of root logger and log Level of the modules you write and whose logs you want 
    to print as environment variables ROOT_LOG_LEVEL and CURRENT_LOG_LEVEL respectively. 
    
    We can also switch this functionality by using LOG_DEPTH environment variable.