semvec/pypi-packages huggingface dataset:
schedview 0.21.0
Tools for visualization of Rubin Observatory's scheduler status, strategy and progress on LSST.

# schedview

[![pypi](https://img.shields.io/pypi/v/schedview.svg)](https://pypi.org/project/schedview/)
 [![Conda Version](https://img.shields.io/conda/vn/conda-forge/schedview.svg)](https://anaconda.org/conda-forge/schedview) <br>
[![Run CI](https://github.com/lsst/schedview/actions/workflows/test_and_build.yaml/badge.svg)](https://github.com/lsst/schedview/actions/workflows/test_and_build.yaml)
[![codecov](https://codecov.io/gh/lsst/schedview/branch/main/graph/badge.svg?token=2BUBL8R9RH)](https://codecov.io/gh/lsst/schedview)

The `schedview` module provides tools for visualizing Rubin Observatory scheduler behaviour and Rubin Observatory/LSST survey status, including:

- A collection of functions, eacho of which creates an independent visualization of some aspect of scheduler behaviour, state, or surve progress. These functions may be used in `jupyter` notebooks or other python applications, or combined into dashboards or other higher level applications.
- A handful of dashboard applications that collect relevant visualizations into sets suitable for specific use cases.
flake8-stash 0.11.0
A collection of flake8 checks.
Requires Python: >=3.8
Keywords: flake8, flake8 plugin, collection of checks, lint dunder all

# flake8-stash

A collection of [flake8](https://github.com/pycqa/flake8) checks.

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ghazi-git/flake8-stash/tests.yml?branch=main&label=Tests&logo=GitHub)](https://github.com/ghazi-git/flake8-stash/actions/workflows/tests.yml)
[![PyPI](https://img.shields.io/pypi/v/flake8-stash)](https://pypi.org/project/flake8-stash/)
[![PyPI](https://img.shields.io/pypi/pyversions/flake8-stash?logo=python&logoColor=white)](https://pypi.org/project/flake8-stash/)
[![PyPI - License](https://img.shields.io/pypi/l/flake8-stash)](https://github.com/ghazi-git/flake8-stash/blob/main/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## List of checks

- **STA011**: The use of `fields = '__all__'` in model forms is not allowed. List the fields one by one instead.
- **STA012**: The use of `exclude` in model forms is not allowed. Use `fields` instead.
- **STA021**: The use of `fields = '__all__'` in model serializers is not allowed. List the fields one by one instead.
- **STA022**: The use of `exclude` in model serializers is not allowed. Use `fields` instead.
- **STA031**: The use of `fields = '__all__'` in filtersets is not allowed. List the fields one by one instead.
- **STA032**: The use of `exclude` in filtersets is not allowed. Use `fields` instead.
- **STA041**: The use of `fields = '__all__'` is not allowed. List the fields one by one instead.
- **STA042**: The use of `exclude` is not allowed. Use `fields` instead.

## Installation

Install with `pip`

```shell
pip install flake8-stash
```

## Usage with pre-commit

```yaml
repos:
      - repo: https://github.com/pycqa/flake8
    rev: '6.0.0'
    hooks:
      - id: flake8
        additional_dependencies: [ "flake8-stash==0.11.0" ]
```

## License

This project is [MIT licensed](LICENSE).
flake8-max-function-length 0.10.0
A configurable flake8 plugin to enforce a maximum function/method length.
Requires Python: >=3.8
Keywords: flake8, flake8 plugin, maximum function length

# flake8-max-function-length

A configurable [flake8](https://github.com/pycqa/flake8) plugin to enforce a maximum function/method length.

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ghazi-git/flake8-max-function-length/tests.yml?branch=main&label=Tests&logo=GitHub)](https://github.com/ghazi-git/flake8-max-function-length/actions/workflows/tests.yml)
[![PyPI](https://img.shields.io/pypi/v/flake8-max-function-length)](https://pypi.org/project/flake8-max-function-length/)
[![PyPI](https://img.shields.io/pypi/pyversions/flake8-max-function-length?logo=python&logoColor=white)](https://pypi.org/project/flake8-max-function-length/)
[![PyPI - License](https://img.shields.io/pypi/l/flake8-max-function-length)](https://github.com/ghazi-git/flake8-max-function-length/blob/main/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## Installation

Install with `pip`

```shell
pip install flake8-max-function-length
```

## Configuration Options

The package has only one rule `MFL000` to check that function length is equal or lower to a maximum value.
By default, the function length should be lower than 50 lines and is calculated based on its content ignoring
its docstring, comments and empty lines. Still, you have the ability to customize that based on the following
options:

- `--max-function-length=n`: Maximum allowed function length. (Default: 50)
- `--mfl-include-function-definition`: Include the function definition line(s) when calculating the function length.
(Default: disabled)
- `--mfl-include-docstring`: Include the length of the docstring when calculating the function length.
(Default: disabled)
- `--mfl-include-empty-lines`: Include empty lines inside the function when calculating the function length.
(Default: disabled)
- `--mfl-include-comment-lines`: Include comment lines when calculating the function length. (Default: disabled)

## Usage with pre-commit

```yaml
repos:
  - repo: https://github.com/pycqa/flake8
    rev: '6.0.0'
    hooks:
      - id: flake8
        #args: [ --max-function-length, '100', --mfl-include-docstring, --mfl-include-comment-lines ]
        additional_dependencies: [ "flake8-max-function-length==0.10.0" ]
```

## Similar tools

- flake8-functions has a similar rule for maximum function length, however, it [doesn't allow excluding empty lines
and comments](https://github.com/best-doctor/flake8-functions/issues/9).
- Pylint has the [too-many-statements](https://pylint.readthedocs.io/en/latest/user_guide/checkers/features.html#design-checker-messages)
rule, which is also similar to this one. Still, I find it easier to reason about number of lines as opposed to
number of statements.

## License

This project is [MIT licensed](LICENSE).
llmmd2pdf 0.1.3
A Shiny app to convert LLM Markdown exports to PDF with Quarto
Requires Python: >=3.9

# **Markdown to PDF Converter (llmmd2pdf)**

A local Python application built with [Shiny for Python](https://shiny.posit.co/py/) that allows you to paste Markdown text, preprocess it, and convert it to PDF using [Quarto](https://quarto.org/).

Currently, markdown input needs to be generated by other programs, such as SaveYourChat or manual copy-pasting from LLM chat windows (e.g., ChatGPT, Gemini, Claude).

## **Features**

* **GUI Interface**: Clean Shiny layout for text input and settings.  
* **Smart Preprocessing**: Cleans "Gemini Apps Activity" footers, removes profile placeholders, and cleans artifact tags.  
* **Native Directory Picker**: Robustly handles native macOS file dialogs via a subprocess.  
* **Quarto Integration**: High-quality PDF conversion.  
* **Metadata & Config**: Autosaves your favorite models, author name, and stores them in the standard OS configuration path.

## **Prerequisites**

1. **Python 3.9+**  
2. **Quarto CLI**: Required for PDF generation.  
   * [Download Quarto](https://quarto.org/docs/get-started/)  
   * Verify: quarto \--version

## **Option 1: Installation via PyPI (Recommended)**

This is the easiest way to use the tool.

1. **Install the package**:  
   pip install llmmd2pdf

2. **Run the app**:  
   llmmd2pdf

   The app will open in your browser automatically.

## **Option 2: Installation from Source (GitHub)**

Use this if you want to modify the code or contribute.

1. **Clone the repository**:  
   git clone \[https://github.com/yourusername/llmmd2pdf.git\](https://github.com/yourusername/llmmd2pdf.git)  
   cd llmmd2pdf

2. **Install in editable mode**:  
   pip install \-e .

3. **Run the app**:  
   llmmd2pdf

## **Configuration**

The application stores settings in the standard Application Support folder for your OS.

* **macOS**: \~/Library/Application Support/llmmd2pdf/config.toml  
* **Windows**: %APPDATA%/llmmd2pdf/config.toml  
* **Linux**: \~/.config/llmmd2pdf/config.toml

This file is automatically created when you run the app. You can modify it to set default models, your name, or the **server port**.  

**Default Config:**  
models \= \[ "Claude Haiku 4.5", "Claude Opus 4.5", "Claude Sonnet 4.5", "GPT-4o", "GPT-4o mini", "GPT-5", "GPT-5.1", "Gemini 3 Pro"\]  
author \= "Karl Dafoe"  
port \= 5555  \# Change this to run on a different port

### **Changing the Port**

You can change the port by editing the port value in the config file above. The next time you run llmmd2pdf, it will bind to that port.


## Roadmap

- [x] Add unit tests for preprocessing functions
- [ ] maybe add API-based direct fetching of conversations
- [ ] Improve Quarto template customization options
bitgrad 0.1.2
A small autograd engine + neural network + visualization library
Requires Python: >=3.8

BITGRAD:
A small autograd engine + neural network + visualization library
Bitgrad is a minimal neural network built from scratch in Python

Key Features:
> Value Class with reverse-mode autodiff
> Neurons, Layers and MLPs
> Graph Visualization (SVG)
> Structured project files and directories + packaging

INSTALLATION

Install from PyPI:
```bash
pip install bitgrad
```

Or install from source:
```bash
git clone https://github.com/falloficarus22/bitgrad
cd bitgrad
pip install -e .
```

Example Usage:
```python
from bitgrad import MLP, Value

# A simple 2 → 4 → 4 → 1 network
model = MLP(2, [4, 4, 1])

xs = [[2.0, 3.0], [1.0, -1.0], [-3.0, 0.5]]
ys = [1.0, -1.0, 1.0]

for k in range(200):
    ypred = [model(x)[0] for x in xs]
    loss = sum((yp - y)**2 for yp, y in zip(ypred, ys))

    # zero grads
    for p in model.parameters():
        p.grad = 0.0
    
    # backprop
    loss.backward()

    # SGD update
    for p in model.parameters():
        p.data -= 0.05 * p.grad

print("Final loss:", loss.data)
```

GRAPH VISUALIZATION

Bitgrad includes computational graph visualizer usin Graphviz

Saving a graph:
```python
from bitgrad.viz import save_graph

save_graph(loss, "loss.pkl")
```
Rendering it:
```bash
bitgrad viz --file loss.pkl
bitgrad viz -f loss.pkl
```

COMMAND LINE INTERFACE

Bitgrad installs a CLI called bitgrad

XOR Demo:
```bash
bitgrad xor
```
serato-usb-export 1.1.1
Better Serato USB export that beats Serato's sync by putting all files in 1 folder (without duplicates) and only copying changed files, unlike Serato's sync which takes forever and creates many duplicate file locations
Requires Python: >=3.12
Keywords: serato, serato usb, serato usb sync, serato usb export

Better Serato USB export. Beats Serato's sync by putting all files in 1 folder (without duplicates) and only copying changed files, unlike Serato's sync which takes forever and creates many duplicate file locations

_Currently designed for Python 3.12+. If you would like backwards compatibility with an older version, please reach out!_

# Installation

```cmd
pip install serato-usb-export
```

# Usage

**NOTE: replaces existing crates on flash drive! (but does not delete existing track files) (TODO: ability to merge with existing)**

**Windows**

```cmd
serato_usb_export --drive E --crate_matcher *house* *techno* --root_crate="Dave USB"
```

**Mac**

```cmd
serato_usb_export --drive "/Volumes/MY_USB/" --crate_matcher *house* *techno* --root_crate="Dave USB"
```

**Linux**

```cmd
serato_usb_export --drive "/media/dave/MY_USB/" --crate_matcher *house* *techno* --root_crate="Dave USB"
```

`root_crate` is 


**Arguments**

_See argument usage:_  `serato_usb_export --help`


`-d, --drive, --drive_dir`

Directory of the destination drive. Example: "E" on Windows

`-c, --crates, --crate_matcher`

Glob or Regex matcher for crate and smartcrate filenames. Example: "\*house\*". Can pass multiple to OR them. To copy all, pass "\*"

`--root_crate`

Not required, but is nice when plugging your drive into another DJ's laptop. Sets all crates to be within this crate on the destination drive

### Contributing / Issues

_This is a wrapper of my [serato-tools](https://github.com/bvandercar-vt/serato-tools) package. Please open issues and contribute there._