用于上载数据的scidash客户端库

scidash-api的Python项目详细描述


scidash python api,用于从任何python环境向scidash上载数据

如何使用

fromscidash_apiimportclient# instantiate your client with defaultsclient_instance=client.ScidashClient()# or with optional build_info and hostname attributesclient_instance=client.ScidashClient(build_info="SUPER BUILD",hostname="EXTRAORDINARY HOST")# or with custom config to point to a specific scidash deployment such as 'http://localhost:8000' and hostnameclient_instance=client.ScidashClient({'base_url':'http://localhost:8000'},hostname="EXTRAORDINARY HOST")# login into Scidash Serverclient_instance.login({'username':'my_username','password':'my_secret_password'})# and then call upload method for score object from sciunitclient_instance.upload_test_score(score)# or call upload_suite method passing suite and score_matrix sciunit objectsclient_instance.upload_suite_score(suite,score_matrix)

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

推荐PyPI第三方库


热门话题
java对象中构造函数发生变化时的设计模式最佳实践   java spring将参数传递到注入对象   警告登录前使用java   java为什么我在这里得到NullPointerException?   netbeans如何使用文件流在Java中创建登录表单?   java我想把TictaToe类的点返回到我的主类,但它总是给我这个错误?   java如何在春季更新数据源bean?   OSGi框架中java扩展包的含义   运行时。exec如何在从Java的getRuntime()生成程序时为ps设置argv[0]名称。exec()?   java将对象的2d数组存储为字符串   java更改按钮在延时后返回其原始状态   即使包含包,java Maven也找不到类   安卓 java。lang.ExceptionInInitializerError与谷歌地图方向路由   易于实现的java Web SSO解决方案?