semvec/pypi-packages huggingface dataset:
python-bandit 5.0.1
test
Keywords: test


# anupam-action-test
 <img src="[https://s3.amazonaws.com/nrjio/interactive.gif](https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif?crop=780%2C520%2Cx0%2Cy0&width=1280)https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif?crop=780%2C520%2Cx0%2Cy0&width=1280" alt="Interactive notifications example" width=350/>
Slurmize 0.0.1
TUI program that generated Slurm batch scripts.

Slurmize
========

Little app to generate `Slurm <https://slurm.schedmd.com/>`
*batch scripts*.

This package provides ``slurmize``: a TUI (Terminal User Interface)
program based on `Textual <https://textual.textualize.io/>` that guides
you in the process of creating and managing *batch scripts*. 

.. warning::

   Slurmize is **work In Progress!**
gpgqr 0.1.0
Generates QR codes from GPG revoke certificates.
Requires Python: >=3.7

# gpg-qr

A simple tool to generate QR codes from GPG public keys and revoke certificates.Useful for printing out hardcopy.

## Options ##
1. Display in Terminal
2. Save as PNG
3. Upload PNG to TempFiles.org

## Installation ##
```python
pip install gpg-qr
```

## License ##
[GPL3](LICENSE)
mcp-mssql 0.1.4
MSSQL server package for MCP
Requires Python: >=3.6

# mcp-mssql

MSSQL server package for MCP (Message Communication Protocol)

## Installation

```bash
pip install mcp-mssql
```

## Usage

```python
from mssql.server import DBConfig

# Configure your database
db = DBConfig()
connection = db.get_connection()
```

## Environment Variables

Required environment variables:
- MSSQL_SERVER
- MSSQL_DATABASE
- MSSQL_USER
- MSSQL_PASSWORD
- MSSQL_DRIVER
el800-control 1.1.4
el800 export reads from a serial device connected to a EL800 the last read plate and exports it as pdf.
Requires Python: >=3.1
Keywords: el800

# EL800 control: Access the EL800 over the serial port

This is the second version that extracts the latest plate information over the serial port and present is as PDF and CSV. Without the need of a printer.
Additionally a window based control is now included to have a more interactive control of the EL800.

From version 1.1.3 a gui based controll has been included using the command: 

   ```bash
el800-win-control 
   ```

---

## Key Features  

- **Extract plate data**:  
  Extract the date from the lates read from the EL800.

---

## Benefits  

- **Human-Readable**:  
  The data is available as PDF and CSV.  

- **Machine-Friendly**:  
  The CSV format enables seamless integration with Python and other data processing workflows.  

- **Efficient Visualization**:  
  Auto-generated PDF plots provide quick insights into measurement trends and values.  

- **No Printer Needed**:  
  The Printer for reports is not needed anymore.  

---

## Applications  

- Post-experiment analysis of OD600 measurements.  
- Integration into automated workflows for advanced data analysis.  
- Creation of visual representations for reports or presentations.  

---

## Installation and Usage  

1. **Instalation**:  
   - Python >= 3.1  
   - pip >= 22.0.2
   - pip install el800-control

2. **Run the Script**:  
   ```bash
usage: el800-control [-h] [--input_file INPUT_FILE] [--port PORT] output_file

Utility for extracting reports from a EL800.

positional arguments:
  output_file           Path to the output file.

options:
  -h, --help            show this help message and exit
  --input_file INPUT_FILE
                        Path to the input file.
  --port PORT           serial port specification.

      
   el800-control --port /dev/ttyUSB0 plate96.pdf
   ```
   
GUI based verion for extracting reports from a EL800.

   ```bash
   el800-win-control
   ```   

## Developers and Designers

   Richard W. van Nieuwenhoven <nieuwenhoven@iap.tuwien.ac.at>
gelf 0.0.3
Library that provides classes for GELF logging!
Requires Python: >=3.8
Keywords: gelf, logging

# Python GELF

## Install from PyPI

```python
pip install gelf
```

## Configure handler from a python script

```python
import logging
import time
from uuid import uuid4

from gelf.handler import GELFHandlerTCP

logger = logging.getLogger("example.module")
logger.setLevel(logging.DEBUG)

handler = GELFHandlerTCP(
    host="127.0.0.1",
    port=12201,
    service="example",
    include_extra_fields=True,
    debug=True,
)
handler.setLevel(logging.DEBUG)
logger.addHandler(handler)
# not strictly needed, this is to display logs on stdout
logger.addHandler(logging.StreamHandler())

logger.info(
    "This message gives a lot of information",
    extra={
        "request_id": "4edba63411eb4c8f808e32e904d29c1c",
        "user_id": "bf5089c16355401a9bff3efd6b2ada2e"
    },
)
```

## Configure handler using a config file

- In python script use `logging.config.fileConfig` to load logging config from file

```python
import logging
import logging.config
import time
from uuid import uuid4

logging.config.fileConfig("logging.conf")

logger = logging.getLogger("example.module")

logger.info(
    "This message gives a lot of information",
    extra={
        "request_id": "4edba63411eb4c8f808e32e904d29c1c",
        "user_id": "bf5089c16355401a9bff3efd6b2ada2e"
    },
)
```

- Put your logging config in a file. Here `logging.conf`

```toml
[formatters]
keys = 

[handlers]
keys = stdout,gelf

# not strictly needed, this is to display logs on stdout
[handler_stdout]
class = logging.StreamHandler
level = DEBUG

[handler_gelf]
class = gelf.handler.GELFHandlerTCP
args = ('localhost', '12201', os.getenv('SERVICE', 'unknown'))

[loggers]
keys = root

[logger_root]
handlers = stdout,gelf
level = DEBUG
```

> NOTE: In this example service field of log records is retrieved from `SERVICE` environment variable but you might as well provide a fixed value.