semvec/pypi-packages huggingface dataset:
kielbasa 0.0.2
All-Natural Casing Utilities
Requires Python: >=3.6

# kielbasa 
[![npm version](https://img.shields.io/npm/v/kielbasa.svg)](https://www.npmjs.com/package/kielbasa) [![PyPI](https://img.shields.io/pypi/v/kielbasa)](https://test.pypi.org/project/kielbasa/) [![GitHub license](https://img.shields.io/github/license/joshingmachine/kielbasa.svg)](https://github.com/joshingmachine/kielbasa/blob/master/LICENSE.md)

All-Natural Casing Utilities

https://en.wikipedia.org/wiki/Letter_case
pw-generator 0.1.0
Simple password generator
Requires Python: >=3.5

# pw-generator
Generate relatively secure passwords within python scripts.

The idea of the password generator, that produses relatively secure 
passwords, consisting from some english words and delimiters, and 
the wordlist itself were taken from passwdqc library.

## Code example

```
from pwgen import passphrase_gen, password_gen
from pwgen.exception import WeakPasswordException

password = passphrase_gen(5)
print(password)

password = password_gen(10)
print(password)

password = passphrase_gen(2)
""" Should get a WeakPasswordException """
```

## License

This project is licensed under the MIT License - see the
[LICENSE](https://github.com/pietro-a/pw-generator/blob/master/LICENSE)
file for details.

## Acknowledgments

Homepage of passwdqc library: http://openwall.com/passwdqc/
hx711-gpiozero 0.0.3
A HX711 Driver
Requires Python: >=3.7

# HX711 driver library

## Description

This library allows to drive a HX711 load cess amplifier with a Raspberry Pi by using `gpiozero` library.
- to set channel and gain
- to read raw value

*This package requires `gpiozero` to be installed in Python 3.*

## Example

```py

from hx711_gpiozero import HX711
from time import sleep

spi = HX711()
print("Initiatin ...")
init_reading = spi.value

sleep(1)
input("Put a known mass on the scale, then press `enter`.")

try:
    rel_weight = float(input("What is the weight of the known mass?\n"))
except ValueError as err:
    print(err)
    print("(The input of weight can only be numbers)")
    exit(1)
rel_reading = spi.value
scale_ratio = rel_weight / (rel_reading - init_reading)

sleep(1)
while True:
    weight = (spi.value - init_reading) * scale_ratio
    print(weight)
    sleep(1)
```
pyMATLABstyle 1.2.1
MATLAB style of creating numpy/sympy matrices, and a few MATLAB style functions

# MATLAB style numpy and sympy



Create matrix, call function in MATLAB style



## Installation



`pip install pyMATLABstyle`



## Import



```python

from MATLAB import *

```



## MATLAB style numpy

Includes:

1. mat

2. inv

3. rank

4. det

5. exp





```python

matN = mat('1 2 3;4 7,2;6,7,8')

print('matN:', matN, sep='\n')

```



    matN:

    [[1 2 3]

     [4 7 2]

     [6 7 8]]







```python

print('rank:', rank(matN))

print('inv:', inv(matN) * (matN), sep='\n')

print('det:', det(matN))

print('exp:', exp(matN, 2) - matN * matN, sep='\n')

```



    rank: 3

    inv:

    [[ 1.00000000e+00  2.77555756e-16  4.44089210e-16]

     [ 3.33066907e-16  1.00000000e+00  0.00000000e+00]

     [-3.46944695e-17 -5.89805982e-17  1.00000000e+00]]

    det: -40.000000000000014

    exp:

    [[0 0 0]

     [0 0 0]

     [0 0 0]]





## MATLAB style syms

syms == sympy.symbols





```python

x, y, z = syms('x, y z')

f = x**(y - z)

print(f)

```



    x**(y - z)





## MATLAB style sympy matrix

Includes:

1. smat

2. sinv

3. sdet

4. sexp





```python

matS = smat('x11 x12 x13;x21,x22,x23;x31,x32 x33')

print('matS:', matS, sep='\n')



```



    matS:

    Matrix([[x11, x12, x13], [x21, x22, x23], [x31, x32, x33]])







```python

print('rank:', matS.rank())

print('inv:', sinv(matS) * (matS), sep='\n')

print('det:', sdet(matS))

print('exp:', sexp(matS, 2) - matS * matS, sep='\n')

```



    rank: 3

    inv:

    Matrix([[1, 0, 0], [0, 1, 0], [0, 0, 1]])

    det: x11*x22*x33 - x11*x23*x32 - x12*x21*x33 + x12*x23*x31 + x13*x21*x32 - x13*x22*x31

    exp:

    Matrix([[0, 0, 0], [0, 0, 0], [0, 0, 0]])