semvec/pypi-packages huggingface dataset:
classist 0.0.1
Pretty classist signature inheritance with decoration
License: MIT

# Classist

Pretty classist signature inheritance with decorators.

## Features

This is just a basic proof of concept. Currently, only very basic runtime
signature inheritance is implemented. It may be possible to generate stubs to
support static type checking.

## Usage

```python
import classist
import inspect

class A:
    def __init__(self, a: int):
        self.a = a

@classist.decorate
class B:
    def __init__(self, t: int, *args):
        self.b = b
        super().__init__(*args)

print(inspect.signature(B.__init__))
```

## Installation

```bash
pip install classist
```

MIT License

Copyright (c) 2024 Nicolas Ochsner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
vale-cli 0.2
A python wrapper for the Vale CLI tool.
License: MIT
Requires Python: >=3.8

# Vale CLI Python Wrapper

[Vale](https://vale.sh/) is an open-source, command-line tool for validating
content based on editorial style rules. This package acts as a basic wrapper to
pass text to Vale and return styles rules that you can use in your Python
projects.

## Installation

**NOTE: This package only acts as a wrapper for using Vale and does not install
Vale. Make sure you install and configure Vale before using this package.**

Add `vale-cli` package as a dependency in your `requirements.txt` file:

```shell
vale-cli
```

## Usage

Example usage:

```python
import vale_cli.vale_config as vale_config

release_note = "An error with the WhizBang API caused incorrect processing of data, which stopped you from using certain routes in the API. This fix corrects the logic around data processing. You can now process data without errors."
vale = vale_config.ValeConfig("/path/to/.vale.ini")
output = vale.check_text(release_note, ext='.adoc')
print(output)
```

Output:

```shell
[{'Action': {'Name': '', 'Params': None}, 'Span': [19, 26], 'Check': 'RedHat.PascalCamelCase', 'Description': '', 'Link': 'https://redhat-documentation.github.io/asciidoc-markup-conventions', 'Message': "Consider wrapping this Pascal or Camel case term ('WhizBang') in backticks.", 'Severity': 'suggestion', 'Match': 'WhizBang', 'Line': 1}, {'Action': {'Name': 'replace', 'Params': ['wrong']}, 'Span': [39, 47], 'Check': 'RedHat.SimpleWords', 'Description': '', 'Link': 'https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/simplewords/', 'Message': "Use simple language. Consider using 'wrong' rather than 'incorrect'.", 'Severity': 'suggestion', 'Match': 'incorrect', 'Line': 1}]
```