semvec/pypi-packages huggingface dataset:
sdsim 0.1.0
a similarity calculatior for stable diffusion checkpoints
License: MIT
Requires Python: >=3.8

# sdsim

stable diffusion model similarity calculatior

original: <https://huggingface.co/JosephusCheung/ASimilarityCalculatior>

modified: <https://gist.github.com/toriato/87db2b3cbe9863be43b63ba10cd610ad>

packaging: here


## Install

```sh
pip install sdsim
```

## Usage

```sh
sdsim animefull-latest.ckpt ACertainModel.safetensors
```

```sh
sdsim -nv -j result.json animefull-latest.ckpt ACertainModel.safetensors
```

```sh
❯ sdsim --help
usage: sdsim [-h] [-j JSON] [-s SEED] [-nv] base targets [targets ...]

positional arguments:
  base
  targets

optional arguments:
  -h, --help            show this help message and exit
  -j JSON, --json JSON
  -s SEED, --seed SEED
  -nv, --no-verbose
```

```python
from sdsim import similarity

model1 = "animefull-latest.ckpt"
model2 = "ACertainModel.safetensors"
model3 = "AbyssOrangeMix2_nsfw.safetensors"
result = similarity(model1, [model2, model3], verbose=True)
```
proper-forms 0.7
A proper flexible Python form library
License: MIT
Requires Python: >=3.9,<4.0

![Proper Forms](header.png)

Proper Forms is a flexible form library to make far easier to create beautiful, semantically rich, syntactically awesome, readily stylable and wonderfully accessible HTML forms in your Python web application.

**Documentation**: https://proper-forms.scaletti.dev


```bash
pip install proper-forms
```

## How Proper Forms is different

- A field isn't tied to a specific HTML tag, so can be presentend in multiple ways. Even the same form can be used in different contexts and have different widgets and styles on each. A set of options as checkboxes, a select multiple, or a comma-separated input? You got it. A date as a calendar or as three selects? No problem.

- Many commonly used built-in validators, and you can also write simple functions to use as custom ones.

- Any field can accept multiple values; as a list or as a comma-separated text.

- All error messages are customizable. The tone of the messages must be able to change or to be translated.

- Incredible easy to integrate with any ORM (object-relational mapper). Why should you need *another* library to do that?


## Just show me how it looks

```python
from proper_forms import Form, Email, Text


class CommentForm(Form):
    email = Email(required=True, check_dns=True)
    message = Text(
    	LongerThan(5, "Please write a longer message"),
    	required=True
    )


def comment():
    form = CommentForm(request.POST)
    if request.method == "POST" and form.validate():
    	data = form.save()
        ...
    return render_template("comment.html", form=form)

```