与astr服务器交互的python库。
libastr的Python项目详细描述
#lib python astr
[![PYPI版本](https://badge.fury.io/py/libastr.svg)(https://badge.fury.io/py/libastr)
[![许可证:mpl 2.0](https://img.shields.io/badge/license mpl%202.0-brightgreen.svg)](https://opensource.org/licenses/mpl-2.0)
此源代码表单受Mozilla Public
许可证第2.0版的条款约束。如果MPL的副本没有随此
文件一起分发,您可以在http://mozilla.org/mpl/2.0/
它包括多个功能,如浏览、下载和上载存档文件。
git克隆存储库。
2.使用pip安装库。建议使用
[virtualenv](http://virtualenvwrapper.readthedocs.io/en/latest/):
`````
pip install lib python astr
````
必须为类“astclient”的
实例指定三个参数:
*基本URL:astr实例基本URL(例如http://my astr server:8000)
*电子邮件:用户电子邮件
*令牌:此用户的令牌(将在网站上生成)
`` python
从libastr import astclient
client=astclient(基本URL,电子邮件,或者,为了避免手工给出这些参数,可以将它们存储在环境变量:
```
是的“astclient”没有给出任何参数,默认情况下,它将获取这些环境变量。
令牌)
browser=browser(client)
descriptors={“我的描述”:“我的价值”}
/>
[![PYPI版本](https://badge.fury.io/py/libastr.svg)(https://badge.fury.io/py/libastr)
[![许可证:mpl 2.0](https://img.shields.io/badge/license mpl%202.0-brightgreen.svg)](https://opensource.org/licenses/mpl-2.0)
此源代码表单受Mozilla Public
许可证第2.0版的条款约束。如果MPL的副本没有随此
文件一起分发,您可以在http://mozilla.org/mpl/2.0/
它包括多个功能,如浏览、下载和上载存档文件。
git克隆存储库。
2.使用pip安装库。建议使用
[virtualenv](http://virtualenvwrapper.readthedocs.io/en/latest/):
`````
pip install lib python astr
````
必须为类“astclient”的
实例指定三个参数:
*基本URL:astr实例基本URL(例如http://my astr server:8000)
*电子邮件:用户电子邮件
*令牌:此用户的令牌(将在网站上生成)
`` python
从libastr import astclient
client=astclient(基本URL,电子邮件,或者,为了避免手工给出这些参数,可以将它们存储在环境变量:
```
是的“astclient”没有给出任何参数,默认情况下,它将获取这些环境变量。
令牌)
browser=browser(client)
descriptors={“我的描述”:“我的价值”}
/>