semvec/pypi-packages huggingface dataset:
anduindata 1.3.4
a mysql connector
License: MIT
Requires Python: >=3.2
Keywords: mysql

a lite mysql connector...
Name from the Lord of Ring

<=========how to use=========>

from anduin.server import Data

cond = [
    (col1,'=',val1),
    (col2,'=',val2),
    ....]

fields = [
    col1,
    col2
    ...]

params = {
    key1:val1,
    key2:val2,
    ...}

find one line of data:

    Data.find(__TableName__,conditions=cond,fields=fields)

    return a python dict like { col1:value1,col2:value2...}

find datas

    Data.select(__TableName__,conditions=cond,fields=fields)

    return a python list like [{ col1:value1,col2:value2...}]

update data:

    Data.update(__TableName__,conditions=cond,params=params)

    return None

insert data:

    Data.insert(__TableName__,params=params)

    return None

delete data:

    Data.delete(__TableName__,conditions=cond)

    return None

using Data.query() to execute sql directly like Data.query('select * from table')
pytest-filemarker 0.1.0rc1
A pytest plugin that runs marked tests when files change.
License: MIT
Requires Python: >=3.6

# pytest-filemarker

A [pytest](https://docs.pytest.org/en/stable/) plugin that runs marked tests when files change.

![Tests](https://github.com/stickperson/pytest-filemarker/workflows/Tests/badge.svg) [![Downloads](https://pepy.tech/badge/pytest-filemarker)](https://pepy.tech/project/pytest-filemarker)

## Usage
Files should have a `PYTEST_MARKS` variable containing a list of marked tests to run when the files change.

```
PYTEST_MARKS = ['markone', 'marktwo']

class MyClass:
    ...
```
When this file has changed, any tests with marks `markone` or `marktwo` will be run.

To invoke the plugin, run:

```
pytest --filemarker-active
```

By default, the plugin will use `git` to look at the changes between `HEAD` and `HEAD~1` to generate a list of files to inspect. To override this, use the `--filemarker-files` parameter:

```
pytest --filemarker-files=FILE1,FILE2
```

## Options
```
filemarker:
  --filemarker-active   Should the plugin be active? Automatically set to True
                        if other options are specified.
  --filemarker-files=FILE1,FILE2
                        Files to search. If not supplied will look at the latest
                        changes from git.
  --filemarker-variable=VARIABLE
                        Variable which contains a list of marks. Defaults to
                        PYTEST_MARKS
```

`filemarker-variable` can also be set wherever you configure pytest (e.g. `pytest.ini`).