semvec/pypi-packages huggingface dataset:
poetry-workspace-plugin 0.5.3
Multi project workspace plugin for Poetry
Requires Python: >=3.6.2,<4.0.0

# Poetry Workspace Plugin

This experimental tool is a [Poetry Plugin](https://python-poetry.org/docs/master/plugins) to support workflows in a multi-project repository.

## Installation

Make sure you are using at least Poetry 1.2.0a2. To install this preview release, run:

```shell
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - --preview
```

Install this plugin:

```shell
poetry plugin add poetry-workspace-plugin
```

## Workspace

A workspace is a collection of Poetry projects that share a single environment.
openligadb 0.0.3
A small package to interact with the OpenLigaDB API

# OpenLigaDB

This is a small package to interact with the OpenLigaDB API.

## Installation

Run the following to install:

```python
pip install openligadb
```

### Usage

```python
from openligadb import OpenLigaDB

# Generate Next Matchday for specific team
OpenLigaDB.getnextmatchbyleagueteam(4500, 7)

# Generate Bundesliga Table for specific year
OpenLigaDB.getbltable("bl1", 2021)

# Generate Next Matchday for specific league
OpenLigaDB.getnextmatchbyleagueteam("bl1")
```
For specific parameters visit https://openligadb.de/

# Developing OpenLigaDB

To install OpenLigaDB, along with the tools needed to develop and run tests, run the following in your virtualenv:

```bash
$ pip install -e .[dev]
```
astvalidate 2021.12.31
Advanced AST validation
Requires Python: >=3.8

# astvalidate

A series of AST validators for validating the integrity of the given abstract syntax tree.

## API

`validate(tree: ast.Module, level: Optional[Literal[1, 2, 3]] = None) -> bool`

`tree` is the AST object that you want to verify. `level` is an argument to pass the
level of strictness, and turn on/off some of the validators. For a detailed list of validators,
see the table below:

| Validator  | Level | Description                                                       |
| ---------- | ----- | ----------------------------------------------------------------- |
| Syntatical | 1     | Emulates syntax warnings that are normally generated by compiler. |
| Simple     | 1     | Does simple verifications, similar to `PyAST_Validate` interface  |
| Symbolic   | 2     | Emulates syntax error that are normally generated by symbol table |
| Contextual | 3     | Ensures everything is in the right context.                       |

If there are any errors, `validate()` will raise a `SyntaxError` or issue `SyntaxWarnings`
on the location of the target node.

```py
import ast
import astvalidate

tree = ast.parse("""
def func():
    raise ValueError from something
""")
tree.body[0].body[0].exc = None
assert astvalidate.validate(tree)
```

```
File "<string>", line 3
SyntaxError: Raise's cause can't be used without setting an exception
```