与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的手册。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java Android Studio从XML中洗牌2D数组列   安卓 rx java obsever pojo模型的变化   java如何在安卓应用程序中以编程方式打开google教室   java如何将充满令牌的对象[]转换为整数数组?   java Minify Maven插件抛出“不支持JavaScript引擎”错误   java如何检查调用应用程序的用户是否具有绑定特权端口的权限?   java无法向firestore发送数据   jpanel Java向ScrollPane中嵌入的面板添加JLabel   将Bash脚本移植到Java   JavaSpring显示错误消息   java如何为这些路径表达式编写正则表达式   java如何通过编程在Android手机上获得时间?   Java:捕获未检查的异常与已检查的异常