semvec/pypi-packages huggingface dataset:
mwsdk 0.3.3
maxwin 框架的sdk

mwsdk
=======

maxwin 团队常用的服务，包括 kong，rightmanage等,直接从 consul 中读取服务信息

Kong 的使用
-----------

.. code-block:: python

    from mwsdk import Kong
    # 创建kong 服务
    k = Kong()
    # 向kong注册服务,需jwt认证
    k.reg_service('monitor-srv/api/v1.0','192.168.101.88:8999',auth='jwt',kong_uris='monitor-srv/api')
    # 向kong注册upstream和target，增加负载平衡
    k.add_upstream_target('monitor-srv','192.168.101.88:8999',50)
    k.add_upstream_target('monitor-srv','192.168.101.99:8888',50)
    # 把upstream注册到kong，不需要认证
    k.reg_service('monitor-srv/api/doc','monitor-srv',auth='',kong_uris='monitor-srv/doc')

Rightmanage的使用
----------------

.. code-block:: python

    from mwsdk import Rightmanage_inner
    # Rightmanage为内网的权限服务，不需要认证
    rm = Rightmanage_inner()
    # 获取权限资料
    status_code, rm_json = rm.permissions('maxwin_web','admin.id')

AIORightmanage_inner 的使用
--------------------------

- 支持async，方法同 Rightmanage

安装方法
--------

.. code-block:: bash

    pip install mwsdk

构建包命令
---------

