Saravanan666/pypi-org huggingface dataset:
Package: zeversolarlocal
zeversolarlocalAccess solar energy data from your local Zeversolar inverter.PrincipleThis library accesses thehome.cgiendpoint which returns a bytes object, which is parsed returning current power generation and the daily generated energy.
The inverter is powered by the solar energy generated by the connected solar panels.
This means that some generated errors can mean different things depending on circumstances.If the inverter cannot be reached aZeverTimeoutis raised. Which could mean:The ip-address of the inverter is wrong.The inverter is switched off (no solar power). But can be considered expected behavior.If returning data cannot be parsed properly aZeverErroris raised. Which could mean:The returned data is wrong and is indeed an error.Sometimes some other data is returned (which meaning is currently unknown), which cannot be parsed, but everything else is fine.installationpip install zeversolarlocalusageimportasyncioimportzeversolarlocalloop=asyncio.get_event_loop()defget():address="192.168.1.12"# ip address of your zeversolar inverter.url=zeversolarlocal.default_url(address)solar_data=loop.run_until_complete(zeversolarlocal.solardata(url))print(solar_data)CLIfrom the commandline use:python -m zeversolarlocal 192.168.1.12Changelog1.0.0First release
Package: zevvle-python-sdk
zevvle_python_sdkThe unofficial Python library and SDK for theZevvleAPI.You can grab a SIM card from them and get hacking with the docs availablehere.To get an API key, sign inhereInstallationNowpublished on PyPI!Run:pip3 install zevvle_python_sdkUsageAs an importfromzevvle_python_sdk.zevvleimportzevvlezev=zevvle.zevvle({$SUPER_SECRET_ZEVVLE_API_KEY})print(zev.list_sim_cards())Nb. this is for a file in the directory above the main SDK folder. You will need to adjust this depending on how and where you have placed the library.As a CLI toolCreate a.envfile in the repository directory (or set your environment variables another way) with the contents:ZEVVLE_KEY="{$SUPER_SECRET_ZEVVLE_API_KEY}"Runpython3 main.pyto get usage instructionsContributionsContributions are always welcome :)Specific things on my todo list:Do argparser for the complicatedcall_recordscallWrite unit tests with mocked endpoints
Package: zExceptions
OverviewzExceptions contains common exceptions and helper functions related to
exceptions as used in Zope.Changelog5.0 (2023-06-28)Drop support for Python 2.7, 3.5, 3.6.4.3 (2022-12-18)Sort imports with isort.Add support for Python 3.11.4.2 (2021-10-22)Add support for Python 3.8, 3.9 and 3.10.Drop support for Python 3.4.Add an exception for the HTTP status code 418.Don’t override thecontent-typeheader if already set.
(#12)4.1 (2018-10-05)Add support for Python 3.7.4.0 (2018-01-27)Drop support for string exceptions.3.6.1 (2017-05-17)Increase Python 3 compatibility3.6 (2017-02-05)Add realm as an argument to unauthorized exceptions, its presence
causing aWWW-Authenticateheader to be emitted.Setlocationheader during__init__of redirect exceptions.3.5 (2017-02-05)Drop support for Python 3.3, add support for Python 3.6.Usestr(self)as detail if it is not set.Add asetHeadermethod to add a response header to an HTTPException.upgradeExceptionnow also supports finding an HTTPException class
with the same name as a non-HTTPException class.3.4 (2016-09-08)UseHTTPException.body_templatewhen title and detail are set.Add new title and detail attributes to HTTPException.3.3 (2016-08-06)Add exception classes for all HTTP status codes.3.2 (2016-07-22)Implement basic subset of Response features in HTTPException class.3.1 (2016-07-22)Mark exceptions with appropriate zope.publisher interfaces.Add a new common base classzExceptions.HTTPExceptionto all exceptions.3.0 (2016-04-03)Add compatibility with PyPy and Python 3.Arguments to the Unauthorized exception are assumed to be utf8-encoded
if they are bytes.2.13.0 (2010-06-05)Released as separate package.
Package: zexture
Zexture (A Hand Gesture Detection Module)Table of ContentsDescriptionHow To UseWorking of projectReferencesAuthor InfoDescriptionJesture is openCV based hand gesture detection module.It uses the mediapipe library to detect hands by returning a set of 21 landmarks for each camera frame which contains a hand.These 21 landmarks are extensively used by our team in order to build a module that can efficiently used by anyone to build IOT based applications which might need hand gestures to process instructionsTechnologies UsedPythonJSONPython Libraries UsedOpenCVMediapipesklearnmodel_selectionmetricsensembleBasic (Numpy, pandas, pickle)How To UseWhat to download?You would require to clone this repository branch to your local deviceAlso you will need to run these commands in order to use the required librariespip install mediapipepip install opencv-pythonpip install sklearnpip install pickleWhat to do?Pictures are given in accordance to VSCode setup. You could follow in the same procedure for any other python runnable IDEWhen you open the cloned repo, the folder structure would look something like thisYou have been provided with a demo.py to see how you would be able to use the module methodsRun the file as it is to test the built-in gesturesThese are all the built-in available gesturesIf it doesn't work, go toTroubleshootingsection.All types of posible tweaks can be seen by hovering overstatMode()method or by going to thezexture/statMode.pyLets make some training dataComment thegesture.staticTest()statement and uncomment thegesture.addTrain("Your_Label")Replace the label string and run the file. It would run for 500 frames where your hand is visible.Make sure you move your hand gesture in a fasion so that it covers all perspectives of that hand gestureNow, reverse the last step by commenting thegesture.addTrain("Your_Label")statement and uncommenting thegesture.staticTest()Run thedemo.pyfile and you would be able to see the gesture recognised.All the available gestures can seen in thegestures.jsoninmodules/assetsLet's move on to how can you use it for your own projectsA method calledtestImage()exists which takes in openCV image ofnumpy.ndarraytype as parameter and returns a string label by using the model fileRFCModel.savFirst use, delete the gestures you don't need frommodules/assets/staticTrainingData, then useaddTrain()method to input all gestures you want and check/test it usingstaticTest()Working of Project... Under Construction ðŸ”¨âš’ðŸ› ðŸš§ðŸš§âš’ðŸ”¨TroubleshootingIf the camera is not opening, you can try with differentcamvalues of theStaticGesture()Also you can use thecameraTest()method which is a simple check of camera compatibilityReferencesThis project is inspired from the code ofMurtaza's Workshop. HisYoutube Channelis extremely educational.Big Thanks to his high quality code. Please take your time to check his videos if you want.Author InfoWe are a group a three final year students pursuing B-Tech Degree.Mayank RajNidhi SinghSoumyadeep Auddy
Package: zeyrek
Zeyrek is a partial port of Zemberek library to Python for lemmatizing
and analyzing Turkish language words. It is in alpha stage, and the API
will probably change.Free software: MIT licenseDocumentation:https://zeyrek.readthedocs.io.Basic UsageTo use Zeyrek, first create an instance of MorphAnalyzer class:>>> import zeyrek
>>> analyzer = zeyrek.MorphAnalyzer()Then, you can call itsanalyzemethod on words or texts to get all possible analyses:>>> print(analyzer.analyze('benim'))
Parse(word='benim', lemma='ben', pos='Noun', morphemes=['Noun', 'A3sg', 'P1sg'], formatted='[ben:Noun] ben:Noun+A3sg+im:P1sg')
Parse(word='benim', lemma='ben', pos='Pron', morphemes=['Pron', 'A1sg', 'Gen'], formatted='[ben:Pron,Pers] ben:Pron+A1sg+im:Gen')
Parse(word='benim', lemma='ben', pos='Verb', morphemes=['Noun', 'A3sg', 'Zero', 'Verb', 'Pres', 'A1sg'], formatted='[ben:Noun] ben:Noun+A3sg|Zero→Verb+Pres+im:A1sg')
Parse(word='benim', lemma='ben', pos='Verb', morphemes=['Pron', 'A1sg', 'Zero', 'Verb', 'Pres', 'A1sg'], formatted='[ben:Pron,Pers] ben:Pron+A1sg|Zero→Verb+Pres+im:A1sg')If you only need the base form of words, or lemmas, you can calllemmatize. It returns a list
of tuples, with word itself and a list of possible lemmas:>>> print(analyzer.lemmatize('benim'))
[('benim', ['ben'])]CreditsThis package is a Python port of part of theZemberekpackage byAhmet A. AkınThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: zeys
Python Zeyszeysis library for detecting typed keys in Python.Zeys featuresDetect individual alphanumeric keys typedDetect special keys typed (enter, backspace, arrow keys, etc)Customizable output when special keys are typed.Pure pythonWindows NT and Posix support (Linux and MacOS)No dependenciesNo root or admin requiredInstallationpip install zeysGetting StartedThe most simple example of the library would look like this:from zeys.api.detector import Detector
import sys

if __name__ == "__main__":
    print("Type some keys!")
    detector = Detector()
    detections_generator = detector.run()
    print()
    for key_typed in detections_generator:
      print(f'You typed: {key_typed}')UsageThe Detector class can be used to detect user's input keys. When the run() function is called a generator is returned. Stdin will be polled and any keys the user enters will be accessible through the generator. The keys returned will be Python strings. For alphanumeric characters the string representation of a character is returned. For example, if a user types 'a', then 'a' will be output by the generator. For special keys such as the enter key or arrow keys, a text string such as "enter" or  "arrow-right" will be output. The user can change which text strings are outputted for special keys by providing custom configurations. See the Special Keys section below for more details.Special KeysYou can configure which text is output when typing an enter key, arrow key, or other special key. This is done by using theSpecialKeysBuilderclass. Theadd_mappingfunction can be used to map a string text output to a sequence of stdin inputs when a key is pressed. Note the example below:from zeys.api.special_keys_builder import SpecialKeysBuilder
from zeys.api.posix_detector import PosixDetector

special_keys_builder = SpecialKeysBuilder()
special_keys_builder.add_mapping("arrow-up", [ 27, 91, 65 ])
special_keys = special_keys_builder.build()

detector = PosixDetector(special_keys)In the example above a keyboard is setup on a Linux OS. When the user types the up arrow key, the keyboard provides 3 inputs to stdin: 27, 91, and 65. Note that the three numbers are keyboard specific and can vary across systems. In this example theadd_mappingcall is used to translate this sequence to output the textarrow-upwhenever the up arrow key is typed.To determine the numerical sequences outputted by a key press you can create a detector with theprint_groupoption set to true like so:detector = Detector(print_group=True). On any key press, the sequence of numbers outputted on each key typed will be printed to the terminal. These outputs can be used to configure custom special key values.Some special keys will not trigger any output. These includeshift,caps lock, and possibly others.
Package: zfapi
ZF-API 正方教务系统API正方教务系统信息api，方便开发者二次开发。本着不想重复造轮子的心态，搜索了市面上开源的教务系统爬虫，发现对于本校的教务系统不适用，故参考了部分的正方教务系统的爬虫，尽可能的解决各方面的bug，因此创建此项目。如果有朋友也需要欢迎提issues，尽量解决。PS:因为之前写过老版本正方教务系统的爬虫，没想刚写完学校升级教务系统了。后期会把旧版的也改写成api，方便部分没升级的同学使用。也推荐各位大佬推荐其他常用的教务系统，希望打造成一个全面的教务系统api or sdk。后面会添加选课与抢课功能，与微信公众号小程序配合等等，还有最最最重要的一键评价。原理：爬虫方面登陆后使用cookies带入，然后抓包分析参数即可，至于登陆方面的加密，百度搜索有比较详细的讲解。已实现功能：支持新版正方教务、旧版正方教务还未支持自动登陆、cookies获取获取个人信息获取学校通知调课、改课消息获取个人成绩获取课程表获取考试信息可返回原始正方数据json格式如何使用：使用pip命令安装pip install zfapi或者手动安装tar-zxvf包名.tar.gzcd包名
pythonsetup.pybuild
pythonsetup.pyinstall小试牛刀运行如下代码：fromzfapiimport*base_url='http://xxxx/'l=Login(base_url=base_url)l.login('账号','密码')cookies=l.cookiessrpihot=GetInfo(base_url=base_url,cookies=cookies)print(srpihot.get_information())详细API介绍详细查看这些例子感谢以下项目：NeroAsmarr/新版正方教务教务系统APIdairoot/正方系统 Python SDK
Package: zf-chimera
ChimeraChimera simulates the spread of ideas within a population.Installationpipinstallzf-chimeraUsage$chimera--help
usage:chimera[-h][--populationPOPULATION][--startSTART][--infectedINFECTED][--radiusRADIUS][--spreadSPREAD][--stepsSTEPS]Simulatethediffusionofinnovations

options:-h,--helpshowthishelpmessageandexit--populationPOPULATIONThepopulationsizeofthesociety--modelMODELThemodeltouse(e.g.v1,v2)--startSTARTThestyleofthesimulation(e.g.middle,random)--infectedINFECTEDThenumberofinitiallyinfected(e.g.1,10)--radiusRADIUSThegeographicradiusofeachagent(e.g.5,10)--spreadSPREADThenumberofagentseachagentwillinfect(e.g.2,7)--stepsSTEPSThenumberofstepstosimulate(e.g.50,100)$chimera
Runningsimulationfor50stepswith3481agentsParametersYou can control the simulation by changing parameter which will affect the spread of the idea.Transmission RateThe transmission rate is the probability that an agent will be infected by another agent.
The argument name is--rateand its default value is set to 0.5.For the following tables, the initial infected is set to 1 while varying the transmission rate.Rate = 0.3Rate = 0.5Rate = 1.0Initial InfectedThe initial infected is the number of agents that will be infected at the start of the simulation.
The argument name is--infectedand its default value is set to 1.For the following examples, the transmission rate is set to 0.5 while varying the initial infected.Infected = 1Infected = 3Infected = 5Geographic RadiusThe geographic radius is the distance that an agent can transmit the idea to another agent.For the following examples, both the transmission rate and initial infected are set to 1 while varying the geographic
radius.Radius = 1Radius = 3Radius = 5QuestionsHow many friends does a person have?How many people does a person talk to?When do people act upon some information?How to model hierarchies and groups?How to model lateral communication?ReferencesGoing Critical, Kevin SimlerModeling the Spread of Ideas in Networked Environments, Benjamin SimpkinsNetwork Diffusion, Michal CzubaModeling the Spread of Rumors in Networks, Sanjay RobertsMeme, Wikipedia
Package: zfhe
ZHDKOur mission atZamais to protect people’s privacy by preventing data breaches and unethical surveillance.Following a recent breakthrough in homomorphic encryption, we are now building a ZeroTrust deep learning framework that enables fast and accurate inference over encrypted data, with minimal performance overhead, no changes to the network architecture and no retraining necessary.Zamais open-source by design, as we believe privacy-enabling technologies should benefit the widest possible community of developers and researchers.WarningThis package is not a working package.Testimportzfhezfhe.hello_world()
Package: zfista
zfista : A globally convergent fast iterative shrinkage-thresholding algorithm with a new momentum factor for single and multi-objective (convex) optimizationThis code repository provides a solver for the proximal gradient method (ISTA) and its acceleration (FISTA) for both single and multi-objective optimization problems, including the experimental code for thePaper1andPaper2.An accelerated proximal gradient method for multiobjective optimization
Hiroki Tanabe, Ellen H. Fukuda, and Nobuo YamashitaA globally convergent fast iterative shrinkage-thresholding algorithm with a new momentum factor for single and multi-objective convex optimization
Hiroki Tanabe, Ellen H. Fukuda, and Nobuo YamashitaThe solver can deal with the unconstrained problem written by
$$\min_{x \in \mathbf{R}^n} \quad F(x) \coloneqq f(x) + g(x),$$
where $f$ and $g$ are scalar or vector valued function, $f$ is continuously differentiable, $g$ is closed, proper and convex.
Note that FISTA also requires $f$ to be convex.Documentation:https://zalgo3.github.io/zfista/RequirementsPython 3.8 or laterInstallpipinstallzfistaQuickstartfromzfistaimportminimize_proximal_gradienthelp(minimize_proximal_gradient)ExamplesYou can run some examples on jupyter notebooks.jupyternotebookTestingYou can run all tests bypython-munittestdiscoverBenchmarkYou can run the benchmark bypythonruntests.py
Package: zfit-interface
docstestspackagezfit model fitting interface for HEPFree software: BSD 3-Clause LicenseInstallationpip install zfit-interfaceYou can also install the in-development version with:pip install https://github.com/zfit/zfit-interface/archive/master.zipDocumentationhttps://zfit-interface.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append tox
Package: zfit-physics
Tools and models to extendzfit.
The structure of this package is still in flow, so before opening any PR
you may want to open an issue to discuss how your proposed functionality will fit intozfit-physics.It is currently under heavy development. Use it to test currently experimental
features. It offers a similar structure are zfit and will in the future be
simply integrated into the zfit namespace (given that zfit-physics is installed).What’s newCheck thechangelogfor recent changes.Installingzfit-physics is available on pip. If possible, use a conda or virtual environment and do:$pipinstallzfit-physicsFor the newest development version, you can install the version from git with$pipinstallgit+https://github.com/zfit/zfit-physicsContactYou can contact us directly:via e-mail:zfit@physik.uzh.chjoin ourGitter channelContributors
Package: zfl-ai
zfl-ai目次詳細インストールとDjangoプロジェクト作成DjangoプロジェクトにプラグインLicense詳細djangoプロジェクトでインストールできるDjangoアプリです。使用方法は以下からご覧ください。インストールとDjangoプロジェクト作成実行環境は「Python3.7」、「Django2.2.5」です。$python3--versionPython 3.7.0Djangoアプリはpipでインストールします。$pipinstallzfl-aiDjangoプロジェクトを作成$django-adminstartprojectmyproject.言語を設定します。myproject/settings.py# Internationalization# https://docs.djangoproject.com/en/4.2/topics/i18n/LANGUAGE_CODE='ja'TIME_ZONE='Asia/Tokyo'USE_I18N=TrueUSE_TZ=TrueDjangoプロジェクトにプラグインDjangoアプリを設定します。myproject/settings.pyINSTALLED_APPS=[...,"ai",]プロジェクト直下のtemplatesを読み込むように設定。TEMPLATES=[{...'DIRS':[os.path.join(BASE_DIR,'templates')],...},]myproject/urls.py...fromdjango.urlsimportpath,includeurlpatterns=[...,path('',include('ai.urls')),]zfl-aiのテンプレートである「index.html」ではテンプレートタグ「{% extends '...' %}」で「base.html」を読み込むように設定しているので、「templates/base.html」を作成する必要があります。$mkdirtemplates&&touchtemplates/base.htmlbase.htmlの内容{% load static %}<htmllang="ja"prefix="og: http://ogp.me/ns#"><head><!-- BootStrap CSS Link --><linkrel="stylesheet"href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"crossorigin="anonymous"><!-- StaticFiles CSS -->{% block ai-style %}{% endblock %}</head><body><!-- Djangoテンプレートタグ -->{% block content %}
    {% endblock %}<!-- BootStrap jQuery --><scriptsrc="https://code.jquery.com/jquery-3.3.1.slim.min.js"integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"crossorigin="anonymous"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"crossorigin="anonymous"></script><scriptsrc="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"crossorigin="anonymous"></script></body></html>サーバーを起動します。$python3manage.pyrunserver127.0.0.1:8000/ai/にアクセスします。Licensezfl-aiis distributed under the terms of theMITlicense.
Package: zfl-blogs
zfl-blogs目次詳細インストール設定実行License詳細zfl-blogsインストール$pipinstallzfl-blogs設定settings.pyの編集INSTALLED_APPS=[...'django.forms','django_cleanup','markdownx','blogs',]FORM_RENDERER='django.forms.renderers.TemplatesSetting'...TEMPLATES=[{'BACKEND':'django.template.backends.django.DjangoTemplates','DIRS':[os.path.join(BASE_DIR,'templates')],'APP_DIRS':True,'OPTIONS':{'context_processors':[...'blogs.context.common',],# カスタムテンプレートフィルター'libraries':{'mark':'blogs.templatetags.mark',}},},]...STATIC_URL='/static/'MEDIA_URL='/media/'MEDIA_ROOT=os.path.join(BASE_DIR,"media")MARKDOWNX_IMAGE_MAX_SIZE={'size':(800,500),'quality':100}MARKDOWNX_UPLOAD_MAX_SIZE=1000*1024# 最大1MBまで可能MARKDOWNX_UPLOAD_CONTENT_TYPES=['image/jpeg','image/png','image/gif']MARKDOWNX_MARKDOWN_EXTENSIONS=['extra','admonition',# 訓戒・忠告'sane_lists',# 正常なリスト'toc',# 目次'nl2br',# 改行]MARKDOWNX_MARKDOWN_EXTENSION_CONFIGS={'toc':{'title':'目次','permalink':True}}urls.pyの編集fromdjango.contribimportadminfromdjango.urlsimportpath,includefromdjango.confimportsettingsfromdjango.conf.urls.staticimportstaticurlpatterns=[path('admin/',admin.site.urls),path('markdownx/',include("markdownx.urls")),path('blogs/',include("blogs.urls")),]# 開発環境での設定ifsettings.DEBUG==True:urlpatterns+=static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)settings.pyのFORM_RENDERERでdjango.forms.renderers.TemplatesSettingに設定しているので、プロジェクト直下にtemplatesディレクトリを作成し、blogsアプリのtemplatesディレクトリからmarkdownxディレクトリをコピーしてきます。そうすることで、記事を書く際のマークダウンプレビューを横並びにすることができます。$python3-c"import blogs; print(blogs.__path__)"実行データベースの作成$python3manage.pymigrateスーパーユーザーの作成$python3manage.pycreatesuperusermarkdownxで保存された画像を整理するコマンドの実行$python3manage.pyfile_cleanupLicensezfl-blogsis distributed under the terms of theMITlicense.
Package: zfnew
新版正方教务教务系统API更多内容可以访问项目主页：正方教务管理系统API一个有关新版正方教务管理系统（如下图展示的主页面即为新版教务系统）的API，可以实现教务系统内基础的查询功能，未来还会添加选课抢课，一键评价等功能。已实现与待实现自动登陆、cookies获取个人信息学校通知调课、改课消息成绩课程表考试信息自动抢课一键评价选课名单实验考试选课名单如何开始使用pip命令安装pip install zfnew在Pypi下载包文件，然后tar-zxvf包名.tar.gzcd包名
pythonsetup.pybuild
pythonsetup.pyinstall接着在python中运行如下代码验证：fromzfnewimport*base_url='学校教务系统的主页url'lgn=Login(base_url=base_url)lgn.login('账号','密码')cookies=lgn.cookies# cookiejar类cookies获取方法person=GetInfo(base_url=base_url,cookies=cookies)print(person.get_pinfo())如果能输出json形式的个人信息，说明运行成功。详细API介绍推荐直接结合调用例子：examplesLogin类调用方法：from zfnew import Login传入参数：base_url  # 学校教务系统的主页url属性：self.base_url  # 学校教务系统的主页urlself.headers  # 登陆的headersself.sess  # 登陆的会话self.cookies  # 登陆的cookiejarself.cookies_str  # 登陆的cookie字符串方法：login(sid, password)sid: 学号password: 密码GetInfo类调用方法：from zfnew import GetInfo传入参数：base_url  # 学校教务系统的主页urlself.cookies  # 登陆的cookiejar属性：self.base_url  # 学校教务系统的主页urlself.headers  # 登陆的headersself.cookies  # 登陆的cookiejar方法：get_pinfo() # 获取个人信息get_notice(sid, password) # 获取学校通知get_message(sid, password) # 获取调课、改课消息get_grade(year, term) # 获取成绩year: 学年（如：2019）term: 学期（0：全年，1：第一学期，2：第二学期）get_exam(sid, password) # 获取考试信息year: 学年（如：2019）term: 学期（1：第一学期，2：第二学期）get_schedule(sid, password) # 获取课程表year: 学年（如：2019）term: 学期（1：第一学期，2：第二学期）方法返回的json数据get_pinfo 获取个人信息{"name":"姓名","studentId":"学号","brithday":"生日","idNumber":"身份证号","candidateNumber":"考试号","status":"学籍状态","collegeName":"学院名","majorName":"专业名","className":"班级","entryDate":"入学日期","graduationSchool":"毕业中学","domicile":"户籍所在地","politicalStatus":"政治面貌","national":"民族","education":"教育程度","postalCode":"邮政编码"}get_notice 获取学校通知[{"title":"通知标题","publisher":"发布者","ctime":"发布时间","vnum":"浏览量","content":"发布内容","doc_urls":["文内附带文件链接","..."]},"..."]get_message 获取调课、改课消息[{"message":"发布内容","ctime":"发布时间"},"..."]get_grade 获取成绩{"name":"姓名","studentId":"学号","schoolYear":"学年","schoolTerm":"学期","course":[{"courseTitle":"课程名","teacher":"授课老师","courseId":"课程号","className":"教学班","courseNature":"课程性质","credit":"课程学分","grade":"成绩","gradePoint":"绩点","gradeNature":"考试性质","startCollege":"开课学院","courseMark":"课程标记","courseCategory":"课程类别","courseAttribution":"课程归属"},"..."]}get_exam 获取考试信息{"name":"姓名","studentId":"学号","schoolYear":"学年","schoolTerm":"学期","exams":[{"courseTitle":"课程名","teacher":"授课老师","courseId":"课程号","reworkMark":"重修标记","selfeditingMark":"自修标记","examName":"考试名称","paperId":"试卷编号","examTime":"考试时间","eaxmLocation":"考试地点","campus":"考试校区","examSeatNumber":"座位号",},"..."]}get_schedule 获取课程表{"name":"姓名","studentId":"学号","schoolYear":"学年","schoolTerm":"学期","normalCourse":[{"courseTitle":"课程名","teacher":"授课老师","courseId":"课程号","courseSection":"课程节次","courseWeek":"课程周次","courseRoom":"上课地点","className":"教学班名称","hoursComposition":"课程学时组成","weeklyHours":"周学时","totalHours":"总学时","credit":"学分"},"..."],"otherCourses":["其他课程信息","..."]}