Saravanan666/pypi-org huggingface dataset:
Package: cqparts-misc
ComponentsPrimative ShapesPrimative shapes to build or test ideas quicklyCubeBoxSphereCylinderIndicatorsThese components can be used in assemblies during development as a means
to debug your part placement, and to demonstrateMatecoordinate systems.Coordinate System IndicatorPlanar IndicatorExamplesUse indicator on a primativeTo illustrate how an inciator can be used to show where aMateis on aPart, we’ll create a simpleAssembly:import cqparts
from cqparts.constraint import Fixed, Coincident

from cqparts_misc.basic.indicators import CoordSysIndicator
from cqparts_misc.basic.primatives import Box


class MyAsm(cqparts.Assembly):
    def make_components(self):
        return {
            'box': Box(length=30, width=20, height=10),
            'indicator': CoordSysIndicator(),
        }

    def make_constraints(self):
        return [
            Fixed(self.components['box'].mate_origin),  # fix at world origin
            Coincident(
                self.components['indicator'].mate_origin,
                self.components['box'].mate_neg_y,
            ),
        ]


from cqparts.display import display
display(MyAsm())From this we can see that themate_neg_ymate has:its Z-axis along the world -Y-axis, andits X-axis along the world Z-axis.
Package: cq-queryabolt
cq-queryaboltA quick way to create nutcatches, screw holes and countersinks in CadQuery, according to fastener standards..Requirements and installationpoetryaddcq-queryaboltUsageTo create a simple box with a bolt hole and a nutcatch:importqueryaboltimportcadqueryascqclassWorkplane(queryabolt.WorkplaneMixin,cq.Workplane):passbox=Workplane().box(25,10,10)# A nutcatch on the bottom:result=box.faces("<Z").workplane().tag("center").nutcatchParallel("M3")# And a bolt hole through:result=result.faces(">Z").workplane().boltHole("M3")show_object(result,name="simple")Or check out the exampleshowcasing all the features, orusing acadquery.Assembly.APIqueryabolt.WorkplaneMixinboltHole(bolt: string, depth: Optional[float] = None)Make a bolt hole (cadquery.Workplane.holefor named fasteners)Args:bolt(str): name of the bolt (e.g."M3")depth(float >= 0orNoneto cut through the entire part): how deep to make the holecboreBoltHole(bolt: str, depth: Optional[float] = None, headDiameterClearance: Optional[float] = 0.1)Make a counterbored hole (cadquery.Workplane.cboreHolefor named fasteners)Args:bolt(str): name of the bolt (e.g."M3")depth(float >= 0orNoneto cut through the entire part): how deep to make the holeheadClearance(float >= 0, optional): additional bolt head clearance. Defaults to 0.1.cskBoltHole(bolt: string, depth: Optional[float] = None)Make a countersunk hole (cadquery.Workplane.cskHolefor named fasteners)Args:bolt(str): name of the bolt (e.g."M3")depth(float > 0orNoneto cut through the entire part): how deep to make the holenutcatchParallel(options: string, kind: Optional[string] = "hexagon", heightClearance: Optional[float] = 0)Make a parallel (surface) nutcatchArgs:options(str): name of the nut (e.g."M3")kind(str, optional): kind of the nut (e.g."hexagon"). Defaults to"hexagon".heightClearance(float, optional): height clearance for the nut. Defaults to 0.nutcatchSidecut(options: string, kind: Optional[string] = "hexagon", heightClearance: Optional[float] = 0, depth: Optional[float] = None)Make a side-cut nutcatchArgs:options(str): name of the nut (e.g."M3")kind(str, optional): kind of the nut (e.g."hexagon"). Defaults to"hexagon".heightClearance(float >= 0, optional): additional height clearance for the nut. Defaults to 0.depth(float > 0orNoneto cut through the entire part): how deep to make the sidecut. Defaults toNone.AcknowledgementsTheauthorsof theBOLTSlibraryPrior workThe following turned out too verbose for the simpler end of the spectrum of my projects:cqparts_fastenerscq_warehouse'sfastenermoduleSimilar library for OpenSCAD, by yours truly:catchnhole
Package: cqrcode
cqrcodev 1.0这是一个生成柱体二维码的程序。目前能够生成的柱体二维码信息：仅支持二维码编码样式Ⅱ，即部分特殊字符，大写英语字母以及数字编码。自适应 Version 1~11版本二维码。具有运行界面。数据容量范围：6~66 bytes。没有纠错系统。没有掩码。柱面二维码尺寸表版本: (宽, 高),
1:(5, 19),
2:(5, 29),
3: (7, 19),
4: (8, 18),
5: (8, 32),
6: (9, 29),
7: (9, 35),
8: (11, 35),
9: (12, 26),
10: (12, 36),
11: (13, 35),每个版本的数据容量（Bytes）版本:容量,
1:6,
2:12,
3:10,
4:12,
5:30,
6:32,
7:40,
8:52,
9:42,
10:62,
11:66,二维码编码样式Ⅱ字符:编码,
‘0’: 0,
‘1’: 1,
‘2’: 2,
‘3’: 3,
‘4’: 4,
‘5’: 5,
‘6’: 6,
‘7’: 7,
‘8’: 8,
‘9’: 9,
‘A’: 10,
‘B’: 11,
‘C’: 12,
‘D’: 13,
‘E’: 14,
‘F’: 15,
‘G’: 16,
‘H’: 17,
‘I’: 18,
‘J’: 19,
‘K’: 20,
‘L’: 21,
‘M’: 22,
‘N’: 23,
‘O’: 24,
‘P’: 25,
‘Q’: 26,
‘R’: 27,
‘S’: 28,
‘T’: 29,
‘U’: 30,
‘V’: 31,
‘W’: 32,
‘X’: 33,
‘Y’: 34,
‘Z’: 35,
‘ ‘: 36,
‘$’: 37,
‘%’: 38,
‘*’: 39,
‘+’: 40,
‘-’: 41,
‘.’: 42,
‘/’: 43,
‘:’: 44,v 1.2完善部分bug.
Package: cqstat
A colorful command line tool substitutes for Grid Engine qstat commandinstallFrom pippip install cqstator downlaod source fromhttps://github.com/ronin-gw/cqstatconfigureEdit~/cqstat_config.jsonto configure some defaults and colors. cqstat generates this file if not exists.optionsoptional arguments-hShow help message and exit.--helpShow preview and current settings.Filter and memory options affect the previews.-c/--cluster-onlyShow cluster information summary.-p/--pending-jobsAdd pending jobs to output.format arguments-e/--expandFull format display of queues which has visible job.-f/--fullFull format display of queues (even if queue doesn’t have visible job).filter arguments-land-qarguments will be passed to the GEqstatcommand.-l/--resource<resource>...Filtering by the GE resources-q/--queue<queue>...Filtering by the GE queue names.-u/--user<user>...Display only jobs and queues being associated with the users.
The login user name ($USERenvironment valiable) will be used in omission.-a/--all-userDisplay all jobs (same as -u *)memory display optionsOutputs generate from these options depend on the GEqhostcommand.-r/--required-memory[{s_vmem,mem_req}]Add required memory amount specified by GE resource option (-ls_vmemor-lmem_req).
Usings_vmemvalue as default.
As the case may be, this option takes additional time because of refering job status byqstat-jcommand.-m/--physical-memoryAdd host machine memory usage.-s/--swapped-memoryAdd host machine swap usage.others-w[sec],--watch[sec]Show status periodically (like watch command)--no-sortDisable queue sorting.As default, queue are sorted by their status, usage and load average.--bleachDisable coloring (´・ω・｀)
Package: cquai-ml
IntroductionImplement machine learning algorithms with python without sklearn. Some classes are design especially for CQU-ML course by Professor.HeInstallWith pip :pip3 installcquai-mlWith src : Clone or fork this project, then build it withpython3 setup.py installUsageIn most cases, API in this project is similar to scikit-learn project.For example, if you want to run a decision tree classifier based on C4.5 (While scikit-learn use opt-CART instead of C4.5)fromcquai_mlimportDecisionTreeClassifierfromsklearn.datasetsimportload_breast_cancer# get a datasetX,y=load_breast_cancer(return_X_y=True)clf1=DecisionTreeClassifier(max_depth=1).fit(X,y)pred1=clf1.predict(X)ContributingEveryone is welcomed to contribute!We currently provides:DatasetSpaceUnionHypothesisSpaceLinearRegressionLogisticRegressionLinearDiscriminantAnalysisKNeighborsClassifierDecisionTreeRegressorDecisionTreeClassifier
Package: cqu-cj
CQU-CJCQU-cj 是一个基于 Python3 的第三方重庆大学成绩查询工具。特性使用本查询工具，你可以直接生成csv格式的成绩表（可以用excel打开）无论评教与否都能查询入学以来的所有成绩查询到的数据段包括课程编码，课程名称，成绩，学分，选修，课程类别（专选，必修等），教师，考试类别，备注，考试时间开包即用，直接输入用户和密码，无需配置完美支持Mac和Linux,在Windows上也能稳定运行安装和使用安装Python安装cqu-cj：pip install cqu-cj连接到重庆大学内网（可以不用登录上网帐号，但需要连接到CQU-WIFI或插上网线）在命令行中输入cqu-cj即可开始运行首次运行，需要输入学号和密码（身份证后六位）运行成功后，成绩将被保存到桌面的成绩.csv文件中。帐号和密码会存储在你的电脑上，如需清除记录，可使用cqu-cj -r声明本程序开放源代码，可自行检查是否窃取你的信息。本程序不存储用户的帐号，密码。本程序不存储任何人的成绩，所有的数据来自于重庆大学老教务网。
Package: cqu-de
Drcom ExecutorDrcom Executor 是一个基于 Python3 的第三方重庆大学 Dr.COM 登录器。这个程序可以用来代替官方版的Drcom登录器来连接重庆大学校园网.特性与其他大多数drcom系列项目具有差异的是，本登陆器的目标是让PC端使用者感受不到drcom的存在，实现插网线即能上网和开热点，而且无需在前台驻留任何窗口或终端。为了实现该目标，该登陆器加入了暴力重连：周期性检查外部网络联通性，并捕捉任何网络错误，回缩到合适的阶段开始重连。可能导致退出的错误见wiki指数退避：在持续遇到网络问题时，逐渐增加重试休眠间隔（默认最高500s），避免系统资源占用。由于其特殊的设计，你可以考虑直接将其添加到开机启动项中（见wiki），它就会在后台默默无闻的完成它的工作。（即使从没有校园网的地方突然接入校园网，你也至多需要等待一个指数退避周期就能开始正常上网）本登陆器还支持自动查询剩余流量与付费组开包即用，直接输入用户和密码，无需配置完美支持Mac和Linux,在Windows上也能稳定运行安装和使用1. 常规使用安装Python安装DE：pip install cqu-de在命令行中输入cqu-de即可开始运行首次运行，需要输入上网帐号和密码上网帐号和密码会存储在你的电脑上，如需清除记录，可使用cqu-de -r2. 进阶使用请参见wiki:macOS上的开机自启动TODO日志系统基于指数退避的自动重连机制更丰富的配置选项其它系统的自启动教程wiki声明本程序核心代码主要基于drcom-generic。本程序开放源代码，可自行检查是否窃取你的信息。本程序不存储用户的帐号，密码。
Package: cquest
cquest介绍传参普请求库软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: cquest-secret-manager
cquest_secret_managerpython implementation of the functionalities of secret managerDevelopmentDescriptionUsageTODOCHANGELOGContactDevelopmentUse the created conda environment for developmentRegularly update the requirements.txt file for ci/cd purposesDescriptionPYTHON IMPLEMENTATION OF FUNCTIONALITIES OF SECRET MANAGER:SECRET
1.1 List secrets
1.2 Create a secret
1.3 Delete secretSECRET VERSION
2.1 List secret version for the given secret
2.2 Access spesific version of the secret
2.3 Add secret version
2.4 delete secret versionAt the moment all functionalities are implemented as functions which take parametersUsageCloning This Repogitclone--recurse-submoduleshttps://www.gitlab.com/cquest1/prototypes/cquest_secret_manager.gitCommand Line Interface_This section will be automatically filled with the output of "python cquest_secret_manager/cquest_secret_manager.py --help"_Installing the python packagepython-mpipinstallgit+https://gitlab.com/cquest1/cquest_secret_manager.git@<version_number>ExamplesADD SOME REPRESENTATIVE EXAMPLES HERE!TODOADD LIST OF MISSING FUNCTIONALITY / POTENTIAL FUTURE IMPROVEMENTS TO MODULE HERE!CHANGELOGADD CHANGES HERE!ContactKsenija Babarokina (ksenija.b@cquest.ai)
Package: cqujwc
重庆大学教务处登录模块自动登录教务网封装了带session的GET和POST请求，方便开发者使用所有请求均加入了失败重试机制获取当前登录用户姓名安装pipinstallcqujwc使用fromcqujwcimportStudentstudent=Student('学号','密码')说明实例化Student对象时可选参数server(默认为0):0: jxgl.cqu.edu.cn
1: 202.202.1.41
2: 202.202.1.176:8080
3: 222.198.128.126利用当前session发起GET和POST请求GETstudent.get(url,params=None,headers=None)参数说明参数名说明备注urlGET请求去掉server字段的url例如，若要请求http://202.202.1.176:8080/MAINFRM.aspx，只需在实例化student对象时将server设置为2，然后调用student.get('/MAINFRM.aspx')即可paramsGET请求参数和requests.get()的params参数一致headers请求头默认只有UAPOSTstudent.post(url,data=None,headers=None)参数说明参数名说明备注urlPOST请求去掉server字段的url同上dataPOST请求参数和requests.post()的data参数一致headers请求头默认只有UA获取当前登录用户信息student.get_current_name()返回示例{"student_id":"学号","name":"姓名"}获取入学以来每个学期的成绩student.get_grade()返回示例{"total":{"name":"姓名","student_id":"学号","credit":"获得总学分","GPA":"平均学分绩点","no_pass":"未通过课程门数"},"items":[{"name":"学期","courses":[{"name":"课程名称","credit":"学分","category":"类别","take_property":"修读性质","score":"成绩","notes":"备注"}]}]}统一认证fromcqujwcimportverify_authverify_auth('统一认证号','密码')验证成功返回True，失败返回False开发计划获取成绩信息获取课表多服务器session管理
Package: cqu-jxgl
cqu-jxglcqu-jxgl 是一个基于python3的，重庆大学教务处登录的第三方模块。特性本模块：自动登录教务网封装了带session的GET和POST请求，方便开发者使用所有请求均加入了失败重试机制获取当前登录用户姓名使用本项目是一个登录功能模块，是面向编程者而不是用户的。若需使用一些教务网相关功能，请查看重庆大学全家桶计划声明本仓库Fork自maxoyed/cqu_jwc，为了适配重庆大学全家桶计划的其它项目，对本仓库做了一些功能性调整和重构。本程序不存储用户的帐号，密码。
Package: cqu-kb
cqu-kbcqu-kb 是一个基于python3的，导出重庆大学本科生和研究生课程表的第三方工具。1. 安装和使用本项目有两种使用方式，直接订阅和自行安装配置。1.1. 订阅使用访问http://cal.loopy.tech/{你的学号}/{教务网密码}即可下载你的课程表日历文件，同时也可直接在日历软件中订阅该地址。例如，如果你的学号是20170006,教务网密码为qazwsx，则你的课程表就在http://cal.loopy.tech/20170006/qazwsx1.2. 安装使用安装Python安装cqu-kb：pip install cqu-kb在命令行中输入cqu-kb即可开始运行首次运行，需要输入学号和教务网密码运行成功后，课表将被保存到桌面的课表.ics文件中。将课表.ics导入你的日历软件帐号和密码会存储在你的电脑上，如需清除记录，可使用cqu-kb -r2. 声明本程序开放源代码，可自行检查是否窃取你的信息。本程序不存储用户的帐号，密码。本程序不存储任何人的课表，所有的数据来自于重庆大学教务网。本程序依赖于cqu-jxgl在订阅使用时，由于直接使用http的get，存在一定的隐私泄露风险，详见 #5 。
Package: cqu-kx
第三方重庆大学课程可选人数查询工具－“快选!!”cqu-kx 是一个第三方重庆大学第三方重庆大学课程可选人数查询工具。快选!!特性使用本cqu-kx工具，你可以快速查询各个课程的可选人数，以便在二次选课时，抢到被退回的名额。闭源的cqu-kx订阅工具可被部署于服务器上，用户将在有退回的名额时尽快地收到微信，短信和邮件通知。安装和使用安装Python安装cqu-kx：pip install cqu-kx在命令行中输入cqu-kx即可开始运行首次运行，需要输入学号和教务网密码运行成功后，课表将被保存到桌面的课程可选人数.csv文件中。帐号和密码会存储在你的电脑上，如需清除记录，可使用cqu-kx -r声明本程序开放源代码，可自行检查是否窃取你的信息。本程序不存储用户的帐号，密码。本程序不存储任何选课信息，所有的数据来自于重庆大学教务网。本程序依赖于cqu-jxgl
Package: cqupt
_____  _____  _     _ ______ _______    ______ _
 / ____|/ ___ \| |   | |  __  \__   __|  |  __  (_)
