semvec/pypi-packages huggingface dataset:
BSG-IDE 4.9.2
Beamer Slide Generator IDE
Requires Python: >=3.7

Latest version 4.0

For the impatient:

1. Create a virtual Python environment in your OS: python -m venv venv
2. activate it by typing  : source venv/bin/activate
3. pip install bsg-ide
4. bsg-ide --fix

Your file menu should now show the bsg-ide icon under the office menu.

OR

1. Download the files.
2. Unzip it
3. run:> python BSG-IDE.py --fix
4. Now from menu, you can load BSG-IDE (usually under Office folder)

# Bridge the gap between Idea Generation and PDF Presentation

Create a presentation slide in no time. That is the goal. Read the manual (RTM!) Contact me (nsp@airis4d.com) for clarifications. Contribute to the manual by adding your observations. AND Enjoy!

### A good talk means a well-organised flow of ideas. However, it is not as easy as we say. The human brain brings ideas in bits and pieces and processes them in parallel. Mind mapping software usually provides a platform to convert these pieces into an organised sequence of ideas necessary for a good talk. Many mind mapping software allows direct translation of the maps into Latex files, simplifying the conversion task. However, one may want to use packages like Beamer to make the presentation impressive. The presentation is usually a suitable PDF file because it allows cross-platform compatibility. The problem with PDF presentations is that they typically discard the flexibility to use speaker notes, an attraction of PowerPoint presentations using LibreOffice or Microsoft Office. Thankfully, there is an excellent package for making dual-screen presentations with notes that work across different platforms, known as pympress in the open source, with all the features the alternative platforms offer and more! Great. So the question is - can we have a tool that bridges the gap from idea generation to PDF presentation all under one umbrella? That is what Beamer Slide Generator and its IDE BSG-IDE are all about. Please use, share and Contribute to the development. It is in the Open Source.

Update:  BSG-IDE.py  is a complete development IDE that creates the text file and all intermediate steps to generate PDF presentation output. The IDE also provides a preamble editor that allows you to customise the look and feel of your presentation. I encourage users to upload their contributions to appealing preamble setup files under the Creative Commons licence to make the product versatile.

NOTE: You need not worry about creating the text file. That is the good news. You give a new file name, say <some_filename>.txt, after selecting the option 2. It will guide you through even suggestive pages on your browser related to the topic of your slide. You can follow the instructions. Copy and paste YouTube video links by selecting option 1 in the submenu, or add your own files by selecting option 2. No worries, the links will be automatically cited so that you won't be blamed for IP violation. Try it and let me know.
mat2py-matrix-converter 0.1.0
A small utility to convert MATLAB-style matrix strings to Python/torch syntax
Requires Python: >=3.6

# MATLAB-to-Python Matrix Converter

This library provides a set of utility functions to **convert MATLAB-style matrix expressions into valid Python/NumPy/Torch formats**. It handles common indexing, matrix formatting, and math function conversion tasks, allowing MATLAB snippets to be reused directly in Python with minimal manual adjustment.

---

## Features

- **Index Conversion:** Converts MATLAB's `x(i)` (1-based) indexing to Python's `x[i-1]` (0-based).
- **Matrix Format Conversion:** Transforms MATLAB matrices like `[1,2;3,4]` into Python-style `[[1, 2], [3, 4]]`.
- **Variable Extraction:** Identifies all variable names used in a matrix expression, excluding common math functions.
- **Matrix Assignment Parsing:** Extracts both variable name and raw matrix string from MATLAB-style assignment lines.
- **Torch-Compatible Output:** Provides a full example that outputs `torch.tensor(...)` objects from MATLAB expressions.

---

## Files Overview

### `index_converter.py`

Converts `varname(n)` to `varname[n-1]` using regex. Useful for transforming MATLAB indexing syntax.

```python
convert_idx_for_var(expr: str, varname: str) -> str
```

---

### `matrix_wrapper_converter.py`

Converts MATLAB matrix string format `[a,b;c,d]` to Python-style nested lists.

```python
matlab_matrix_to_python(matlab_str: str) -> str
```

---

### `variable_extractor.py`

Parses a matrix string and extracts all variable names (excluding built-ins like `sin`, `cos`, etc.).

```python
extract_matlab_variable_names(matrix_str: str) -> list[str]
```

---

### `extract_raw_matrix_str.py`

Extracts the variable name and raw matrix string from an input line such as:

```matlab
M = [1, 2; 3, 4]
```

Even supports anonymous matrices (`=[...]` or `[...]`).

```python
extract_assignment_and_matrix(input_str: str) -> tuple
```

---

### `general.py`

Takes in string of Matlab matrix and return string of the matrix represented as a tensor:

```matlab
M = [1, 2; 3, 4]
```

Even supports anonymous matrices (`=[...]` or `[...]`).

```python
matlab_to_tensor(input_str: str) -> str
```

---

### `example.py`

A full demo that:
1. Extracts the matrix.
2. Replaces MATLAB operations (e.g., `.*`, `.^`).
3. Converts trigonometric functions to `torch.` variants.
4. Converts indexing, and matrix format.
5. Returns a `torch.tensor(...)` result.

---

## Example Usage

```python
from mat2py_matrix_converter import matlab_to_tensor, extract_matlab_variable_names

matlab_code = "M = [1, 2; 3, 4];"
vars = extract_matlab_variable_names(matlab_code)
py_tensor = matlab_to_tensor(matlab_code)
```
llm-tools-openapi 0.1.1
a plugins that allow to use OpenAPI as a tools
Requires Python: >=3.9

# llm-tools-openapi

[![PyPI](https://img.shields.io/pypi/v/llm-tools-openapi.svg)](https://pypi.org/project/llm-tools-openapi/)
[![Changelog](https://img.shields.io/github/v/release/oliviergg/llm-tools-openapi?include_prereleases&label=changelog)](https://github.com/oliviergg/llm-tools-openapi/releases)
[![Tests](https://github.com/oliviergg/llm-tools-openapi/actions/workflows/test.yml/badge.svg)](https://github.com/oliviergg/llm-tools-openapi/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/oliviergg/llm-tools-openapi/blob/main/LICENSE)

a plugins that allow to use OpenAPI as a tools

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-tools-openapi
```
## Usage

To use this with the [LLM command-line tool](https://llm.datasette.io/en/stable/usage.html):

```bash
llm --td --tool --tool 'OpenAPIToolbox(openapi_url="https://your/swagger.json")' 'question your API'
```

With the [LLM Python API](https://llm.datasette.io/en/stable/python-api.html):

```python
import llm
from llm_tools_openapi import openapi

model = llm.get_model("gpt-4.1-mini")

result = model.chain(
    "Example prompt goes here",
    tools=[openapi]
).text()
```

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-tools-openapi
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```