semvec/pypi-packages huggingface dataset:
pyLynx 2.0.1b4
lynx: Next generation high performance testcase tool set for OI / ACM contests. - 新一代信息学竞赛数据生成工具集
License: MIT
Keywords: olympic informatics testcase testcase-tools tools

# Lynx

[中文帮助指南](./README_CN.md)

A testcase toolset repository powered by [Cyaron](https://github.com/luogu-dev/cyaron/)

## Features

- Initialize a lynx problem directory.
- Generate testcases for problems.
- Export the data to different formats that can be recognized by multiple OJs.
- Compare the output of two programs using a lynx problem description.
- Simply generate data in just five minutes.

## Installation

Lynx is available on PyPI, you can install it by running:

```bash
pip install pyLynx
```

## Usage

Lynx has three subcommands for now, they are `lynx init`, `lynx generate` and `lynx compare`. You can use `lynx [command] --help` to get help information.
pydantic-set-operations 1.1.0
An enhanced version of Pydantic's BaseModel, allowing for advanced model manipulations. (Inspired in TypeScript)
License: MIT
Requires Python: >=3.10

﻿[![CD](https://github.com/P1etrodev/pydantic-set-operations/actions/workflows/publish.yml/badge.svg)](https://github.com/P1etrodev/pydantic-set-operations/actions/workflows/publish.yml)

# Pydantic-Set-Operations

`Pydantic-Set-Operations` provides an enhanced version of Pydantic's `BaseModel`, allowing for advanced model manipulations, such as field unions, exclusions, and intersections. `ExtendedBaseModel` introduces bitwise operations (like `|`, `&`, and `-`) for combining, intersecting, and excluding fields between models.

This package is ideal for projects that require dynamic model restructuring or filtering based on specific fields.

### Key Model Features

1. **Field Union (`union` method)**: Combines fields from two models, prioritizing fields from the initiating model if overlaps exist.
2. **Field Exclusion (`omit` method)**: Creates a new model excluding specified fields or fields present in another model.
3. **Field Intersection (`pick` method)**: Creates a model containing only fields shared between two models.

### Key Instance Features

1. **Field Union (`|` operator)**: Returns an instance combining fields from both instances.
2. **Field Exclusion (`-` operator)**: Returns an instance excluding fields present in another instance.
3. **Field Intersection (`&` operator)**: Returns an instance containing only fields shared between two instances.

## Installation

Install using `pip install -U pydantic-set-operations`.

## Usage

For more info about how to use this package, please visit the [Wiki](https://github.com/P1etrodev/pydantic-set-operations/wiki).