.. code-block:: bash

    python -m build
    pip install -e .  # 本地安装包
    python -m twine upload dist/*


Changes

0.3.2 (2025-01-10)
- 增加unhealthyd的配置

0.3.1 (2025-01-10)
- 支持kong 3.9.x的注册

0.2.13 (2020-05-20)
- 删除consul_agent_conf变量

0.2.11 (2019-06-26)
- fix 访问 refresh-permissions错误

0.2.11 (2019-06-26)
- fix 访问 refresh-permissions错误

0.2.10 (2019-06-25)
- 增加 refresh-permissions的功能


0.2.9 (2018-12-17)

- 取 Rightmanage_inner的配置时，near=True

0.2.8 (2018-12-17)

- 增加创建公司管理者用户的api

0.2.7 (2018-11-13)


- 增加 api auth-key 认证

0.2.4 (2018-10-25)


- fix gbk error

0.2.3 (2018-10-25)


- 增加 kong.add_upstream_target，支持kong的upstream


0.2.0 (2018-09-29)

- 增加 AIORightmanage_inner和Rightmanage_inner 类
pyprocessors-afp_sports 0.5.85
Sherpa Consolidation processor
Requires Python: >=3.8

# pyprocessors_afp_sports

[![license](https://img.shields.io/github/license/oterrier/pyprocessors_afp_sports)](https://github.com/oterrier/pyprocessors_afp_sports/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyprocessors_afp_sports/workflows/tests/badge.svg)](https://github.com/oterrier/pyprocessors_afp_sports/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyprocessors_afp_sports)](https://codecov.io/gh/oterrier/pyprocessors_afp_sports)
[![docs](https://img.shields.io/readthedocs/pyprocessors_afp_sports)](https://pyprocessors_afp_sports.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyprocessors_afp_sports)](https://pypi.org/project/pyprocessors_afp_sports/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyprocessors_afp_sports)](https://pypi.org/project/pyprocessors_afp_sports/)

AFPSports annotations coming from different annotators

## Installation

You can simply `pip install pyprocessors_afp_sports`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyprocessors_afp_sports
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyannotators-spacyner 0.5.245
Annotator based on Spacy NER
Requires Python: >=3.8

# pyannotators_spacyner

[![license](https://img.shields.io/github/license/oterrier/pyannotators_spacyner)](https://github.com/oterrier/pyannotators_spacyner/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyannotators_spacyner/workflows/tests/badge.svg)](https://github.com/oterrier/pyannotators_spacyner/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyannotators_spacyner)](https://codecov.io/gh/oterrier/pyannotators_spacyner)
[![docs](https://img.shields.io/readthedocs/pyannotators_spacyner)](https://pyannotators_spacyner.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyannotators_spacyner)](https://pypi.org/project/pyannotators_spacyner/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyannotators_spacyner)](https://pypi.org/project/pyannotators_spacyner/)

Annotator based on Facebook's SpacyNER

## Installation

You can simply `pip install pyannotators_spacyner`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyannotators_spacyner
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyconverters-inscriptis 0.5.198
Sherpa HTML inscriptis converter
Requires Python: >=3.8

## Requirements

- Python 3.8+
- Flit to put Python packages and modules on PyPI
- Pydantic for the data parts.

## Installation
```
pip install flit
pip install pyconverters-plugins
```

## Publish the Python Package to PyPI
- Increment the version of your package in the `__init__.py` file:
```
"""An amazing package!"""

__version__ = 'x.y.z'
```
- Publish
```
flit publish
```
pyconverters-isako 0.5.19
Convert PDF to structured text using Isako
Requires Python: >=3.8

# pyconverters_isako

[![license](https://img.shields.io/github/license/oterrier/pyconverters_isako)](https://github.com/oterrier/pyconverters_isako/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyconverters_isako/workflows/tests/badge.svg)](https://github.com/oterrier/pyconverters_isako/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyconverters_isako)](https://codecov.io/gh/oterrier/pyconverters_isako)
[![docs](https://img.shields.io/readthedocs/pyconverters_isako)](https://pyconverters_isako.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyconverters_isako)](https://pypi.org/project/pyconverters_isako/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyconverters_isako)](https://pypi.org/project/pyconverters_isako/)

Convert PDF to structured text using [Isako](https://github.com/kermitt2/isako)

## Installation

You can simply `pip install pyconverters_isako`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyconverters_isako
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyconverters-grobid 0.5.216
Convert PDF to structured text using Grobid
Requires Python: >=3.8

# pyconverters_grobid

[![license](https://img.shields.io/github/license/oterrier/pyconverters_grobid)](https://github.com/oterrier/pyconverters_grobid/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyconverters_grobid/workflows/tests/badge.svg)](https://github.com/oterrier/pyconverters_grobid/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyconverters_grobid)](https://codecov.io/gh/oterrier/pyconverters_grobid)
[![docs](https://img.shields.io/readthedocs/pyconverters_grobid)](https://pyconverters_grobid.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyconverters_grobid)](https://pypi.org/project/pyconverters_grobid/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyconverters_grobid)](https://pypi.org/project/pyconverters_grobid/)

Convert PDF to structured text using [Grobid](https://github.com/kermitt2/grobid)

## Installation

You can simply `pip install pyconverters_grobid`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyconverters_grobid
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyannotators-duckling 0.5.247
Annotator based on Facebook Duckling
Requires Python: >=3.8

# pyannotators_duckling

[![license](https://img.shields.io/github/license/oterrier/pyannotators_duckling)](https://github.com/oterrier/pyannotators_duckling/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyannotators_duckling/workflows/tests/badge.svg)](https://github.com/oterrier/pyannotators_duckling/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyannotators_duckling)](https://codecov.io/gh/oterrier/pyannotators_duckling)
[![docs](https://img.shields.io/readthedocs/pyannotators_duckling)](https://pyannotators_duckling.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyannotators_duckling)](https://pypi.org/project/pyannotators_duckling/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyannotators_duckling)](https://pypi.org/project/pyannotators_duckling/)

Annotator based on Facebook's Duckling

## Installation

You can simply `pip install pyannotators_duckling`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyannotators_duckling
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyconverters-pubmedfetcher 0.5.156
Pubmed converter.
Requires Python: >=3.8

# pyconverters_pubmedfetcher

[![license](https://img.shields.io/github/license/oterrier/pyconverters_pubmedfetcher)](https://github.com/oterrier/pyconverters_pubmedfetcher/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyconverters_pubmedfetcher/workflows/tests/badge.svg)](https://github.com/oterrier/pyconverters_pubmedfetcher/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyconverters_pubmedfetcher)](https://codecov.io/gh/oterrier/pyconverters_pubmedfetcher)
[![docs](https://img.shields.io/readthedocs/pyconverters_pubmedfetcher)](https://pyconverters_pubmedfetcher.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyconverters_pubmedfetcher)](https://pypi.org/project/pyconverters_pubmedfetcher/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyconverters_pubmedfetcher)](https://pypi.org/project/pyconverters_pubmedfetcher/)

Fetch articles from Pubmed

## Installation

You can simply `pip install pyconverters_pubmedfetcher`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyconverters_pubmedfetcher
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyprocessors-consolidate 0.5.194
Sherpa Consolidation processor
Requires Python: >=3.8

# pyprocessors_consolidate

[![license](https://img.shields.io/github/license/oterrier/pyprocessors_consolidate)](https://github.com/oterrier/pyprocessors_consolidate/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyprocessors_consolidate/workflows/tests/badge.svg)](https://github.com/oterrier/pyprocessors_consolidate/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyprocessors_consolidate)](https://codecov.io/gh/oterrier/pyprocessors_consolidate)
[![docs](https://img.shields.io/readthedocs/pyprocessors_consolidate)](https://pyprocessors_consolidate.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyprocessors_consolidate)](https://pypi.org/project/pyprocessors_consolidate/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyprocessors_consolidate)](https://pypi.org/project/pyprocessors_consolidate/)

Consolidate annotations coming from different annotators

## Installation

You can simply `pip install pyprocessors_consolidate`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyprocessors_consolidate
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.
pyannotators-spacymatcher 0.5.83
SpacyMatcher annotator using the spacy rule-matching engine
Requires Python: >=3.8

# pyannotators_spacymatcher

[![license](https://img.shields.io/github/license/oterrier/pyannotators_spacymatcher)](https://github.com/oterrier/pyannotators_spacymatcher/blob/master/LICENSE)
[![tests](https://github.com/oterrier/pyannotators_spacymatcher/workflows/tests/badge.svg)](https://github.com/oterrier/pyannotators_spacymatcher/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/oterrier/pyannotators_spacymatcher)](https://codecov.io/gh/oterrier/pyannotators_spacymatcher)
[![docs](https://img.shields.io/readthedocs/pyannotators_spacymatcher)](https://pyannotators_spacymatcher.readthedocs.io)
[![version](https://img.shields.io/pypi/v/pyannotators_spacymatcher)](https://pypi.org/project/pyannotators_spacymatcher/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyannotators_spacymatcher)](https://pypi.org/project/pyannotators_spacymatcher/)

Annotator based on Facebook's SpacyMatcher

## Installation

You can simply `pip install pyannotators_spacymatcher`.

## Developing

### Pre-requesites

You will need to install `flit` (for building the package) and `tox` (for orchestrating testing and documentation building):

```
python3 -m pip install flit tox
```

Clone the repository:

```
git clone https://github.com/oterrier/pyannotators_spacymatcher
```

### Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

```
tox
```

### Building the documentation

You can build the HTML documentation with:

```
tox -e docs
```

The built documentation is available at `docs/_build/index.html.