semvec/pypi-packages huggingface dataset:
spice2sch 0.1.1
A CLI to convert SkyWater SKY130 spice files into xschem .sch files.
Requires Python: >=3.13

# spice2sch

A CLI to convert SkyWater SKY130 spice files into xschem .sch files. Designed for [sifferman/sky130_schematics](https://github.com/sifferman/sky130_schematics). Available from [PyPI](https://pypi.org/project/spice2sch/).

## Use without installing

### For uv users
```bash
uvx spice2sch -h
```

## Installation

### For uv users (recommended)

```bash
uv tool install spice2sch
```

### For pip users

```bash
pip install spice2sch
```

## Usage

> [!CAUTION]
> The output file will be overwritten without warning.

Specify and input .spice and and output .sch file.

```bash
spice2sch -i file.spice -o file.sch
```

Input and output will default to stdin and stdout making this equivalent to the above command:

```bash
cat file.spice | spice2sch > file.sch
```

## Example

1. Generate a sch file. The following command uses uvx to use the package without downloading, and pipes a spice netlist from the clipboard to the tool.

```bash
wl-paste | uvx spice2sch -o sky130_fd_sc_hd__xor3_4.sch
```

2. Open the generated .sch file and manually arrange components.
   After running tool:
   ![pre](readme_images/xor3_4_pre.png)
   After organizing gates:
   ![post](readme_images/xor3_4_post.png)

## Limitations

- Currently this program will assume all components are transistors. Using this on a .spice file with other components will not work.
- Although schematics will pass a Layout Versus Schematic (LVS) check, all components must be manually rearranged.

## Running from source with uv

Clone the repo

```bash
git clone git@github.com:eliahreeves/spice2sch.git
cd spice-to-sh
```

Build and run

```bash
uv run spice2sch
```

> [!NOTE]
> You may need to remove existing installations using `uv tool uninstall spice2sch` or similar in order to avoid namespace confilcts.
mcp-auto-register 1.0.2
Automate registering functions in a python package as MCP tools.
Requires Python: >=3.10

# MCP Auto Register

This package automates the registration of functions and classes from a python package into a FastMCP instance.

## Installation

To install the package, run the following command:

```bash
pip install mcp-auto-register
```

## Usage

Register functions from a package:
```python
from mcp_auto_register.register import register_functions_from_package
from mcp.server.fastmcp import FastMCP

# Initialize MCP instance
mcp_instance = FastMCP()

register_functions_from_package('scipy.linalg', mcp_instance=mcp_instance, func_filter=['eigh', 'inv'])

if __name__ == "__main__":
    mcp_instance.run()
```

Register classes from a package:

```python
import inspect

from mcp_auto_register.register import register_classes_from_package
from mcp.server.fastmcp import FastMCP

from nba_api.stats.endpoints._base import Endpoint

# Create MCP instance
mcp = FastMCP()

def nba_endpoint_wrapper(endpoint: Endpoint):
    init_params = inspect.signature(endpoint.__init__).parameters
    required_args = {
        p: param.annotation if param.annotation != inspect.Parameter.empty else "Any"
        for p, param in init_params.items()
        if p != "self" and param.default == inspect.Parameter.empty
    }
    def wrapper(**kwargs):
        return endpoint(**kwargs).get_dict()
    
    wrapper.__signature__ = inspect.Signature(
        parameters=[
            inspect.Parameter(arg, inspect.Parameter.POSITIONAL_OR_KEYWORD)
            for arg, _ in required_args.items()
        ]
    )
    return wrapper

register_classes_from_package("nba_api.stats.endpoints", nba_endpoint_wrapper, mcp)

if __name__ == "__main__":
    mcp.run(transport="stdio")
```
cycling-dynamics 2025.4.1
Cycling (Bicycling) models of motion, air drag, rolling resistance, power calculations.
Requires Python: >=3.13
Keywords: cycling, bicycle, dynamics, speed, Rolling Resistance, Air Resistance, Calculations, Marginal Gains

# Cycling Dynamics
Cycling (Bicycling) models of motion, air drag, rolling resistance, power calculations.

This project is in activly being developed and has incomplete methods, models, stats and functions.


[![PyPI - Version](https://img.shields.io/pypi/v/cycling-dynamics.svg)](https://pypi.org/project/cycling-dynamics)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cycling-dynamics.svg)](https://pypi.org/project/cycling-dynamics)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install cycling-dynamics
```

## License

`cycling-dynamics` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.