| |    | |   | | |   | | |__| |  | |     | |__| |_ ____    ___ _ __
| |    | |  _| | |   | |  ____/  | |     |  ____/ |  __ \ / _ \ '__\
| |___ | |__\  | |___| | |       | |     | |    | | |__| |  __/ |
 \____/ \____/\_\_____/|_|       |_|     |_|    |_|  ___/ \___|_|
                                                  |_|DocumentationDocumentation is athttps://cquptpiper.xjj.pubContributionYou can help create bettercrawlerunder directorycrawler.Fork this repo and commit your request!TodoGUIExpected in version 2+License© XJJ, 2019~datetime.now()Released under theMIT License
Package: cqu-timetable-new
ICS 课程表文件生成脚本适用于最新选课站点生成的xlsx或json格式的课表转换为日历软件能认到的ICS格式文件.使用说明使用 pip 安装依赖：pipinstallcqu_timetable_new直接运行 (demo)准备从新选课网站下载的课表.xlsx或者点击查看课表时请求的 json 文件，放置于任意目录。配置文件格式如下:[config]
debug = False
base_dir = /home/ddqi/kb.xlsx
start_date = 20210301
file_name = timetable.ics
alarm = True
duration = 15配置项类型示例注释debugbooleanTrue控制是否为调试模式，可选值：True Falsebase_dirstr/home/ddqi/kb.xlsx指向课表文件的路径start_datestr20210301行课日期file_namestrtimetable.ics生成的 ics 文件名（为避免编码问题不要用中文），扩展名请勿更改，文件名不可包含中文alarmbooleanTrue是否开启提醒durationInt15提前提醒时间，单位：分钟将配置文件config.txt放置在工作目录下，终端执行：cqu_timetable_new将生成指定文件名的 iCalendar 格式文件tkinter 前端使用 pip 安装依赖：pipinstallcqu_timetable_new[tk]之后可运行cqu_timetable_new-tk启动 tkinter 前端。Qt5 前端使用 pip 安装依赖：pipinstallcqu_timetable_new[pyqt]之后可运行cqu_timetable_new-qt启动 Qt5 前端。作为库来使用使用时需要先生成课表数据，再从课表数据中生成日历生成课表数据可通过loadIO_from_json或loadIO_from_xlsx函数从文件或数据流中读取 json 或 xlsx，返回解析出的课表数据也可通过load_from_json或load_from_xlsx函数读取str或bytes格式的 json 或 xlsx 数据，返回解析出的课表数据生成日历数据使用mkical函数，第一个参数是上一步得到的课表数据，第二个参数是datetime.date类型的开学日期，返回icalendar.Calendar类型的日历数据，可通过其to_ical得到 ics 文件的内容。example:fromcqu_timetable_newimportmkical,loadIO_from_xlsxfromdatetimeimportdatexlsx_path="Downloads/课表.xlsx"# 课表 xlsx 文件路径ical_path="课表.ics"# 要保存的日历文件的路径data=loadIO_from_xlsx(xlsx_path)# 从 xlsx 文件中中加载课表数据ical=mkical(data,date(2021,3,1))# 生成日历，2021.3.1（必须是周一）开学withopen(ical_path,'wb')asfile_:# 保存 ics 文件时应用二进制模式打开file_.write(ical.to_ical())# 用 to_ical 方法可导出日历数据（类型为 bytes）另有 demo 可见于cqu_timetable_new/__init__.py中的main函数FAQQ: 为什么不带有登录功能？A： 因为我懒。如果你能做出带有登录功能的脚本请随意 pr 。我只信得过可以下载的自动生成的课表。
（主要还是依赖项少一些）Q：为什么导出的日历文件中有原课表中没有的整周课程？A：有一些课程（尤其是实验课，如果你见到有非实验课的这类课程，欢迎告诉我们）在已选课程中会显示有整周的时间段，但课表中那个时间段不会显示出来。技术性地说，是该整周时间段在 json 中的notArrangeTimeAndRoom,wholeWeekOccupy两个属性同时为假。我们尚不知道这些时间段的意义（如果你知道，欢迎告诉我们），如果使用 xlsx 来导入，请自行提前将 xlsx 中这些时间段对应的行删去；如果使用 json 来导入，我们默认会按照和原课表相同的处理方式处理（可以给loadIO_from_json或load_from_json传force_whole_week=True参数将这部分时间段也包含进日历里）。姊妹项目cm-http-api（开发中）LICENSESAGPLv3
Package: crabby
crabbycrabby is a collection of various scripts used in the Nusbaum lab's python analysis.What is crabby?more details about it here blah blah blah:fromcrabby.ioimportloadspike2fromtypingimportIteratordeffib(n:int)->Iterator[int]:a,b=0,1whilea<n:yieldaa,b=b,a+bSee the documentation for more examples.crabby is in development; some features are missing and there may be bugs.
See 'Development status' below.Requirementsscipynumpypandasmatplotlibseabornpandastablebrian2neoQuick startcrabby can be installed using pip:$ pip install crabbyIf you want to run the latest version of the code, you can install from git:$mkdir crabby
$cd crabby
$git clone https://github.com/LoganJF/crabby.git .
$python setup.py installDevelopment statusBeta testing currently 0.0.1
Package: crabigator
Crabigator==========[![Build Status](https://travis-ci.org/jonesinator/crabigator.svg)](https://travis-ci.org/jonesinator/crabigator) ![License](https://img.shields.io/github/license/jonesinator/crabigator.svg) [![Coverage Status](https://coveralls.io/repos/jonesinator/crabigator/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonesinator/crabigator?branch=master) [![PyPI version](https://badge.fury.io/py/crabigator.svg)](http://badge.fury.io/py/crabigator)A very thin Python wrapper over the [WaniKaniAPI](https://www.wanikani.com/api) (WaniKani is a tool for leaning Japanesevocabulary). The aim is to model the API as closely as possible while ensuringthe correct Python type is used for each field in the API. The syntax for usingthe library has been made as simple as possible.Installation------------### Stable VersionsTo install for all users `sudo pip install crabigator`To install for a single user `pip install --user crabigator`### Development VersionsFirst clone this repository and cd to it.To install for all users `sudo python setup.py install`To install for a single user `python setup.py --user install`Usage-----1. Import the WaniKani class. `from crabigator.wanikani import WaniKani`2. Instantiate a WaniKani instance with your API key.`wanikani = WaniKani('my_api_key')`3. Get any endpoint specified by the API docs (dashes replaced withunderscores).* `wanikani.user_information`* `wanikani.study_queue`* `wanikani.level_progression`* `wanikani.srs_distribution`* `wanikani.recent_unlocks`* `wanikani.critical_items`* `wanikani.radicals`* `wanikani.kanji`* `wanikani.vocabulary`4. From any of the above endpoints in #3 the output fields in therequired-information key can be retrieved. For example:* `print(wanikani.user_information.username)`* `print(wanikani.study_queue.next_review_date)`* `print(wanikani.level_progression.kanji_total)`* `print(wanikani.srs_distribution.master.total)`* `print(wanikani.recent_unlocks[0])`* `print(wanikani.critical_items[0])`* `print(wanikani.radicals[0])`* `print(wanikani.kanji[0])`* `print(wanikani.vocabulary[0])`5. If you need to pass arguments to the API then the following functions willdo that.* `wanikani.get_recent_unlocks(limit=10)`* `wanikani.get_critical_items(percent=75)`* `wanikani.get_radicals(levels=[2,3,4])`* `wanikani.get_kanji(levels=[5,6,7])`* `wanikani.get_vocabulary(levels=[8,9,10])`Notes-----* Everything is a property of a Python object.* All API responses can be easily printed for debugging.* All dates in API responses are converted to datetime objects.* All comma-separated lists in API responses are converted to arrays of stringsfor easier iteration over multiple readings and meanings.
Package: crabnet
Compositionally-Restricted Attention-Based Network (CrabNet)The Compositionally-Restricted Attention-Based Network (CrabNet), inspired by natural language processing transformers, uses compositional information to predict material properties.:warning: This is a fork of theoriginal CrabNet repository:warning:This is a refactored version of CrabNet, published to PyPI (pip) and Anaconda
(conda). In addition to using.csvfiles, it allows direct passing of Pandas
DataFrames as training and validation datasets, similar toautomatminer. It also exposes many of
the model parameters at the top-level viaCrabNetand uses thesklearn-like "instantiate, fit, predict" workflow. Anextend_featuresis
implemented which allows utilization of data other than the elemental compositions (e.g.
state variables such as temperature or applied load). These changes make CrabNet
portable, extensible, and more broadly applicable, and will be incorporated into the parent repository at a later
date. Please refer to theCrabNet documentationfor details on installation and usage. If you find CrabNet useful, please consider citing thefollowing publicationin npj Computational Materials:Citing@article{Wang2021crabnet,author={Wang, Anthony Yu-Tung and Kauwe, Steven K. and Murdock, Ryan J. and Sparks, Taylor D.},year={2021},title={Compositionally restricted attention-based network for materials property predictions},pages={77},volume={7},number={1},doi={10.1038/s41524-021-00545-1},publisher={{Nature Publishing Group}},shortjournal={npj Comput. Mater.},journal={npj Computational Materials}}
Package: crack
CrackCrack tools all here!Currently support custom aes, base58, base64, secrets, seal box, unsigned shift and font decode, other will be coming soon.Thanks for use.How to useBase58importcrackcrack.b58encode("leesoar.com")# Return: Tt1fb89EdWohEDacrack.b58decode("Tt1fb89EdWohEDa")# Return: leesoar.comBase64importcrackcrack.b64encode(b"leesoar.com",b64_map="9240gsB6PftGXnlQTw_pdvz7EekDmuAWCVZ5UF-MSK1IHOchoaxqYyj8Jb3LrNiR")# Return: DBvFmjNVmZb5DjY=crack.b64decode("DBvFmjNVmZb5DjY=",b64_map="9240gsB6PftGXnlQTw_pdvz7EekDmuAWCVZ5UF-MSK1IHOchoaxqYyj8Jb3LrNiR")# Return: b'leesoar.com'Decimal to otherimportcrack# default base is 58crack.dec_to_other(9527)# Return: [2, 48, 15]Font DecodeThanks fonttools.If a site font was displayed wrong, it can be corrected like this:fromcrackimportFontfont=Font("font_file.ttf")font.mapping([1,3,2,4,0,5,7,8,6,9],start=2)font.load(Font("https://nskol.com/font/default.ttf"))font.decode("\ue627\ueb1c\uefc6")# This is the correct result.Array's partitionimportcrack[print(x,end=", ")forxincrack.partition("gmapi.cn",size=3)]# Print: gma, pi., cn,[print(x)forxincrack.partition(["g","m","a","p","i",".","c","n"],size=3)]# Print: ['g', 'm', 'a'], ['p', 'i', '.'], ['c', 'n'],Unsigned shiftimportcrackcrack.unsigned_right_shift(-2048,1)# Output: 2147482624# It likes JavaScript ">>>"...AESIf you use 'from crack import Aes', it will automatically fix the bug of importing crypto error.fromcrackimportAesaes=Aes(key="xxxxxxxxx",iv="xxxxxxxxx")aes.encrypt_hex(b"xxxxxxxxxxx")aes.encrypt_byte(b"xxxxxxxxxxx")...Secretsimportcrackcrack.token_hex(16)# Output: 984a0877240ec62afaf6bbab175ab985  [Random]...
Package: crackdect
CrackDectExpandable crack detection for composite materials.This package provides crack detection algorithms for tunneling off axis cracks in
glass fiber reinforced materials.Full paper:CrackDect: Detecting crack densities in images of fiber-reinforced polymersFull documentation:https://crackdect.readthedocs.io/en/latest/If you use this package in publications, please cite the paper.In this package, crack detection algorithms based on the works of Glud et al. [1] and Bender et al. [2] are implemented.
This implementation is aimed to provide a modular "batteries included" package for
this crack detection algorithms as well as a framework to preprocess image series to suite the
prerequisites of the different crack detection algorithms.Quick startTo install CrackDect, check at first theprerequisitesof your python installation.
Upon meeting all the criteria, the package can be installed with pip, or you can clone or download the repo.
If the installed python version or certain necessary packages are not compatible we recommend the use
of virtual environments by virtualenv or Conda.Installation:pip install crackdectPrerequisitesThis package is written and tested in Python 3.8. The following packages must be installed.scikit-image0.18.1numpy1.18.5scipy1.6.0matplotlib3.3.4sqlalchemy1.3.23numba0.52.0psutil5.8.0MotivationMost algorithms and methods for scientific research are implemented as in-house code and not accessible for other
researchers. Code rarely gets published and implementation details are often not included in papers presenting the
results of these algorithms. Our motivation is to provide transparent and modular code with high level functions
for crack detection in composite materials and the framework to efficiently apply it to experimental evaluations.ContributingClone the repository and add changes to it. Test the changes and make a pull request.AuthorsMatthias DrvodericLicenseThis project is licensed under the MIT License.References[1]J.A. Glud, J.M. Dulieu-Barton, O.T. Thomsen, L.C.T. Overgaard
Automated counting of off-axis tunnelling cracks using digital image processing
Compos. Sci. Technol., 125 (2016), pp. 80-89[2]Bender JJ, Bak BLV, Jensen SM, Lindgaard E.
Effect of variable amplitude block loading on intralaminar crack initiation and propagation in multidirectional GFRP laminate
Composites Part B: Engineering. 2021 Jul