semvec/pypi-packages huggingface dataset:
pyadalight 1.0.0b3
Simple adalight (ambient light) software written in python.
Requires Python: <4.0,>=3.9

# pyAdalight

### Installation
```shell
$ pip install pyadalight
```

### Usage
```shell
$ pyadalight --help
Usage: pyadalight [OPTIONS]

Options:
  -hl, --h-led-count INTEGER  Horizontal LED count.
  -vl, --v-led-count INTEGER  Vertical LED count.
  -p, --port TEXT             Serial port.
  -m, --monitor INTEGER       Monitor index.
  --list-monitors             Shows monitors list and exits.
  --list-ports                Shows ports list and exits.
  --help                      Show this message and exit.

```

### License
The source is released under MIT-License (see https://opensource.org/licenses/MIT).
streamlit-p5 0.0.4
Bring the power of ProcessingJS (aka P5) to Streamlit. This module allows you to create Processing sketches, interact with those sketches using the mouse and keyboard, and share data between your Processing Sketch and Stremalit.
Requires Python: >=3.7

# streamlit_p5

Embed your processing sketches in Streamlit! Check out the demo [here](https://streamlit-p5-examples.fly.dev/)

You can find the source code at: [https://github.com/salable/streamlit-p5](https://github.com/salable/streamlit-p5)

## Installation instructions

```sh
pip install streamlit streamlit_p5
```

## Quickstart

```python
streamlit run example.py
```

## Usage instructions

The `sketch` object takes a few arguments: 

- sketch : a string representing your P5js sketch
- width : width of the element in Streamlit
- height : height of the element in Streamlit (make sure to match these with your sketch!)
- data : a Python dict to pass to the p5 sketch

### Example:

#### Basic 

```python
import streamlit as st
from streamlit_p5 import sketch

p5_sketch = sketch("""
function setup() {
   createCanvas(700, 500);
}

// The background function is a statement that tells the computer
// which color (or gray value) to make the background of the display window 
function draw() {
   background(204, 153, 0);
}
""", width=700, height=500)
```

#### Advanced

```python
import streamlit as st
from streamlit_p5 import sketch

value = sketch("""
let word=""
function setup() { 
  createCanvas(700, 500);
  noStroke();
  word=dataToPass.name. // get value passed from Streamlit
}

function draw() {
  background(204, 120);
  fill(0)
  textFont('Courier New')
  textSize(50)
  text(word, mouseX, mouseY)
}

function mousePressed() {
  sendDataToPython({  //Send data to Streamlit - causes a re-render
          value: {
            mouseX: mouseX,
            mouseY: mouseY
          },
          dataType: "json",
        })
}
""", data={
  "name" : "Bob the Builder"
}, width=700, height=500)
```

Wanna build this from source? just run: 

```sh
python setup.py sdist bdist_wheel && twine upload dist/*
```
dilcher-configuration 0.6.5
The dilcher-configuration Django app is used to provide easily manageable settings for Django projects.
Requires Python: >=3.6

#### Dilcher-configuration

The dilcher-configuration Django app is used to provide easily manageable settings
for Django projects.

It does not define any data model on its won. Instead, it provides an abstract
class (`Setting`) that can be inherited from.
This class then allows to add additional attributes that should be editable.

When such a class is saved, then `pre_save` and `post_save` signals
will take care of ensuring that timestamps are
updated and only one set of Settings is active at a time.

This module does not define any Django Admin views, you will need to do that
in your own app.