与mastertables.athento.com公共api交互的python包
mastertables的Python项目详细描述
#大师赛
[![网站](https://img.shields.io/website-up-down-green-red/http/shields.io.svg?label=website&;style=for the badge)(https://mastertables.athento.com)
[![pypi](https://img.shields.io/pypi/v/mastertables.svg?style=for the badge)(https://pypi.org/project/mastertables)
[![PYPI-状态](https://img.shields.io/PYPI/status/mastertables.svg?style=for the badge)(https://pypi.org/project/mastertables)
[![pypi-python版本](https://img.shields.io/pypi/pyversions/mastertables.svg?style=for the badge)](https://pypi.org/project/mastertables)
一个与[mastertables]交互的python包(https://mastertables.athento.com)。
这个包提供了一种非常简单的方法,可以通过public*rest api*
(建议)
只需在cli中运行以下命令:
``shell
`pip install mastertables
````
`to add the package to your local`requirements.txt`运行:
``shell
`pip freeze>;requirements.txt
```
甚至可以从以下来源安装:
``shell
git clone http://github.com/athento/mastertablets/mastertablets
cd mastertablets
pip install。
````
` ` ` ` ` ` ` ` ` ` ` ` `更新
` ` ` pip instamastertablets安装主表--升级
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `从repo更新git+https://github.com/athento/mastertables——从源代码更新--升级
```
api reference
``python
“
mt=mastertables.mastertableclient(“oaiv9839af893h923onwan3ignawanounegiu”)
u'asdf:u'qwer'}
print(mt.get-u词汇表(1234ababcd-12ab-34cd-56ef-123456678ababcd-123456678ababcd-1234abcd-34cd-34cd-56ef-123456678abababababcd”))
获取词汇表反转(值:键,而不是键:值)的方法
;用法:
;用法:
{u'bar':u'foo',u'qwer:u'asdf'}
打印(mt.get_词汇_reverse(“1234abcd-12ab-34cd-56ef-12345678abcd”)
u'asdf']
print(mt.get戋values(“1234abcd-12ab-34cd-56ef-12345678abcd”)
])
输出:
u'bar'
print(mt.get_value(“1234abcd-12ab-34cd-56ef-12345678abcd”,“foo”,0))
````
打包和分发
[点击此链接](https://github.com/athento/mastertables/blob/master/packaging.md)阅读如何打包主表并将其上载到pypi的手册。
[![网站](https://img.shields.io/website-up-down-green-red/http/shields.io.svg?label=website&;style=for the badge)(https://mastertables.athento.com)
[![pypi](https://img.shields.io/pypi/v/mastertables.svg?style=for the badge)(https://pypi.org/project/mastertables)
[![PYPI-状态](https://img.shields.io/PYPI/status/mastertables.svg?style=for the badge)(https://pypi.org/project/mastertables)
[![pypi-python版本](https://img.shields.io/pypi/pyversions/mastertables.svg?style=for the badge)](https://pypi.org/project/mastertables)
一个与[mastertables]交互的python包(https://mastertables.athento.com)。
这个包提供了一种非常简单的方法,可以通过public*rest api*
(建议)
只需在cli中运行以下命令:
``shell
`pip install mastertables
````
`to add the package to your local`requirements.txt`运行:
``shell
`pip freeze>;requirements.txt
```
甚至可以从以下来源安装:
``shell
git clone http://github.com/athento/mastertablets/mastertablets
cd mastertablets
pip install。
````
` ` ` ` ` ` ` ` ` ` ` ` `更新
` ` ` pip instamastertablets安装主表--升级
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `从repo更新git+https://github.com/athento/mastertables——从源代码更新--升级
```
api reference
``python
“
mt=mastertables.mastertableclient(“oaiv9839af893h923onwan3ignawanounegiu”)
u'asdf:u'qwer'}
print(mt.get-u词汇表(1234ababcd-12ab-34cd-56ef-123456678ababcd-123456678ababcd-1234abcd-34cd-34cd-56ef-123456678abababababcd”))
获取词汇表反转(值:键,而不是键:值)的方法
;用法:
;用法:
{u'bar':u'foo',u'qwer:u'asdf'}
打印(mt.get_词汇_reverse(“1234abcd-12ab-34cd-56ef-12345678abcd”)
u'asdf']
print(mt.get戋values(“1234abcd-12ab-34cd-56ef-12345678abcd”)
])
输出:
u'bar'
print(mt.get_value(“1234abcd-12ab-34cd-56ef-12345678abcd”,“foo”,0))
````
打包和分发
[点击此链接](https://github.com/athento/mastertables/blob/master/packaging.md)阅读如何打包主表并将其上载到pypi的手册。