Saravanan666/pypi-org huggingface dataset:
Package: school-algorithms
Table of ContentsAbout The ProjectAlgorithmsHow to InstallHow to update to latest versionHow to ImportSchool Algorithmsschool_algorithms is a Python module for secondary school maths and physics equations.
It aims to provide a simple way for secondary school students
to learn and calculate equations that they often use.Functions include:A function that calculates power from energy and timeA function that calculates energy from power and timeA function that calculates time from power and energyA function that uses Pythagorean theorem to calculate the hypotenuse of a right-angled triangleA function that uses Pythagorean theorem to calculate a leg of a right-angled triangleA function that calculates the area of a triangleA function that calculates the area of a trapeziumA function that calculates the volume of a right rectangle pyramidA function that calculates the area of a circleA function that calculates the circumference of a circleA function that calculates the circumference of a circle using diameterA function that calculates the area of a sector in a circleA function that calculates the volume of a square based pyramidA function that calculates the Lowest Common Multiple from 2 numbersA function that calculates the Lowest Common Multiple from 3 numbersA function that calculates the Lowest Common Multiple from 4 numbersA function that calculates the Lowest Common Multiple from 5 numbersTo install:>>> python3 -m pip install school_algorithmsTo upgrade to latest version:>>> python3 -m pip --upgrade school_algorithmsTo import:>>> import school_algorithmsHow to use documentation:Documentation is in the form of docstrings provided with the code.The docstring examples assume that 'school_algorithms' has been imported:>>> import school_algorithmsCode snippets are indicated by three greater-than signs:>>> x = 42
>>> x = x + 1Use the built-inhelpfunction to view a function's docstring:>>> help(school_algorithms.power_calc)
Package: schoolbell
A calendaring server which can be used as astandalone server or a Zope 3 component. This server allows forpeople and resources to have individual and group calendars.The calendars are:* Shareable* Overlayable* Access controllable* Importable and exportable to iCal clients(e.g. Apple's iCal or Mozilla Sunbird)* Time zone aware* Provide resource booking* Support for Allday events* Atom feed support for upcoming eventsAll of this is accessible through a web interface which is simple,powerful and beautiful.For developers SchoolBell offers:* Re-usable calendaring Zope 3 components.* iCal parser.* Rigourous functional and unit testing.Enjoy!
Package: schoolbus
A python library to guess whether an email is from an academic institution,
heavily based on the swot ruby gem:https://github.com/leereilly/swot.Pull requests for missing institutions (see data.py) are welcome.Available on PyPI:pip install schoolbusUsage>>>schoolbus.is_academic('coryli@mit.edu')True>>>schoolbus.is_academic('josh@benchling.com')False>>>schoolbus.school_names('vineetg@mit.edu')[u'Massachusetts Institute of Technology']>>>schoolbus.school_names('sajith@scicu.org')[u'Claflin College',u'Allen University',u'Morris College']
Package: school-data
SCHOOL📱파이썬용 학생 학교 데이터 라이브러리 입니다.https://pypi.org/project/school_datahttps://github.com/cord0318/python_school_data📥다운로드윈도우나 리눅스의 터미널에서 다음과 같이 입력합니다.pipinstallschool_data오류가 나는 경우,python -m pip install --upgrade pip로 pip를 업데이트 해주세요.🤖사용법나이스 서버와 통신하는 기능이기 때문에, 비동기 처리를 추천드립니다.학교 급식# 동기importschoolschool.meal_data("B10","7081423")#school_meal_data("지역코드", "학교코드", "급식 코드", "날짜")# 비동기importasyncioimportschoolasyncdefmain():awaitschool.asyncMealData("지역코드","학교코드","급식 코드","날짜")asyncio.get_event_loop().run_until_complete(main())# 토큰 기능# 동기importschooltoken=school.MealToken("학교이름")data=school.MealTokenCheck(token["token"],"날짜")print(data)# 토큰 기능# 비동기importasyncioimportschoolasyncdefmain():token=awaitschool.asyncMealToken("학교이름")data=awaitschool.asyncMealTokenCheck(token['token'],"날짜")print(data)학교 정보# 학교 정보# 동기importschooldata=school.school_data("학교이름")print(data)# 학교 정보# 비동기importasyncioimportschoolasyncdefmain():data=awaitschool.asyncSchoolData("학교이름")print(data)학교 시간표
!! 이 기능은 오류가 많습니다 (현재 개발중) !!# 학교 시간표# 동기importschooldata=school.SchoolSchedule("학교타입","지역코드","학교코드","학년","반","교시(선택)","날짜")# 학교타입 목록: ["elsTimetable", "misTimetable", "hisTimetable", "spsTimetable", "els", "mis", "his", "sps", "초등", "중등", "고등", "특수", "초등학교", "중학교", "고등학교", "특수학교"]print(data)# 학교 시간표# 비동기importasyncioimportschoolasyncdefmain():data=awaitschool.asyncSchoolSchedule("학교 타입","지역코드","학교코드","학년","반","교시(선택)","날짜")# 학교타입 목록: ["elsTimetable", "misTimetable", "hisTimetable", "spsTimetable", "els", "mis", "his", "sps", "초등", "중등", "고등", "특수", "초등학교", "중학교", "고등학교", "특수학교"]print(data)# 학교 시간표# 동기# 토큰importschooltoken=school.ScheduleToken("학교타입","학교이름","학년","반")data=school.ScheduleTokenCheck(token['token'],"교시(선택)","날짜")print(data)# 학교 시간표# 비동기# 토큰importasyncioimportschoolasyncdefmain():token=awaitschool.asyncScheduleToken("학교타입","학교이름","학년","반")data=awaitschool.asyncScheduleTokenCheck(token['token'],"교시(선택)","날짜")↩️리턴값모든 리턴값은 Dict 로 반환됩니다.{"error":Boolen(True,False),"code":"처리코드(밑의 처리코드 종류 참조)","message":"해당 에러나, 성공 상황에 대한 설명",......}
Package: school-mos
school_mosЭта библиотека позволяет получить легкий доступ к ресурсам Московской Электронной Школы, в обход учебного портала.Примечания:Для авторизации используется Selenium (Firefox). Если у вас установлен другой браузер, необходимо установить Firefox либо geckodriver к нему.Библиотека пока не умеет работать с профилем учителя, а также будет выводить информацию только об одном ребенке, в случае, если авторизация происходит через многодетный родительский аккаунт.Для ознакомления с форматом вывода данных рекомендуется просмотреть Types.pyУстановка:pip install school_mosАвторизация:По логину и паролю:login = ...  # Ваш логин от mos.ru
password = ...  # Ваш пароль

import school_mos

user = school_mos.AUTH(_login=login, _password=password,
                       show_token=True  # необязательный параметр, см. ниже
                       )По токену:Рекомендуется использовать именно этот способ, т.к это существенно сокращает время работы из-за ненадобности получения токена c каждой авторизацией (при использовании способа выше).Для использования необходимо поставить значение параметра "show_token" на True и сохранить токен после его вывода в консольtoken = ...

user = school_mos.AUTH(token=token)Получение оценок:За определенную дату:print(user.marks.get_by_date(date_offset=1))  # Реализовано путем отступа от текущей даты на n днейЗа триместр / четверть:print(user.marks.get_per_trimester(trimester=0))
# trimester: по умолчанию - первый. При неверно заданном параметре вернёт NoneПолучение расписания:print(user.schedule.get_by_date(date_offset=1)Получение домашнего задания:print(user.homework.get_by_date(date_offset=1)Получение информации о пользователе:print(f'{user.first_name}, {user.birth_date}, {user.class_name} класс\n')
# примерСоздано в рамках школьного проекта учеником 11-А класса Школы №64 [Выпуск 2023-24]
Package: schooloam
(School oam) libaries OOP by Chaiyapat OamPyPI:https://pypi.org/project/schooloam/วิธีติดตั้งเปิด CMD / Terminalpipinstallschooloamวิธีใช้ImportfromschooloamimportStudent,SpecialStudent,Tesla,TeacherREFDev:Chaiyapat Oam พัฒนาโดย: ลุงวิศวกร สอนคำนวณ FB:
https://www.facebook.com/UncleEngineer YouTube:
https://www.youtube.com/UncleEngineer
Package: schoolopy
Python wrapper for Schoology’s API.InstallationYou may easily installschoolopyfrom PyPI withpip3 install schoolopy.Setup & AuthorizationBefore any use ofschoolopy, you’ll need to import it.importschoolopyYou’ll then need to instantiate theAuthclass and, using that object, instantiate the API wrapper. There are two ways of authenticating with Schoology: two-legged and three-legged. The former is far simpler and useful for apps used by only one user who is capable of managing their own API keys, but if you’re building a web app to interact with Schoology you’ll need to use three-legged.Obtain your consumer API key and secret from[SchoologyURL]/api.# Two-leggedsc=schoolopy.Schoology(schoolopy.Auth(key,secret))sc.get_feed()# etc.# Three-leggedauth=schoolopy.Auth(key,secret,three_legged=True,domain='https://schoology.com')# Replace URL with that of your school's Schoologyurl=auth.request_authorization()# Redirect user to that URL as appropriate for your application. Once user has performed action, continue.ifnotauth.authorize():raiseSystemExit('User not authorized!')sc=schoolopy.Schoology(auth)ExampleMore in-depth examples of both two- and three-legged authentication in action can be found inexample-twolegged.pyandexample-threelegged.py. You will need to write your key and secret intoexample_config.yml.exampleand rename that file toexample_config.yml.MethodsThis library contains a large number of functions for interaction with the API, and listing them all would be impractical.For a comprehensive list of what endpoints are available, consult theREST API v1 documentation.Most objects’ functions follow a similar pattern to the following example.[realm]represents the name of any realm type; in this case you can usedistrict,school,user,section, orgroup. Valid realms may vary for different objects.eventrepresents anEventobject.sc.get_events([realm]_id=)sc.get_[realm]_events([realm]_id)sc.create_event(event, [realm]_id=)sc.create_[realm]_event(event, [realm]_id)sc.get_event(event_id, [realm]_id=)sc.get_[realm]_events([realm]_id)sc.update_event(event, event_id, [realm]_id=)sc.update_[realm]_event(event, event_id, [realm]_id)sc.delete_event(event_id, [realm]_id=)sc.delete_[realm]_event(event_id, [realm]_id)Note: Some methods, such as `get_courses`, are currently broken because Schoology’s API has stopped providing data on the relevant endpoints.AuthorThis library was created byErik Boesen.LicensingThis software is available under theMIT License.
Package: school-sdk
新版正方系统 Python SDK。(支持自动识别、处理滑块验证码与常规验证码，如果觉得还不错,给个小星星趴~⭐)在线文档测试环境Python == 3.8默认验证码识别方式: CPUUsage$pipinstallschool-sdk# or$pipinstallzf-school-sdkfromschool_sdkimportSchoolClient# 先实例化一个学校，再实例化用户school=SchoolClient("172.16.254.1")user:UserClient=school.user_login("2018xxxxx","xxxxxxxx")course=user.get_schedule(year=2020,term=2)print(course)使用示例参见examplesApi FunctionApiDescriptionArgumentuser_login登陆函数account, passwordget_schedule课表查询year, termget_score成绩查询year, termget_info获取个人信息Nonerefresh_info刷新个人信息Nonecheck_session检查session并其失效后重登录NoneSchool-SDK OptionsOptionDefaultDescriptionhost不存在默认值教务系统地址(必填)port80端口号sslFalse教务系统是否使用httpsnameNone学校名称exist_verifyFalse是否存在验证码captcha_typecaptcha验证码类型(常规 或 滑块)retry10登录重试次数lan_hostNone内网地址（暂不可用）lan_port80内网地址端口（暂不可用）timeout10全局请求延时url_endpointsNone地址配置相关项目新版正方教务系统:https://github.com/Farmer-chong/new-school-sdk旧版正方教务系统:https://github.com/dairoot/school-apiSDK的Flask扩展:https://github.com/Farmer-chong/flask-school
Package: schoolsoftapi
緣起由於全誼校務系統目前沒有提供可用的 API 可以用來撈取教師與學生的帳號等資訊，本專案提供了基本的 API 供程式開發者介接與擷取全誼校務系統的教師與學生帳號資訊。功能本專案提供以下功能：匯出學生資料匯出教師資料與職務新增/刪除教師帳號重設教師帳號密碼文件請參閱http://schoolsoftapi.readthedocs.io。專案網址本專案程式碼託管在https://github.com/fossnio/schoolsoftapi，patches welcome!開發團隊FOSS Ninja <contact@fossn.io>
Package: schoolsoft-api
schoolsoft-api-appA wrapper for schoolsofts undocumented api they use in their app.Usage:Get the school name from the schoolsoft url.
Schoolname is found like this:"sms13.schoolsoft.se/school/jsp/student/right_student_startpage.jsp">>> import schoolsoft_api
>>> name, password, school = 'name', 'password', 'school' # Place real values here.
>>> app_key = schoolsoft_api.get_app_key(name, password, school)
>>> org_id = app_key['orgs'][0]['orgId']
>>> token = schoolsoft_api.get_updated_token(school, app_key_json=app_key)['token']
>>> schoolsoft_api.get_lunch(token, school, org_id)

[{'saturday': '', 'week': 33, 'updById': 1917, 'creByType': -1, 'creDate': '2020-08-11 14:41:04.0', 'dishCategoryName': 'Lunch', 'creById': 6271, 'thursday': '', 'dates': ['2020-08-10', '2020-08-11', '2020-08-12', '2020-08-13', '2020-08-14', '2020-08-15', '2020-08-16'], 'orgId': 28, 'updDate': '2020-08-14 09:46:56.0', 'empty': False, 'updByType': -1, 'sunday': '', 'tuesday': '', 'dish': 3, 'wednesday': '', 'friday': 'Spagetti med köttfärsås.\r\n\r\nSpagetti med sojafärssås', 'id': -1, 'monday': ''}]

>>> schoolsoft_api.get_lessons(token, school, org_id)
[{'weeks': 7329532, 'excludingWeeks': 0, 'creById': 6272, 'source': 1, 'externalRef': '', 'subjectId': 2947, 'orgId': 28, 'updDate': '2020-08-15 14:06:48.0', 'updByType': -1, 'excludeClass': 0, 'startTime': '1970-01-01 08:20:00.0', 'id': 295125, 'includingWe.......Obtain a permanent app key. This only needs to be generated once.Generate a temporary token. This needs to get generated once every 3h~.Call the API with the token.Note:Activate mobile login on the schoolsoft webpage!Useget_updated_token()to prevent requesting too many new tokens
Package: schooltool
SchoolTool is an open source school management information system.  It is
a distributed client/server system.  The SchoolTool server presents two
interfaces to clients:a traditional web application interface, usable with an ordinary browser.HTTP-based programming interface suitable for fat clients, adhering to
the Representational State Transfer (REST) architectural style (seehttp://rest.blueoxen.net/).The web application interface is the primary one.  The RESTive interface is
there for potential interoperability with other systems and fat clients to
perform data entry that is inconvenient to do via the web application
interface.There are several clients that demonstrate the usage of the REST interface
(a command-line client that is used for functional tests, a wxWidgets GUI
client, and a command-line client for data import).Any modern web browser is suitable for the web application interface.  The
interface degrades gracefully, so a browser that does not support CSS or
Javascript will be usable, although perhaps not very nice or convenient.
Package: schoolware-api
Schoolware-apiAn api for schoolware written in pythonCapabilitiesget agenda pointsget scoresget todo itemssend telegram message for new scoressupport for microsoft and schoolware loginConfigKeyDescriptiondomaindomain name of schoolwareuserschool microsoft emailpasswordschool microsoft passwordschoolware_loginset true if using schoolware logintelegram_enabledrequired to enable telegramtelegram_bot_tokentelegram bot token to enable telegram bottelegram_chat_idid to send messages toverboseshow a some more info, when what function is rundebugshow a lot more info, all networking infoInstallpip3 install schoolware_api --upgradeplaywright install &&  playwright install-depsonly for microsoft loginoptionalpip3 install python-telegram-botneeded for telegramSimple examplefromschoolware_apiimportschoolwareconfig={"domain":"","user":"","password":""}#example domain: kov.schoolware.be user: name.lastname@leerling.kov.be password: passwordSchoolware=schoolware(config)print(Schoolware.todo())# Returns all todo itemsprint(Schoolware.punten())# Returns all scores this schoolyearprint(Schoolware.agenda())# Returns agenda points todayprint(Schoolware.agenda(datum="2023-03-06 00:00:00"))# Returns agenda points for 2023-03-06print(Schoolware.agenda_week())# Returns whole week agenda points
Package: schorle
Schorle(pronounced asˈʃɔʁlə) is a server-driven UI kit for Python with
async support.Note:This project is in an early stage of development. It is not ready for production use.InstallationpipinstallschorleUsageTake a look at theexamplesdirectory.ConceptsElementsTODO: rewriteReacting to client-side eventsTODO: rewriteServer-side effectsTODO: rewriteRunning the applicationSchorle application is a thin wrapper aroundFastAPI. To run the application,
useuvicorn:uvicornexamples.simple:app--reloadTech stackFastAPI- web frameworkTailwind CSS- CSS frameworkIdiomorph- For client-side element morphingDaisyUI- Component library for Tailwind CSSPydantic- classes and utilities for elementsRoadmapAdd more elementsIntroducesuspensefor loading statesAdd more examplesAdd testsAdd CI/CDAdd documentationAdd support for Plotly-based chartsRefactor the imports
Package: sch-ossc-rsp
rsp파이썬 가위바위보 라이브러리가위바위보 기능을 파이썬에서 라이브러리로 이용할 수 있도록 개발되었습니다.기능상수Hand가위바위보 수 타입ROCK가위바위보 중 '바위' 수를 의미한다SCISSORS가위바위보 중 '가위' 수를 의미한다PAPER가위바위보 중 '보' 수를 의미한다Language변환 가능한 언어KOREAN한국어 (기본값)MGB한국어 (묵찌빠)ENGLISH영어JAPANESE일본어CHINESE중국어함수is_a_winning_b(a:Hand,b:Hand)->boola가b를 이기는 수인지 확인하는 함수is_a_losing_b(a:Hand,b:Hand)->boola가b를 지는 수인지 확인하는 함수is_a_equal_b(a:Hand,b:Hand)->boola와b가 비겼는지 확인하는 함수stringify(hand:Hand,language:Language)->strhand를language언어로 변환하여 출력해주는 함수hand_convert(string:str)->Hand사용자 입력을Hand타입으로 바꿔주는 함수random_choice()->HandROCK,SCISSORS,PAPER중 하나를 랜덤으로 골라서 출력하는 함수probability(pro:float)random_choice_probability함수의 확률을 결정하는 함수random_choice_probability(a:Hand)->Handa의 확률에 가중치를 부여하여 랜덤으로 골라 출력하는 함수
Package: scHPL
|PyPI| |PyPIDownloads| |Docs|scHPL: Hierarchical progressive learning of cell identities in single-cell data.. raw:: htmlWe present a hierarchical progressive learning method which automatically finds relationships between cell populations across multiple datasets and uses this to construct a hierarchical classification tree. For each node in the tree either a linear SVM, kNN, or one-class SVM, which enables the detection of unknown populations, is trained. The trained classification tree can be used to predict the labels of a new unlabeled dataset.NOTE: scHPL is not a batch correction tool, we advise to align the datasets before matching the cell populations. We advise doing this with scVI or scArches (see section treeArches below).InstallationscHPL requires Python 3.6 or higher. The easiest way to install scHPL is through the following command::pip install scHPLGeneral usageThetutorial.ipynbnotebook explains the basics of scHPL. Thevignette folder </vignettes>_ contains notebooks to reproduce the inter-dataset experiments. See thedocumentation <https://schpl.readthedocs.io/en/latest/>_ for more information.treeArchestreeArches is a framework around scHPL andscArches <https://github.com/theislab/scarches>_ to automatically build and update reference atlases and the classification tree. Examples can be found in thetreeArches reprodicibility Github <https://github.com/lcmmichielsen/treeArches-reproducibility>_ and in thisnotebook <https://github.com/theislab/scarches/blob/master/notebooks/treeArches_pbmc.ipynb>_.DatasetsAll datasets used are publicly available data and can be downloaded from Zenodo. The simulated data and aligned datasets used during the interdataset experiments can be downloaded from thescHPL Zenodo <https://doi.org/10.5281/zenodo.4557712>. The filtered PBMC-FACS and AMB2018 dataset can be downloaded from thescRNA-seq benchmark Zenodo <https://doi.org/10.5281/zenodo.3357167>For citation and further information please refer to:"Hierarchical progressive learning of cell identities in single-cell data" <https://www.nature.com/articles/s41467-021-23196-8>_.. |PyPI| image::https://img.shields.io/pypi/v/scHPL.svg:target:https://pypi.org/project/scHPL.. |PyPIDownloads| image::https://static.pepy.tech/badge/scHPL:target:https://pepy.tech/project/scHPL.. |Docs| image::https://readthedocs.org/projects/schpl/badge/?version=latest:target:https://schpl.readthedocs.io
Package: schrodinet
SchrodinetQuantum Monte-Carlo Simulations of one-dimensional problem using Radial Basis Functions Neural Networks.InstallationClone the repo andpipinsatll the codegit clone https://github.com/NLESC-JCER/Schrodinet/
cd Schrodinet
pip install .Harmonic Oscillator in 1DThe script below illustrates how to optimize the wave function of the one-dimensional harmonic oscillator.importtorchfromtorchimportoptimfromschrodinet.sampler.metropolisimportMetropolisfromschrodinet.wavefunction.wf_potentialimportPotentialfromschrodinet.solver.solver_potentialimportSolverPotentialfromschrodinet.solver.plot_potentialimportplot_results_1d,plotter1ddefpot_func(pos):'''Potential function desired.'''return0.5*pos**2defho1d_sol(pos):'''Analytical solution of the 1D harmonic oscillator.'''returntorch.exp(-0.5*pos**2)# Define the domain and the number of RBFs# wavefunctionwf=Potential(pot_func,domain,ncenter,fcinit='random',nelec=1,sigma=0.5)# samplersampler=Metropolis(nwalkers=1000,nstep=2000,step_size=1.,nelec=wf.nelec,ndim=wf.ndim,init={'min':-5,'max':5})# optimizeropt=optim.Adam(wf.parameters(),lr=0.05)scheduler=optim.lr_scheduler.StepLR(opt,step_size=100,gamma=0.75)# Solversolver=SolverPotential(wf=wf,sampler=sampler,optimizer=opt,scheduler=scheduler)# Train the wave functionplotter=plotter1d(wf,domain,100,sol=ho1d_sol)solver.run(300,loss='variance',plot=plotter,save='model.pth')# Plot the final wave functionplot_results_1d(solver,domain,100,ho1d_sol,e0=0.5,load='model.pth')After otpimization the following trajectory can easily be generated :The same procedure can be done on different potentials. The figure below shows the performace of the method on the harmonic oscillator and the morse potential.
Package: schrutepy
The Entire Transcript from the Office in Tidy FormatAlso available in R:schrute packageWhat is itThe entire text transcripts from the American version of The Office TV show in pandas dataframe. Use this package to practice or learn NLP, text analysis or deep learning.Getting startedYou can install easily from PyPiInstallpip install schrutepyUsagePull the transcripts into a data frame with this library's only method:from schrutepy import schrutepy

df = schrutepy.load_schrute()

df.head(5)DemoView the full demo on thewebsite: technistemaContributorsLucas Greybuck
Package: sc-html2pdf
A simple Python project sample structureThis project provides a sample structure for creating python project.InstallationIt is possible to install the tool withpip:pip install sc-html2pdfConfigurationConfiguration files reading in this order, the first is the top most priority:production.xml in current directory,production.xml in <project_name> directory under User directory,production.xml in <project_name> directory under /var/opt/sc/ directory,default.xml in <project_name> directory under /var/opt/sc/ directory.The default configuration file looks like this:dev:
  # whether this program is running is development mode
  dev_mode: FalseLicenseThe script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative[1].[1]https://opensource.org/licenses/MIT
Package: schubert
Schubert ToolboxThis project intends to be my personal toolbox for solutions of day to day issues.from schubert.itau import dac_calculation-> Calculate DAC for Itau Invoicesfrom schubert.febraban import generate_codebar_from_bank_slip_digitable_line-> Get numeric representation of Codebar from Bank Slip digitable linefrom schubert.febraban import generate_codebar_from_utility_slip_digitable_line-> Get numeric representation of Codebar from Utility Slip digitable line