semvec/pypi-packages huggingface dataset:
boolcalc 0.0.8
basic boolean calculator
License: MIT
Keywords: calculator

This is boolean calculator with operate from left to right.

#---------------------------#
Develop by PAO,RAM and YN
#---------------------------#

Example

import boolcalc

inp = "T ^ T <--> ( T --> F v ( T ^ T ) )".split(" ");
print(boolcalc.calculate(inp));

inp = "( ( ( T --> F --> T v F ) <--> T ) ^ T )".split(" ");
print(boolcalc.calculate(inp));

inp = "( ( ( T --> F --> T v F ) <--> T ) ^ T() ".split(" ");
print(boolcalc.calculate(inp));

inp = ["(","T","<-->","F","^","F",")"];
print(boolcalc.calculate(inp));

This library use expression tree data structure to operate the postfix of boolean term.

To convert infix to postfix, use the stack data stucture.

The mentioned datastructure we implement by ourselves.
PyEspecLib 0.0.3
Serial control lib for Programmable Temperature Chamer from espec.com
License: MIT
Keywords: serial control temperature chamber

Currently works with SEG-021(H) only.

Coding Example:
```
if __name__ == '__main__':
    seg = SEG_021H(serial_port='/dev/ttyUSB1')
    """test get command"""
    # print(seg.get_rom_version())
    # print(seg.get_temp_pv())
    # print(seg.get_temp_all())
    # print(seg.get_temp_high_limit())
    # print(seg.get_running_mode())
    # print(seg.get_running_status())
    # print(seg.get_heat_output_value())
    # print(seg.get_const_sv())
    # print(seg.set_const_value(125))

    """test set command pgm mode"""
    # print(seg.set_pgm_step_value(pgm_id=1, step=1, run=True, hours=1, mins=25, temp_sv=124.5))
    # print(seg.set_pgm_step_value(pgm_id=1, step=2, run=True, hours=1, mins=25, temp_sv=125.5))
    # print(seg.get_pgm_step_setting(1, 1))
    # print(seg.get_pgm_step_setting(1, 2))
    # print(seg.run_pgm(1))
    # print(seg.get_running_status())

    """test set command const mode"""
    print(seg.set_const_value(125))
    print(seg.run_const())
    print(seg.get_running_status())

```
svgout 0.1.0
Manipulate SVG elements and export variations
License: MIT
Keywords: svg

# svgout

Manipulate SVG elements and export variations

## Install

On debian based distro:

```sh
sudo apt install libxml2-dev libxslt1-dev lib32z1-dev python3-dev
```

```sh
pip install svgout
```


## Usage

```txt
usage: svgout [-h] [-o OUTPUT_DIR] [-i INPUT_FILE] [-c CONFIG_FILE]

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        SVG files created into this directory, default: creates `dist` directory beside the `input_file`
  -i INPUT_FILE, --input-file INPUT_FILE
                        Input SVG file path, default: trying to find first SVG file in current path
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        svgout YAML config path, default: `{input_file}.svgout.yml`
```

## Configuration

Configuration structure in YAML format:

```yaml
OUTPUT_FILE_NAME:
  COMMAND:
    - ELEMENT_ID_REGEX
```

Example:
```yaml
first:
  hide:
    - element-1
    - element-2
  show:
    - element-3

second:
  hide:
    - element-*
  show:
    - element-3
```

That config will generate two file with names `first.svg` and `second.svg`.

Available commands:
  - hide
  - show