semvec/pypi-packages huggingface dataset:
DIRestInvoker 0.2.2
调用 DIRestPlus 接口，实现Wind、iFinD、Choice接口调用
Requires Python: >=3.5

# DIRestInvoker 
[![Build Status](https://travis-ci.org/DataIntegrationAlliance/DIRestInvoker.svg?branch=master)](https://travis-ci.org/DataIntegrationAlliance/DIRestInvoker)
[![GitHub issues](https://img.shields.io/github/issues/DataIntegrationAlliance/DIRestInvoker.svg)](https://github.com/DataIntegrationAlliance/DIRestInvoker/issues)
[![GitHub forks](https://img.shields.io/github/forks/DataIntegrationAlliance/DIRestInvoker.svg)](https://github.com/DataIntegrationAlliance/DIRestInvoker/network)
[![GitHub stars](https://img.shields.io/github/stars/DataIntegrationAlliance/DIRestInvoker.svg)](https://github.com/DataIntegrationAlliance/DIRestInvoker/stargazers)
[![GitHub license](https://img.shields.io/github/license/DataIntegrationAlliance/DIRestInvoker.svg)](https://github.com/DataIntegrationAlliance/DIRestInvoker/blob/master/LICENSE)
[![HitCount](http://hits.dwyl.io/DataIntegrationAlliance/https://github.com/DataIntegrationAlliance/DIRestInvoker.svg)](http://hits.dwyl.io/DataIntegrationAlliance/https://github.com/DataIntegrationAlliance/DIRestInvoker)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/DataIntegrationAlliance/DIRestInvoker.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FDataIntegrationAlliance%2FDIRestInvoker)


Data Integration RESTPlus Invoker，调用 [DIRestPlus](https://github.com/DataIntegrationAlliance/DIRestPlus) 接口，实现Wind、iFinD、Choice接口调用

## 安装
```commandline
pip install DIRestInvoker
```

## iFinD接口调用举例
```python
from direstinvoker.ifind import IFinDInvoker, APIError
url_str = "http://localhost:5000/iFind/"
invoker = IFinDInvoker(url_str)
```

### THS_DateQuery
```python
try:
    data_df = invoker.THS_DateQuery('SSE', 'dateType:0,period:D,dateFormat:0', '2018-06-15', '2018-06-21')
    print(data_df)
except APIError as exp:
    if exp.status == 500:
        print('APIError.status:', exp.status, exp.ret_dic['message'])
    else:
        print(exp.ret_dic.setdefault('error_code', ''), exp.ret_dic['message'])
```

## 修改历史

* version 0.1.4

  > THS_BasicData 支持 list 作为 thsCode 参数，并且支持按一定数量自动分割发送（解决大批量数据请求的情况下，20W数字限制，可能引发-205错误的问题）

----
项目地址：[DIRestInvoker](https://github.com/DataIntegrationAlliance/DIRestInvoker)
dewildcard 0.2.1
Expand wildcard imports in Python code
Keywords: pylint

# Dewildcard

A not-very-sophisticated script to replace Python wildcard import statements.

## Background

In Python, wildcard import statements, such as:

    from foo import *
    from bar import *

can be very convenient, but are now usually considered bad practice.  If, later in your code, you encounter a symbol you don't recognise, how do you know whether it came from *foo* or *bar*?  And if you install an updated version of *bar*, it may define a new name that clashes with one in *foo* that you were using in your code.

It's much better, therefore, to say:

    from foo import item1, item2
    from bar import item3, item4, item5

even though it's more verbose.  

Tools like *pylint* of *pyflakes* can also let you know if you can safely delete, say, 'item5', because it isn't used in your code.  If you have a good text editor, it may have a plugin which can highlight this fact.

This little script reads some python code on stdin and, when it finds a wildcard import statement, does the import and replaces the line with a full multi-line import statement:

    from bar import (item3,
                     item4,
                     item5,
                     item6)

You can then easily go through and delete any items that pylint tells you aren't needed.

If you prefer a single (possibly long) import line, you can use the `--single-line` option.
One advantage is that some tools such as autoflake and autopep8 handle this format better.

The parentheses are there to allow it to span multiple lines, but it shouldn't be too difficult to change the code to make it a single line or to use backslashes for line continuation if you prefer that.

NOTE: This has many limitations, the main one being that dewildcard must actually *perform* the imports in order to extract the symbol names, so you must run this in an environment where the appropriate modules exist, are on the Python path, and can be imported without unfortunate side-effects.


## Installation

    pip install dewildcard

Note that dewildcard makes use of importlib, so Python 2.7 or later will be needed.

## Example usage

    dewildcard my_code.py

This outputs the modified file to stdout.  If you wish to modify it in place, add a `-w` option:

    dewildcard -w my_code.py

## Acknowledgements

Dewildcard is based on an initial idea from Alexandre Fayolle - thanks, Alexandre!

Other contributors include Jan Bieroń and Jakub Wilk - thanks!

## To Do

Lots of room for improvements here, including:

* Options to change the output format

## Licence

Such a simple script is barely worth a licence, but, for what it's worth, it's released under GNU General Public Licence v2.  Use at your own risk, etc.

(c) 2015 Quentin Stafford-Fraser
7i96 0.0.2
LinuxCNC 2.8 Mesa 7i96 Configuration Tool

# 7i96
7i96 Configuration Tool

Scope

Read in the ini configuration file for changes.

Create a complete configuration from scratch.

Depends on python3-pyqt5

sudo apt-get install python3-pqt5

Open the sample ini file then make changes as needed then build

You can create a configuration then run it with the Axis GUI and use
Machine > Calibration to tune each axis. Save the values to the ini file and
next time you run the 7i96 Configuration Tool it will read the values from the
ini file.