semvec/pypi-packages huggingface dataset:
tag-expressions 2.0.1
Built-in functions, types, exceptions, and other objects.

tag-expressions
===============

Package to evaluate logical tag expressions by using a modified version of the `Shunting Yard algorithm <https://en.wikipedia.org/wiki/Shunting-yard_algorithm>`_.
This package is a Python port of cucumbers tag expression.

It's also used by `radish <https://github.com/radish-bdd/radish>`_.

|Build Status| |PyPI package version| |PyPI python versions|


Installing
----------

.. code:: bash

    $ pip install tag-expressions

Here is a tease
---------------


.. code:: python

    >>> from tagexpressions import parse
    >>>
    >>> expression = '( a and b ) or ( c and d )'
    >>> compiled_expression = parse(expression)
    >>> print(compiled_expression)
    ( ( a and b ) or ( c and d ) )
    >>>
    >>> data = ['a', 'b', 'c', 'd']
    >>> assert compiled_expression.evaluate(data) == True
    >>>
    >>> data = ['a', 'c']
    >>> assert compiled_expression.evaluate(data) == False
    >>>
    >>>
    >>> expression = 'not a or b and not c or not d or e and f'
    >>> compiled_expression = parse(expression)
    >>> print(compiled_expression)
    ( ( ( not ( a ) or ( b and not ( c ) ) ) or not ( d ) ) or ( e and f ) )
    >>>
    >>> data = ['b', 'e', 'f']
    >>> assert compiled_expression.evaluate(data) == True
    >>>
    >>> data = ['a', 'c', 'd']
    >>> assert compiled_expression.evaluate(data) == False


Usage
-----

Available operators
~~~~~~~~~~~~~~~~~~~

* **or** - "or" conjunction of two given variables
* **and** - "and" conjunction of two given variables
* **not** - negation of a single variable

Every other token given in an *infix* is considered a variable.

Operator precedence
~~~~~~~~~~~~~~~~~~~

From high to low:

* ()
* or
* and
* not

.. |Build Status| image:: https://github.com/timofurrer/tag-expressions/actions/workflows/build.yml/badge.svg
   :target: https://github.com/timofurrer/tag-expressions/actions/workflows/build.yml
.. |PyPI package version| image:: https://badge.fury.io/py/tag-expressions.svg
   :target: https://badge.fury.io/py/tag-expressions
.. |PyPI python versions| image:: https://img.shields.io/pypi/pyversions/tag-expressions.svg
   :target: https://pypi.python.org/pypi/tag-expressions
pydantic-config-parser 0.1.0
Add your description here
Requires Python: >=3.12

# pydantic-config-parser

This library provides special utility when using pydantic to parse config file.

## Features ✨

- [x] **Override ONLY specified fields** in config file.
- [x] Parse YAML string to JSON object utility.

### Override only specified fields in config file

#### Example 1

```python
from pydantic import BaseModel
from pydantic_config_parser import recursive_override_each_fields

class ConfigRoot(BaseModel):
    a: int = 0
    b: str = "default"

override_json_s = """
{
  "a": 1
}
"""

config = recursive_override_each_fields(ConfigRoot(), json_loads_as_dict(override_json_s))
config.model_dump_json()

# {
#   "a": 1,           # <- override
#   "b": "default"
# }
```

#### Example 2: Override sub model

```python
from pydantic import BaseModel
from pydantic_config_parser import recursive_override_each_fields

class ConfigSub(BaseModel):
    a: int = 0
    b: str = "default"

class ConfigRoot(BaseModel):
    a: int = 0
    b: str = "default"
    c: list[int] = [1, 2, 3]
    d: dict[str, int] = {"a": 1, "b": 2}
    e: ConfigSub = ConfigSub()

override_json_s = """
{
  "e": {
    "a": 2
  }
}
"""

config = recursive_override_each_fields(ConfigRoot(), json_loads_as_dict(override_json_s))
config.model_dump_json()

# {
#   "a": 0,
#   "b": "default",
#   "c": [1, 2, 3],
#   "d": {"a": 1, "b": 2},
#   "e": {
#     "a": 2,             # <- override
#     "b": "default"
#   }
# }
```

