semvec/pypi-packages huggingface dataset:
stabledefaults 0.1.4
Allows for mutable defaults comfortably and intuitively.
Requires Python: >=3.8,<4.0

# Introduction

stabledefaults is a small package containing a decorator to allow for the expected behavior of lists, dicts and other mutable arguments in default arguments.

## Explanation

In Python, functions (as anything else) are objects, and the default arguments are stored as attributes that are initialized in definition.

Once this is known and the person understands that variables are references in Python, then it is relatively straightforward to understand the following behavior:

```python
def f(x=[]):
    x.append(2)
    return x
```

```python
>>> a = f()
>>> a
[2]
>>> f()
>>> a
[2, 2]
```

Nevertheless, this is unintuitive. Not only that, but dealing with this requires things such as
```python
def f(x = None):
    if x is None:
        x = []

    x.append(2)
    return x
```
which forces types such as ```list | None``` where just ```list``` should suffice, and also forces code inside the function itself.

This package solves this issue with a decorator. For instance, the example above would become
```python
@stabledefaults()
def f(x=[]):
    x.append(2)
    return x
```
```python
>>> a = f()
>>> a
[2]
>>> f()
>>> a
[2]
```
pyrexia-stat 0.9.4
Thermostat runs on raspberry pi
Requires Python: >3.7

# pyrexia-stat

A smart thermostat running on Raspberry Pi, Python, and Node.js<br>
This is the core thermostat control code that runs on the Pi.<br><br>
Features:
<li>Easily runs on 12v DC using either a USB socket (https://a.co/d/b4sLds2) or a step down module (https://a.co/d/25QVf2F)</li>
<li>Open source - easy to customized and extend</li>
<li>No cloud requirements -- can be controlled and monitored on your local WIFI</li>
<li>Available Android client https://github.com/cryptomcgrath/pyrexia-android</li>
<li>Can be controlled and monitored using REST api</li>
<li>Ideal for RV's since it runs on DC</li>
<br>
<p>Hardware:</p>
<dl>
<dt>Raspberry Pi Zero 2W</dt>
<dd>Should also work with any Raspberry Pi hardware</dd>
<dt>Supports any GPIO high and/or low triggered Relay boards</dt>
<dd>To control furnace, boiler, and/or A/C
<dd>Amazon https://a.co/d/4OUekkN</dd>
<dt>Supports DHT22 temperature sensor(s)</dt>
<dd>Using python Adafruit_DHT driver:  sudo pip3 install Adafruit_DHT</dd>
<dd>Amazon https://a.co/d/f59G0Zk</dd>
<dt>Optionally Supports Sensorpush HT.w Bluetooth temperature sensor</dt>
<dd>To read the temperature in a remote location over bluetooth</dd>
<dd>SensorPush HT.w Wireless Thermometer/Hygrometer Water-Resistant for iPhone/Android. USA Made Indoor/Outdoor Humidity/Temperature/Dewpoint/VPD Monitor/Logger. Smart Sensor with Alerts </dd>
<dd>Amazon https://a.co/d/4TTQPGd</dd>


<br>
<p>Software:</p>
  <li>Raspberry Pi OS</li>
<li>python3</li>
<li>Node.js</li>
<li>pm2</li>
<br>
  
![image](https://user-images.githubusercontent.com/5443337/192160872-86081805-009f-4953-9ad2-d1d7d47415e3.png)
EasyDataSharing 1.3.5
For Sharing Data between files
Requires Python: >=3.7

# EasyScriptsDataSharing

Share Data between Scripts.

## About

This package allows multiple scripts to communicate each other while running

## instructions

1. Install

```
pip install EasyDataSharing
```

2. Import

```
from EasyDataSharing import *

```

## Functions

1. CreateData

if New Data created leave the ScriptId blank and it will a new one

```

UpdateData(myScriptName,otherScriptName,dataName,Data,ScriptId)

```

2. GetData

```

getFrom(otherScriptId,dataName)

```

3. GetScriptId

```

IdFromAuthor(otherScriptName)

```
coral-nrel 0.1.2
Concurrent ORBIT for shared Resource Analysis Library

CORAL
=====

Concurrent ORBIT for shared Resource Analysis Library


:Version: 0.1.0
:Authors: `Jake Nunemaker <https://www.linkedin.com/in/jake-nunemaker/>`_, `Matt Shields <https://www.linkedin.com/in/matt-shields-834a6b66/>`_