semvec/pypi-packages huggingface dataset:
sila2lib 0.2.5
sila2lib - a SiLA 2 python3 library
License: MIT
Keywords: SiLA 2,lab automation,laboratory,instruments,experiments,evaluation,visualisation,serial interface,robots

SiLA2 Library - a Python3 library to develop SiLA 2 Server/Clients
==================================================================

-  SiLA2 gRPC server
-  SiLA2 gRPC base class
-  SiLA2 Feature Definition Language (FDL) parsing
-  ErrorHandling
-  SiLAService Feature
-  simulation-/real mode switching by SimulationController Feature
-  zeroconfig Device Detection (not completely implemented yet)

Installation
------------

The easiest installation can be done via pip :

::

    pip install --user sila2lib  # --user option installs sila2lib for current user only

alternatively one could use the setup.py script, like:

.. code:: bash

    cd [sila_library folder containing setup.py]
    pip3 install --user -r requirements_base.txt
    python3 setup.py install

Installation on Raspberry Pi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    pip install sila2lib

Testing the library with unittests
----------------------------------

.. code:: bash

    cd [sila_library folder containing setup.py]
    python3 setup.py test

sila2lib package Content
------------------------

std\_features
~~~~~~~~~~~~~

SiLA standard features


tests
~~~~~

unittests
YamlBase 0.1.1
YamlBase: simple yaml config based VCS for database
License: MIT
Requires Python: >=3.7
Keywords: Database,VCS

# YamlBase
[![codecov](https://codecov.io/gh/mv-yurchenko/YBase/branch/dev/graph/badge.svg)](https://codecov.io/gh/mv-yurchenko/YBase)
[![Actions Status](https://github.com/mv-yurchenko/YBase/workflows/deploy_on_master/badge.svg)](https://github.com/mv-yurchenko/YBase/actions)
[![CodeFactor](https://www.codefactor.io/repository/github/mv-yurchenko/ybase/badge)](https://www.codefactor.io/repository/github/mv-yurchenko/ybase)
[![PyPI version](https://badge.fury.io/py/YamlBase.svg)](https://badge.fury.io/py/YamlBase)
[![GitHub version](https://badge.fury.io/gh/mv-yurchenko%2FYBase.svg)](https://badge.fury.io/gh/mv-yurchenko%2FYBase)

This utility allows you to manage tables in a database using YAML files, which makes it faster to create and delete tables in multiple databases simultaneously

## The following databases are currently supported: 

- [SQLite](###sqlite-config-example) 

## Installation 

```shell script
pip install YamlBase
``` 
## Config examples
### SQLite config example 

<details>
  <summary>Click to expand!</summary>
  
> base_example.yaml
```
db_type: "SQLite" # -  type of database
ip: "H:/YBase/" # - path to file with database 
db_name: "test_db" # - database file name

username: ""
password: ""

schemas: # - list of schemas in database (main - default in SQLite)

  main:

    table_1: # - table description example
      name: "table1" # - must be same as block name
      descriprion: "table for test" # - some custom descriprions
      permissions: [] # - unused in SQLite

      columns: # - list of columns 
        column1: # - column example
          name: "column1" # - must be same as block name
          type: "text" # - type of columns in SQLite
          is_pk: 1 # - is column a primary key 
          is_sk: 0 # - is column is secondary key (if 1 than defina sk_link)
          sk_link: 0 # - sk link for table (table.column)
``` 

> actions_example.yaml 
```
# table : action
# table must be in database if remove or in base_config if insert
# table1 : insert - insert action
# table2 : remove - remove action
```
</details>

## Usage Example

To use this utility, you need 2 files, one is the configuration of new tables for the database, and the second is a file with a list of actions

File examples: 
- actions_example.yaml
- base_example.yaml