### Parse YAML utility

If you want to parse YAML string to JSON object, you can use `yaml_loads_as_dict`.

```sh
pip install pydantic-config-parser[yaml]
```

This will install `PyYAML` as a dependency.

```python
from pydantic_config_parser import yaml_loads_as_json

class ConfigRoot(BaseModel):
    a: int = 0
    b: str = "default"


yaml_s = """
b: test
"""

dict_s = yaml_loads_as_json(yaml_s) # YAML feature is supported

config = recursive_override_each_fields(ConfigRoot(), dict_s)
config.model_dump_json()

# {
#   "a": 0,
#   "b": "test"  # <- override
# }
```
pyreinfolib 0.1.0
Python client for Real Estate Information Library APIs
Requires Python: >=3.11
Keywords: api, client, real-estate

# pyreinfolib

国土交通省[不動産情報ライブラリ](https://www.reinfolib.mlit.go.jp/)APIサービスのPythonクライアントです。API仕様についての詳細は[API操作説明ページ](https://www.reinfolib.mlit.go.jp/help/apiManual/)をご参照ください。

## Installation

```

```

### Supported Python Versions

Python >= 3.11

## Usage

```python
from pyreinfolib import Client

client = Client(api_key="<your api key>")
```

## Example

### 不動産価格（取引価格・成約価格）情報

```python
client.get_real_estate_prices(year=2024, quarter=1, price_classification="01", city="13109")
```

### 鑑定評価書情報

```python
from pyreinfolib.enums import UseDivision

client.get_appraisal_reports(year=2024, area="13", division=UseDivision.INDUSTRIAL_LAND)
```

## Author

@matsudan (daaamatsun@gmail.com)
easy-plot-nass 1.0.3
A simple module for creating plots with Matplotlib.
Requires Python: >=3.6

# easy_plot

**easy_plot** est un module Python simple pour crÃ©er des graphiques avec Matplotlib.

## FonctionnalitÃ©s

- Tracer des lignes
- Graphiques en nuages de points
- Histogrammes, boÃ®tes Ã  moustaches, etc.

## Installation

```bash
pip install easy_plot
libraryInv01 0.0.1
A small example package
Requires Python: >=3.6

         ___        ______     ____ _                 _  ___  
        / \ \      / / ___|   / ___| | ___  _   _  __| |/ _ \ 
       / _ \ \ /\ / /\___ \  | |   | |/ _ \| | | |/ _` | (_) |
      / ___ \ V  V /  ___) | | |___| | (_) | |_| | (_| |\__, |
     /_/   \_\_/\_/  |____/   \____|_|\___/ \__,_|\__,_|  /_/ 
 ----------------------------------------------------------------- 


Hi there! Welcome to AWS Cloud9!

To get started, create some files, play with the terminal,
or visit https://docs.aws.amazon.com/console/cloud9/ for our documentation.

Happy coding!
libraryInv 0.0.1
A small example package
Requires Python: >=3.6

         ___        ______     ____ _                 _  ___  
        / \ \      / / ___|   / ___| | ___  _   _  __| |/ _ \ 
       / _ \ \ /\ / /\___ \  | |   | |/ _ \| | | |/ _` | (_) |
      / ___ \ V  V /  ___) | | |___| | (_) | |_| | (_| |\__, |
     /_/   \_\_/\_/  |____/   \____|_|\___/ \__,_|\__,_|  /_/ 
 ----------------------------------------------------------------- 


Hi there! Welcome to AWS Cloud9!

To get started, create some files, play with the terminal,
or visit https://docs.aws.amazon.com/console/cloud9/ for our documentation.

Happy coding!