semvec/pypi-packages huggingface dataset:
rng-alg 1.6.0
A package for random number generation algorithms like hexadecimal, pi, and advanced RNGs.

# rngalg

# Description

This add some random algorithm with pi, hex, advanced rng and special charactere generator

## ðŸ“¦ Installation ðŸ“¦

Just one command

```pip
pip install rng-alg
```

## Use

```python
import rngalg
```

### Random with pi

```python
rngalg.pialg()
```

### normal avanced rng

```python
rngalg.advancedrng(1, 40) # generate between 1 to 40
```

### hexadecimal

```python
rngalg.hex() # generate hexadecimal number between 1 to FFFFF

rngalg.hex(100, 1000) # generate hexadecimal number between 100 to 1000

rngalg.hex(None, 5000) # generate hexadecimal number between 1 to 5000

rngalg.hex(200, None) # generate hexadecimal number between 200 to FFFFF
```

### generate special charactere

```python
rngalg.specialchargen() # 1 special charactere

rngalg.specialchargen(5) # 5 special charactere

rngalg.specialchargen(10) # 10 special charactere
```
mbo-utilities 0.0.7
Various utilities for the Miller Brain Observatory
Requires Python: <3.13,>=3.11
Keywords: Microscopy, ScanImage, multiROI, Tiff

# MBO utilities
General python/shell utilities and environment/config files.

## Installation
```bash
conda create -n mbo_util python=3.10 imgui-bundle
conda activate mbo_util
pip install git+https://github.com/MillerBrainObservatory/mbo_utilities.git@master
```

## Usage

Open a terminal and run the following commands:

``` bash
# make sure the conda environment is activated
mbo --path ~/data/session/

# or open a dialog to select the folder
mbo --gui
```

or in Jupyter notebook:

```python
from mbo_utilities import run_gui

run_gui()
```
pypro-framework 0.1.0
A Python framework with batteries included
Requires Python: >=3.8

# PyPro - A Flask-like Web Framework with Batteries Included

PyPro is a Python web framework designed to be easy to use like Flask, but with more built-in features that web applications commonly need. It provides routing, templating, database integration, security features, and more right out of the box.

## Features

- **Simple API**: Flask-like decorator-based routing and request handling
- **Built-in Server**: WSGI-compliant for easy deployment
- **Templating**: Jinja2 integration for HTML rendering
- **Database**: ORM integration with SQLAlchemy support
- **Security**: Password hashing, token generation, CSRF protection
- **Sessions**: Built-in session management
- **Middleware**: Request/response processing pipeline
- **CLI Tool**: Command-line interface for running apps and more
- **Plugin System**: Extensibility through third-party plugins

## Installation

```bash
pip install pypro
mpl2tex 0.0.1
Package to output matplotlib figures to latex.
Requires Python: >=3.9

# mpl2tex
## Description 

This repository converts matplotlib plots to a latex document. Enabling the annotation of figures in an organized manner. It is not meant to generate beautiful figures, but rather keep one's plots a bit more organized.

## Components 

Currently the package is composed of three different classes. 

1. TextoFig - Helper classe the manages latex files as well as directory organization.
2. TexFig - A class which handles generating latex syntax and saving matplotlib figures in the right directory.
3. MPTexFig - A class which creates a multiple panel figure from a list of TexFig. 

### mpl2tex.TexFig() ###

Class to generate a single panel figure.

- `figure:` Takes an `mpl.Figure`
- `caption:` Longer description of data presented in figure.
- `title:` Short title used for table of contents.
- `figure_filename` Default file name is lower case title.
- `subfigure:` Boolean - default is False. 
- `output_type:` File suffix - defual is `.pdf`
- `figure_size:` Float relative to `\textwidth`

```
mpl2tex.TexFig(figure, caption, title, subfigure)
```

### mpl2tex.MPTexFig() ###

Class to generate a multipanel figure.

- `figures:` List of `mpl2tex.TexFig`
- `title:` Short title used for table of contents.
- `caption:` Longer description of data presented in figure.

```
mpl2tex.MPTexFig(Figures = figures, caption, title)
```

### mpl2tex.figtotex() ### 

Function that generates and runs the methods of MPTexFig. To add figure to LaTex document.

`plot_type:` Name for type of plots (e.g. experimentA_replicate_correlations)
`figures:` List of `TexFig` or `MPTexFig`
`outpath:` Path to output directory

```
mpl2tex.figtotex(plot_type, figures, outpath)
```

## Organization of output directory 

```
output\
    inputs\plot_type.tex
    plots\plot_type\plot.pdf
    main.tex 
```
- Plots are labeled with the date. The package will not overwrite existing plots.