semvec/pypi-packages huggingface dataset:
portafilter 1.0.1
Portafilter provides powerful and simple data validation functionality.
Requires Python: >=3.6

# Portafilter

Powerful and simple data validation functionality.

---

**Portafilter** provides several different approaches to validate your application's incoming data.  It's **zero dependencies** and easy to use.

## Help

See **[documentation](https://portafilter.dev)** for more details.

## Installation

It's on [PyPI](https://pypi.org/project/portafilter) and all you need to do is:
```
pip install portafilter
```

## A Simple Example

```py
from portafilter import Validator

validator = Validator(
    {
        'name': 'Flat White',
        'description': 'A Flat White is a coffee drink consisting of espresso with microfoam ',
        'ingredients': [
            {
                'name': 'Espresso',
            },
            {
                'name': 'Steamed Milk',
            }
        ],
    },
    {
        'name': 'required',
        'description': 'required|max:255',
        'ingredients': 'required|list',
        'ingredients.*.name': 'required|string',
    }
)

if validator.fails():
    # The data is not valid
    print(validator.errors())

# The data is valid
```

To see all the features, visit [portafilter.dev](https://portafilter.dev)
autoindent 0.1.2
A string indentation package
Requires Python: >=3.7

# StrIndent

> Easy to use, mistakes protected lib to make indents in strings easily

``` python
from autoindent import Indent

indent = Indent()

indent.add("Some head strings")
indent.add("Indent is necessary", 2)

print(str(indent))
```

**StrIndent** is a easy to use, mistakes protected lib that makes your routine formatting less complicated
swurl 0.1.0
simple Pathlib-like usage of URLs

# wurl

Wurl is a simple URL parsing library that provides Pathlib-like usage to URLs in Python:

```python
>>>> wu = Wurl("https://wordbrew.io")
>>>> wu / "about" / "index.html"
https://wordbrew.io/about/index.html

```

## TODO
- QS param helpers
- Validation helpers
ssite 0.4.1
Ssite is not a static site generator. It is a collection of scripts to maintain a static site.

# Ssite

Ssite is not a static site generator. It is a collection of scripts to
maintain a static site. All build steps are optional; the source code for a
static site that uses Ssite is hostable without any modifications.

[![PyPI](https://img.shields.io/pypi/v/ssite.svg)](https://pypi.org/project/ssite/)

## Installation

```
pip install --upgrade ssite
```

## Principles

* Enhance; don't generate.

Ssite works directly with the source and never creates separate build
directories. The source of your static site is always publishable without
ssite.

## Usage

`ssite index INDEXED_DIR` generates an index file for a collection of
timestamped HTML documents.

`ssite clean INPUT_PATH` removes `style`, `class`, and `id`, `<span>` and
other messy markup from an HTML document.

Help text is rendered using the argparse library.

`ssite --help` displays the list of commands.

`ssite COMMAND --help` displays parameters for COMMAND.

## Contributing

Contributions welcome. Fork and send a pull request to the [GitHub
repository](https://github.com/tswast/ssite).

* Linter: `flake8`
* Test harness: `pytest`

## License

Licensed under Apache License, Version 2.0. See
[LICENSE](https://github.com/tswast/ssite/blob/master/LICENSE).