semvec/pypi-packages huggingface dataset:
schema-check 0.1.0
Define and enforce schema against user-provided JSON-like data
License: MIT
Requires Python: >=3.10,<4.0
Keywords: data,validation

schema-check
============

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
&nbsp;
[![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-green.svg)](https://github.com/glentner/schema-check)
&nbsp;
[![Python 3.10 | 3.11 | 3.12](https://img.shields.io/badge/Python-3.10%20%20|%203.11%20|%203.12-blue.svg)](https://www.python.org/downloads)

A simple Python library for defining and validating schemas against user-provided
JSON-like data.
rext 0.1.24
A toolbox by Rex
License: MIT
Requires Python: >=3.6.0


# rex

## git commit

vx.x.x

## clean

python setup.py sdist

## release

python setup.py upload --verbose

## install

pip intall rext

## upgrade

pip install --upgrade rext

## upgrade 指定版本

pip install --upgrade rext==0.1.22

## 镜像会同步不及时，临时使用默认镜像更新

pip install -i https://pypi.org/simple --upgrade rext

## list

pip list

## import

from rext import mstring as ms

## use

print(ms.remove_space_all("666 666"))
depsolve 0.2.1
Agnostic dependencies solver
License: MIT
Requires Python: >=3.10,<4.0

# DepSolve
This is an asyncio agnostic dependency tree solver

The idea is to take out the problem of depencies solving from packages managers or importers

## Usage
```python
import asyncio
from depsolve import Dependency, walk


async def perform_importation(dependency: Dependency):
    # here your package/whatever is supposed to inherit from `Dependency`
    # if any other argument is need for the command line in the package
    # have a look to functools.partial()
    await asyncio.sleep(2)


async def main():
    dependencies = [
        Dependency(name='land'),
        Dependency(name='hen', depends_on=['land']),
        Dependency(name='eggs', depends_on=['hen']),
        Dependency(name='sugar_cane', depends_on=['land']),
        Dependency(name='plain flour', depends_on=['wheat']),
        Dependency(name='sugar', depends_on=['sugar_cane']),
        Dependency(name='genoise', depends_on=['eggs', 'sugar']),
        Dependency(name='strawberry', depends_on=['land']),
        Dependency(name='wheat', depends_on=['land']),
        Dependency(name='sirop', depends_on=['strawberry']),
        Dependency(name='cake', depends_on=['genoise', 'strawberry', 'sirop']),
        Dependency(name='cooking', depends_on=['cake'])
    ]
    for items in walk(dependencies):
        deps_names = [dep.name for dep in items]
        print(f'dependencies to install: {len(items)} : {", ".join(deps_names)}')
        tasks = asyncio.gather(*[perform_importation(dep) for dep in items])
        await tasks


if __name__ == "__main__":
    asyncio.run(main())
```

wich output:
```
dependencies to install: 1 : land
dependencies to install: 4 : hen, sugar_cane, strawberry, wheat
dependencies to install: 4 : eggs, plain flour, sugar, sirop
dependencies to install: 1 : genoise
dependencies to install: 1 : cake
dependencies to install: 1 : cooking
```