yqxx


Nameyqxx JSON
Version 0.2.4 PyPI version JSON
download
home_pagehttps://github.com/billchenchina/yqxx
SummaryAuto submitter for xg.hit.edu.cn yqxx
upload_time2021-01-18 04:21:26
maintainer
docs_urlNone
authorBillchenchina
requires_python>=3.5, <4
license
keywords harbin institute of technology hit requests
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 学工平台每日上报

[![PyPI version](https://img.shields.io/pypi/v/yqxx)](https://pypi.org/project/yqxx/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/releases)
[![GitHub stars](https://img.shields.io/github/stars/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/network)
[![GitHub issues](https://img.shields.io/github/issues/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/issues/)

本项目为命令行填报哈尔滨工业大学[学工平台](https://xg.hit.edu.cn/)[每日上报](https://xg.hit.edu.cn/zhxy-xgzs/xg_yqglxs/xsmrsb)的工具。实现了[统一身份认证登录](http://ids.hit.edu.cn/authserver/login)、获取所有上报信息、按照配置文件自动上报功能。

## 如何使用

0. `pip install yqxx`
1. 按照下面模板填写账号密码等信息
2. 运行 `yqxx -c <配置文件名>`

<!-- 如需定时执行,请自行配置任务计划(Windows)或 Cron 任务(Linux) -->

## 配置文件模板

配置文件为 YAML 格式,对配置文件进行编辑后保存到本地:

```yaml
# 统一身份认证账号
username: '1234567890'
# 统一身份认证密码
password: 'PASSWORD'
# 体温
brzgtw: '36.5'
# 国(境)内详细地址
gnxxdz: '黑龙江省哈尔滨市南岗区工建街88号哈工大招待所'
# 当前状态
# 01 在校(校内宿舍住)
# 03 居家
# 04 探亲
# 05 访友
# 06 旅行
# 07 会议
# 99 其他
dqztm: '03'
# 当前所在区
# 为当前所在区的行政区划代码(即身份证号前六位)
dqszdqu: '230103'
```

## 开源许可证

[AGPL-3.0](./LICENSE)

简单来说,建议您做到以下几点:

- 任何基于或与本项目有间接接触的项目均使用AGPL-3.0协议
- 当你使用本项目或对其修改时,如果你所服务的对象向您索要源代码,请不要拒绝
- 请不要将本项目用于商业用途

## 免责声明

本项目仅为方便通过命令行进行每日上报的工具。按照 [LICENSE](./LICENSE),开发者不对本工具的使用负责。



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/billchenchina/yqxx",
    "name": "yqxx",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5, <4",
    "maintainer_email": "",
    "keywords": "Harbin Institute of Technology,HIT,requests",
    "author": "Billchenchina",
    "author_email": "billchenchina2001@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b5/9c/f857f59f2e1e1c7f5e4ce356beed820c5d486eef22e4ac7f952a0139728e/yqxx-0.2.4.tar.gz",
    "platform": "",
    "description": "# \u5b66\u5de5\u5e73\u53f0\u6bcf\u65e5\u4e0a\u62a5\n\n[![PyPI version](https://img.shields.io/pypi/v/yqxx)](https://pypi.org/project/yqxx/)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/releases)\n[![GitHub stars](https://img.shields.io/github/stars/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/network)\n[![GitHub issues](https://img.shields.io/github/issues/billchenchina/yqxx)](https://github.com/billchenchina/yqxx/issues/)\n\n\u672c\u9879\u76ee\u4e3a\u547d\u4ee4\u884c\u586b\u62a5\u54c8\u5c14\u6ee8\u5de5\u4e1a\u5927\u5b66[\u5b66\u5de5\u5e73\u53f0](https://xg.hit.edu.cn/)[\u6bcf\u65e5\u4e0a\u62a5](https://xg.hit.edu.cn/zhxy-xgzs/xg_yqglxs/xsmrsb)\u7684\u5de5\u5177\u3002\u5b9e\u73b0\u4e86[\u7edf\u4e00\u8eab\u4efd\u8ba4\u8bc1\u767b\u5f55](http://ids.hit.edu.cn/authserver/login)\u3001\u83b7\u53d6\u6240\u6709\u4e0a\u62a5\u4fe1\u606f\u3001\u6309\u7167\u914d\u7f6e\u6587\u4ef6\u81ea\u52a8\u4e0a\u62a5\u529f\u80fd\u3002\n\n## \u5982\u4f55\u4f7f\u7528\n\n0. `pip install yqxx`\n1. \u6309\u7167\u4e0b\u9762\u6a21\u677f\u586b\u5199\u8d26\u53f7\u5bc6\u7801\u7b49\u4fe1\u606f\n2. \u8fd0\u884c `yqxx -c <\u914d\u7f6e\u6587\u4ef6\u540d>`\n\n<!-- \u5982\u9700\u5b9a\u65f6\u6267\u884c\uff0c\u8bf7\u81ea\u884c\u914d\u7f6e\u4efb\u52a1\u8ba1\u5212\uff08Windows\uff09\u6216 Cron \u4efb\u52a1\uff08Linux\uff09 -->\n\n## \u914d\u7f6e\u6587\u4ef6\u6a21\u677f\n\n\u914d\u7f6e\u6587\u4ef6\u4e3a YAML \u683c\u5f0f\uff0c\u5bf9\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91\u540e\u4fdd\u5b58\u5230\u672c\u5730\uff1a\n\n```yaml\n# \u7edf\u4e00\u8eab\u4efd\u8ba4\u8bc1\u8d26\u53f7\nusername: '1234567890'\n# \u7edf\u4e00\u8eab\u4efd\u8ba4\u8bc1\u5bc6\u7801\npassword: 'PASSWORD'\n# \u4f53\u6e29\nbrzgtw: '36.5'\n# \u56fd\uff08\u5883\uff09\u5185\u8be6\u7ec6\u5730\u5740\ngnxxdz: '\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02\u5357\u5c97\u533a\u5de5\u5efa\u885788\u53f7\u54c8\u5de5\u5927\u62db\u5f85\u6240'\n# \u5f53\u524d\u72b6\u6001\n# 01 \u5728\u6821\uff08\u6821\u5185\u5bbf\u820d\u4f4f\uff09\n# 03 \u5c45\u5bb6\n# 04 \u63a2\u4eb2\n# 05 \u8bbf\u53cb\n# 06 \u65c5\u884c\n# 07 \u4f1a\u8bae\n# 99 \u5176\u4ed6\ndqztm: '03'\n# \u5f53\u524d\u6240\u5728\u533a\n# \u4e3a\u5f53\u524d\u6240\u5728\u533a\u7684\u884c\u653f\u533a\u5212\u4ee3\u7801\uff08\u5373\u8eab\u4efd\u8bc1\u53f7\u524d\u516d\u4f4d\uff09\ndqszdqu: '230103'\n```\n\n## \u5f00\u6e90\u8bb8\u53ef\u8bc1\n\n[AGPL-3.0](./LICENSE)\n\n\u7b80\u5355\u6765\u8bf4\uff0c\u5efa\u8bae\u60a8\u505a\u5230\u4ee5\u4e0b\u51e0\u70b9\uff1a\n\n- \u4efb\u4f55\u57fa\u4e8e\u6216\u4e0e\u672c\u9879\u76ee\u6709\u95f4\u63a5\u63a5\u89e6\u7684\u9879\u76ee\u5747\u4f7f\u7528AGPL-3.0\u534f\u8bae\n- \u5f53\u4f60\u4f7f\u7528\u672c\u9879\u76ee\u6216\u5bf9\u5176\u4fee\u6539\u65f6\uff0c\u5982\u679c\u4f60\u6240\u670d\u52a1\u7684\u5bf9\u8c61\u5411\u60a8\u7d22\u8981\u6e90\u4ee3\u7801\uff0c\u8bf7\u4e0d\u8981\u62d2\u7edd\n- \u8bf7\u4e0d\u8981\u5c06\u672c\u9879\u76ee\u7528\u4e8e\u5546\u4e1a\u7528\u9014\n\n## \u514d\u8d23\u58f0\u660e\n\n\u672c\u9879\u76ee\u4ec5\u4e3a\u65b9\u4fbf\u901a\u8fc7\u547d\u4ee4\u884c\u8fdb\u884c\u6bcf\u65e5\u4e0a\u62a5\u7684\u5de5\u5177\u3002\u6309\u7167 [LICENSE](./LICENSE)\uff0c\u5f00\u53d1\u8005\u4e0d\u5bf9\u672c\u5de5\u5177\u7684\u4f7f\u7528\u8d1f\u8d23\u3002\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Auto submitter for xg.hit.edu.cn yqxx",
    "version": "0.2.4",
    "split_keywords": [
        "harbin institute of technology",
        "hit",
        "requests"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "34f6315be6146fb25c12ba44346ae7f9",
                "sha256": "770be76a3113949617b198d2cdf11c8515985e21a5ef3068bcd8d6cb86695ad2"
            },
            "downloads": -1,
            "filename": "yqxx-0.2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "34f6315be6146fb25c12ba44346ae7f9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5, <4",
            "size": 18800,
            "upload_time": "2021-01-18T04:21:24",
            "upload_time_iso_8601": "2021-01-18T04:21:24.405147Z",
            "url": "https://files.pythonhosted.org/packages/66/43/4932c67927c677ac6313c921a8737d26c005d275763ac503309662d24009/yqxx-0.2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "e42f391e80d6159c5872a3afbcfe7a8b",
                "sha256": "9563a28d64cbbf76e03d7913076cbd98f3944e2bf1afbe47b912f964f38ca146"
            },
            "downloads": -1,
            "filename": "yqxx-0.2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "e42f391e80d6159c5872a3afbcfe7a8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5, <4",
            "size": 27480,
            "upload_time": "2021-01-18T04:21:26",
            "upload_time_iso_8601": "2021-01-18T04:21:26.953199Z",
            "url": "https://files.pythonhosted.org/packages/b5/9c/f857f59f2e1e1c7f5e4ce356beed820c5d486eef22e4ac7f952a0139728e/yqxx-0.2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-01-18 04:21:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "billchenchina",
    "error": "Could not fetch GitHub repository",
    "lcname": "yqxx"
}
        
Elapsed time: 0.20725s