Saravanan666/pypi-org huggingface dataset:
Package: biz-monitor
Business MonitorInstallationpip install biz-monitorUsageFlaskInsert following code after you initialized Flaskappinstance:frombiz_monitor.biz_tracing.flask_opentracingimportinit_tracingfrombiz_monitor.biz_logging.logimportinit_logginginit_tracing("service name","jaeger_agent uri, e.g. localhost:6831","kafka uri, e.g. localhost:9092",'IDC','set0','instance-0',app)log=init_logging("service name",'IDC','set0','instance-0')TornadoInsert following code before you initialize tornado.web.Application instance:frombiz_monitor.biz_loggingimportinit_async_loggingfrombiz_monitor.biz_tracing.tornado_opentracingimportinit_tracinginit_tracing("service name","jaeger_agent uri, e.g. localhost:6831","kafka uri, e.g. localhost:9092","IDC","set0",'instance-0')log=init_async_logging("service_name","IDC","set0","instance-0")aiohttpimportaiohttpimportaiohttp.webfrombiz_monitor.biz_loggingimportinit_async_loggingfrombiz_monitor.biz_tracing.aiohttp_opentracingimportinit_tracing,trace_configlog=init_async_logging("service_name","IDC","set0","instance-0")metrics_middleware=init_tracing("service_name","jaeger_agent uri, e.g. localhost:6831","kafka uri, e.g. localhost:9092","IDC","set0",'instance-0')# Insert metrics_middleware into application's middlewaresapp=aiohttp.web.Application(middlewares=[metrics_middleware,...])# Add trace_config to aiohttp.ClientSessionasyncdeffetch():asyncwithaiohttp.ClientSession(trace_configs=[trace_config])assession:asyncwithsession.get("http://localhost:5000/demo")asresp:passDescriptionThis project is used for "Metrics, tracing, and logging". It's an integration of python libraries for opentracing, including:requests_opentracingflask_opentracingtornado_opentracing
Package: bizzbuzz
bizbuzzBizz Buzz is a news aggregator service which provides users with all the latest news or ‘buzz’ about their favorite businesses. Our website uses Python's Beautiful Soup framework to scrape four different news sources and accumulates scraped article titles, urls, and summaries to a SQLite database. Users of our website can create an account and subcribe to any combination of the 14 companies our website supports. Changing a users company subscriptions will change the news that is displayed on the home page. Our front end was built using Python's Django framework and allows users to seemlessly login, signup, and make changes to their preferences. In addition, the home page displays each news article in a card format which upon being clicked will navigate users to the full article.Link to project GitHub:https://github.com/andrewbriceno/bizbuzzPackage name on PyPI: pip install bizzbuzz==0.0.6Before running executable line, please cd into the directory that holds manage.pyExecutable line: bizzbuzzNavigate to 127.0.0.1:8000/bizzbuzz in your browser and our project should be running!
Package: bizzflow-toolkit
Bizzflow R2 ToolkitBizzflow R2 Toolkit is a version 2 of Bizzflow ETL Pipeline template written mostly in Python, usingApache Airflowas a scheduler and job executor. Bizzflow is meant to work in cloud, meaning any of the major cloud providers (Google Cloud Platform,Amazon Web ServicesandMicrosoft Azure). If you would like to implement Bizzflow solution in your cloud, do not hesitate to contactBizztreat admin.ContributingBuilding base imageDependency managementCrossroadsBizzflow R2 Toolkit DocumentationInstallationPython API ReferenceBizztreatInstallationSeeInstallation instructionsfor more information.LicenseTODO:To be decided yet.See details inLICENSE.
Package: bjcli
bjclibjcli is a simple command line utility to run Bjoern WSGI serverFeaturesForksEnvironment variables supportInstallationpip install bjcliUsagebjcli -w 4 -i 127.0.0.1 -p 8088 app.wsgi:applicationUsing socketsbjcli -w 4 -i unix:/path/to/socket app.wsgi:applicationExamples above would import application from app.wsgi and pass it to BjoernArgumentDescriptionRequiredDefaultType-wNumber of workersFalse1int-iHostFalse127.0.0.1str-pPort. If left blank and the host is an IP address, 8088 is assignedFalseNoneNone/intmodule:wsgi_app (first positional)Module containing "wsgi_app" (module attr name after ":")True-module
Package: bjgrader
bjgraderbjgrader는 백준 알고리즘 사이트의 문제 별 sample input & output 을 바탕으로 손쉽게 채점해주는 라이브러리 입니다.원하는 곳에서bjgrader를 이용하여 파일을 생성 후, 알고리즘 풀이를 작성한 뒤,bjgrader로 채점하시면 됩니다.requests와beautifulsoup4를 바탕으로 sample input과 sample output을 가져와 채점하기에, 공개되지 않은 입력에 대해서는 채점하지 않습니다.InstallationpipinstallbjgraderUsageCreate a solution filepython-mbjgrader-cfile_name.pySolve a problem파일 생성 명령어를 통해 나온 파일의 템플릿은 아래와 같습니다.# Do not modify name of parameter and function ('URL', 'solution')URL=''# input_data: sample inputdefsolution(input_datat):answer=0returnanswerURL에 풀고자 하는 백준 문제의 url 주소를 입력하고,solution함수에 풀이과정을 작성하시면 됩니다.Grade the solution filepython-mbjgrader-nfile_name.py위의 명령어를 통해 해당 문제의 풀이과정을 테스트를 진행합니다. 10초 이상 걸리는 솔루션에 대해서는Timeout을 반환합니다.
Package: b-jira-filter
B.JiraFilterA CLI based scripts library to interact with JIRA API. Not all actions are
implemented in JIRA UI, therefore, we have created this library with custom
logic and custom functionality that can be used by anyone.DescriptionSometimes it is more convenient and straight-forward to do stuff via CLI
rather than via UI. Also, the JIRA UI can not support every single functionality
possible, therefore, for custom logic and custom commands we have developed
this CLI based library. Scroll down to see what are the available custom
logic commands.RemarksBiomapasaims to modernise life-science
industry by sharing its IT knowledge with other companies and
the community. This is an open source library intended to be used
by anyone. Improvements and pull requests are welcome.Related technologyPython 3JIRAJIRA Python SDKAssumptionsThe project assumes the following:You have basic knowledge in JIRA software.Useful sourcesSince this library uses JIRA SDK, it is a good idea to familiarize
yourself with it:https://github.com/pycontribs/jira.InstallThe project is built and uploaded to PyPi. Install it by using pip.pipinstallb-jira-filterOr directly install it through source.pipinstall.Usage & ExamplesThis section shows what are the available commands and how to use them.Credentials managementThe library has a flexible credentials management.You can pass credentials to the constructor:fromb_jira_filter.objects.credentialsimportCredentialsCredentials(username='Username',password='Password',server='Server')Or you can set the OS environment:fromb_jira_filter.objects.credentialsimportCredentialsCredentials()export/set JIRA_USERNAME=Username
export/set JIRA_PASSWORD=Password
export/set JIRA_SERVER=ServerOr you can enter these value manually in a prompt:fromb_jira_filter.objects.credentialsimportCredentialsCredentials()(venv) > jira.sprints.storypoints
Username: ...
Password: ...
Server: ...CommandsThe library exposes CLI commands:jiraUse this command to see what are available different commands and sections.(venv) > jira

Available sections:
- sprintsjira.sprintsUse this command to see what are available different commands and sections in sprints section.(venv) > jira

Available commands:
- storypointsjira.sprints.storypointsUse this command to calculate story points for each assignee in any sprint. For example:(venv) > jira.sprints.storypoints

Select a board (1-2):

1. TEST1 board
2. TEST2 board

Board number[Default 1]:

> ENTER

Select a sprint (1-2):

1. TEST Sprint 1
2. TEST Sprint 2

Sprint number[Default 2]:

> ENTER

----------------------------------------------------------------

Dev 1   : Total:  68 | Completed:  21( 30.9%) | Not completed:  47( 69.1%).
Dev 2   : Total:  61 | Completed:  21( 34.4%) | Not completed:  40( 65.6%).

----------------------------------------------------------------TestingCurrently this package has no tests.ContributionFound a bug? Want to add or suggest a new feature?Contributions of any kind are gladly welcome. You may contact us
directly, create a pull-request or an issue in github platform.
Lets modernize the world together.
Package: bjoern
A screamingly fast, ultra-lightweightWSGIserver for CPython 2 and CPython 3,
written in C using Marc Lehmann’s high performancelibevevent loop and
Ryan Dahl’shttp-parser.Why It’s Coolbjoern is thefastest,smallestandmost lightweightWSGI server out there,
featuring~ 1000 lines of C codeMemory footprint ~ 600KBPython 2 and Python 3 support (thanks @yanghao!)Single-threaded and without coroutines or other crapCan bind to TCPhost:portaddresses and Unix sockets (thanks @k3d3!)Full persistent connection (”keep-alive”) support in both HTTP/1.0 and 1.1,
including support for HTTP/1.1 chunked responsesInstallationpip install bjoern. Seewikifor details.UsageFlask examplefromflaskimportFlaskapp=Flask(__name__)@app.route("/")defhello_world():return"Hello, World!"if__name__=="__main__":importbjoernbjoern.run(app,"127.0.0.1",8000)Advanced usage# Bind to TCP host/port pair:bjoern.run(wsgi_application,host,port)# TCP host/port pair, enabling SO_REUSEPORT if available.bjoern.run(wsgi_application,host,port,reuse_port=True)# Bind to Unix socket:bjoern.run(wsgi_application,'unix:/path/to/socket')# Bind to abstract Unix socket: (Linux only)bjoern.run(wsgi_application,'unix:@socket_name')# Enable statsd metrics. See instrumentation.md for details.bjoern.run(wsgi_application,host,port,statsd=...)Alternatively, the mainloop can be run separately:bjoern.listen(wsgi_application,host,port)bjoern.run()# With metrics. See instrumentation.md for details.bjoern.listen(wsgi_application,host,port)bjoern.run(statsd=...)You can also simply pass a Python socket(-like) object. Note that you are responsible
for initializing and cleaning up the socket in that case.bjoern.server_run(socket_object,wsgi_application)bjoern.server_run(filedescriptor_as_integer,wsgi_application)# This needs manual compilation with `WANT_STATSD=yes`bjoern.server_run(socket_object,wsgi_application,enable_statsd=True)
Package: bjoern-cli
bjoern-clibjoern-cli is a command line wrapper to serve a Python WSGI app withbjoernserver.
It exists because the only way to serve an app withbjoernis to import it in your code and configure the entrypoint to launch the server. This way to serve bjoern ties your application code to a webserver implementation and upgrading or changing the server becomes a change in application code.Withbjoern-cliyou can configure your application to expose the WSGI app object and serve it from command line. It also provides a convenient wrappers to selectively use features that are compiled in bjoern and ignore those that aren't.InstallationIf you ship your app in a docker container then the recommended way is to installbjoern-cliin the container context separate from the application. This makes it easier to upgrade the server or simply swap it out for something inferior.
Alternatively you can also use it as an app dependency. If that is what you want to do — and you really shouldn't be doing it like this — addbjoern-cliin yoursetup.pyorrequirements.txtfile. If you are using the pathetically slow, pain in the ass tool then put it inPipenvfile.pipinstallbjoern-cliUsageAssuming that your applicationapiis exposed by modulemy_app.web, you can start the server withbjoern-cli--modulemy_app.web--appapiFollowing command line parameters are available:--host host            Host name or the IP address to bind with (default: 0.0.0.0)
  --port port            Port number to bind with (default: 8787)
  --module module        Importable python module that exposes the WSGI app (default: None)
  --app app              Name of the app as exposed by the module (default: app)
  --statsd-enable        Expose metrics to statsd (default: False)
  --statsd-host host     Address of the Statsd collector (default: 127.0.0.1)
  --statsd-port port     Port of the Statsd collector (default: 8125)
  --statsd-ns namespace  Statsd metrics namespace (default: bjoern)
  --statsd-tags tags     Comma separated list of tags to expose with metrics (default: [])Features than can be selectively compiled into bjoern are appropriately indicated in the argument description. If a feature is not available its parameter description is followed by"Ignored since bjoern is not compiled with this feature".CaveatNote that bjoern-cli fetches bjoern from github instead of PyPI. This is necessary at this time because the version of bjoern with Statsd support is not tagged and pulling from github remains the only way to install it.
This also means that bjoern will be compiled when you installbjoern-cliand you are expected to setup proper feature flags in the installation environment.
If you are installing bjoern-cli in a docker container then adding the following snippet to the Dockerfile should enable statsd and tags support.ENVBJOERN_WANT_STATSD=trueBJOERN_WANT_STATSD_TAGS=trueIf you are in a shell then simply runBJOERN_WANT_STATSD=trueBJOERN_WANT_STATSD_TAGS=truepipinstallbjoern-cliYou can consultsetup.pyto know the version of bjoern that will be installed.
Package: bjorn
bjornThe Bjorn module loads a configuration file for your python script.InstallationTo install bjorn, run this command in your terminal:$pipinstallbjornThe basicsA settings file is just a Python module with module-level variables.
Settings example:importosLOGGING_CONFIG={"version":1,"disable_existing_loggers":False,"formatters":{"standard":{"format":"%(asctime)s[%(levelname)s]%(name)s:%(message)s"},},"handlers":{"default":{"level":"INFO","formatter":"standard","class":"logging.StreamHandler",},"file_handler":{"level":"INFO","filename":"/tmp/mylogfile.log","class":"logging.FileHandler","formatter":"standard",},},"loggers":{"job":{"handlers":["default"],"level":os.environ.get("LOGGER_LEVEL","INFO"),"propagate":True,},},}VALUE_TO_TEST="A"Because a settings file is a Python module, the following apply:It doesn’t allow for Python syntax errors.It can assign settings dynamically using normal Python syntax. For example:MY_SETTING=[str(i)foriinrange(30)]Designating the settingsJOB_SETTINGS
When you use Bjorn, you have to tell it which settings you’re using. Do this by using an environment variable, JOB_SETTINGS.The value of JOB_SETTINGS should be in Python path syntax, e.g. mysite.settings. Note that the settings module should be on the Python import search path.UsageCreate a settings.py file in the root of the project. Then you can call it from your script using the following way.frombjorn.configimportsettingsif__name__=='__main__':print(settings.VALUE_TO_TEST)History0.1.0 (2021-01-23)First release on PyPI.
Package: bj-phone-number
## bjphonenumberA fast minimal module to validate Beninese mobile phone numbers.### Installation```$ pip install bj_phone_number```### UsageThis module assumes that you already know that Benines numbers are prefixed by `+229` and you should not expect your users to type that. Instead your UI should look something like this.```|**********************|+229 |  phone number here   ||**********************|``````from bj_phone_number import validate_numbernumber = "66526416"print(validate_number(number)) # validate```
Package: bjsfm
Bolted Joint Stress Field Model (BJSFM) is a common analytical method used to analyze bolted joints in composite
airframe structures. This project ports the original fortran code to pure python code using the underlying theory.frombjsfm.analysisimportMaxStraina_matrix=[[988374.5,316116.9,0.],[316116.9,988374.5,0.],[0.,0.,336128.8]]thickness=0.1152diameter=0.25analysis=MaxStrain(a_matrix,thickness,diameter)# get stresses, strains and displacements at four points around holebearing=[100,0]#[Px, Py]bypass=[100,0,0]#[Nx, Ny, Nxy]analysis.stresses(bearing,bypass,num=4)analysis.strains(bearing,bypass,num=4)analysis.displacements(bearing,bypass,num=4)# plot stressesanalysis.plot_stress(bearing,bypass)Installationpip install bjsfmDocumentationhttps://bjsfm.readthedocs.ioFeatures[X] Lekhnitskii’s anisotropic elasticity solutions for loaded (cosine distribution) and unloaded holes[X] stresses[X] displacements[X] Combined bearing and bypass 2D infinite plate stress distribution[X] Optional DeJong tension (or compression) bearing correction[X] Max strain analysis[ ] Plotting[X] stresses[ ] displacements[X] Command-line Interface (CLI)Web Apphttps://www.centricengineers.com/free-software/ce-bjsfmContributeIssue Tracker:https://github.com/BenjaminETaylor/bjsfm/issuesSource Code:https://github.com/BenjaminETaylor/bjsfmSupportbenjaminearltaylor@gmail.comLicenseThis project is licensed under the MIT license.
Package: bkash-client
A Client for BKash API.Free software: Mozilla Public License Version 2.0DisclaimerWork in progress! DO NOT USE!Why?A client library should be intuitive to use, rich in coding aid (e.g. typing and validation). We hope to meet that standard.FeaturesPydantic powered dataclasses for every request (in request one can also usedictthat will be converted to adataclass) and response.Methods for all official endpoints.Installationpip install bkash-clientYou can also install the in-development version with:pip install https://gitlab.com/codesigntheory/python-bkash-client/-/archive/master/python-bkash-client-master.zipDocumentationhttps://python-bkash-client.readthedocs.io/DevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.2.6 (2021-09-14)Fix: Refund API.0.2.2 (2021-09-14)Fix: Search response.0.2.1 (2021-09-14)Fix: Query response.0.0.0 (2021-06-23)First release on PyPI.
Package: bKashWebhook
bKash Webhook (Merchant Account)IntroductionThis package will help to receive Webhook notification from bKash end and the user can use this package of any kind of Python Web Frameworks.Note: Using area - Only BangladeshIf bKash complains about this package.Such as Logo and others. The author will remove the package from PyPi and Github.QuickstartInstallationInstall from pypi:pipinstallbKashWebhookSecuritybKashWebhook package does not provide any kind of security. But payload content security handle bybKashN.B. You need to secure your API endpoint yourself.Exampleimportjsonfrombkash_webhookimportBkashWebhookListenerbkash=BkashWebhookListener(json.loads("bKash Webhook Payload"))res=bkash.bkash_response_process()print(res)# You will get bKash Payload if everything is okay.To learn moreDocumentation.ChangelogSeeChangelogTrade offCurrently, Coverage result is 98%. Two test cases don't cover and those test cases are not possible to cover.
These test cases do not impact to core response. So don't worry. ValidationError Exception would manage that type error.LicenseMITChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog. This project adheres toSemantic Versioning.v0.0.2 - 2020-05-30Added PyPI badgeAdded documentation link into setup.pyV0.1.0 - 2020-06-01BKash class is deprecatedAdded a new class. That's called BkashWebhookListener. BKash class will completely removed from v1.0.0Update README and documentsv0.1.1 - 2020-06-01Refactor code docs
Package: bk-audit
(English Documents Available)Overviewbk-audit-python-sdk 是蓝鲸审计中心 (BK-AUDIT) 提供的用于快速接入审计体系的 Python SDKFeatures[Basic] 兼容 Python2/Python3[Audit] 支持自定义审计事件处理，将非标准字段格式化为审计事件[Audit] 支持自定义审计事件输出，内置审计事件输出到日志文件或通过 OT 上报[Contrib] Django Support, 集成了 Django 专用事件处理，通过注入 Request 对象简化审计事件上报[Contrib] OpenTelemetry Support, 集成 OT Log 上报模块，直接上报到 OT CollectorGetting startedInstallation$pipinstallbk-auditUsage使用文档Roadmap版本日志Support蓝鲸论坛蓝鲸 DevOps 在线视频教程蓝鲸社区版交流群BlueKing CommunityBK-CMDB：蓝鲸配置平台（蓝鲸 CMDB）是一个面向资产及应用的企业级配置管理平台。BK-CI：蓝鲸持续集成平台是一个开源的持续集成和持续交付系统，可以轻松将你的研发流程呈现到你面前。BK-BCS：蓝鲸容器管理平台是以容器技术为基础，为微服务业务提供编排管理的基础服务平台。BK-PaaS：蓝鲸 PaaS 平台是一个开放式的开发平台，让开发者可以方便快捷地创建、开发、部署和管理 SaaS 应用。BK-SOPS：标准运维（SOPS）是通过可视化的图形界面进行任务流程编排和执行的系统，是蓝鲸体系中一款轻量级的调度编排类 SaaS 产品。BK-JOB蓝鲸作业平台(Job)是一套运维脚本管理系统，具备海量任务并发处理能力。Contributing如果你有好的意见或建议，欢迎给我们提 Issues 或 Pull Requests，为蓝鲸开源社区贡献力量。腾讯开源激励计划鼓励开发者的参与和贡献，期待你的加入。License基于 MIT 协议， 详细请参考LICENSE
Package: bk-clustering
Burj Khalifa ClusteringThebk_clusteringpackage is a Python realization of the Burj Khalifa clustering method.
The Burj Khalifa method can be considered as Agglomerative clustering on steroids: great quality with no parameters required!The idea is to automatically detect solid clusters, based on the dendrogram. Read more in the publication section.InstallationTo install the package, run:pipinstallbk_clusteringUsageHere's an example of using Burj Khalifa clustering algorithm:frombk_clusteringimportBurjKhalifaClustering# Initialize BurjKhalifaClustering objectbk_model=BurjKhalifaClustering()# Fit data to the algorithmbk_model.fit(X)# Get labelslabels=bk_model.labels_ExamplesIris DatasetComparison with other clustering methodsMall Customer SegmentationBank Customer SegmentationTime limitationsThe time complexity of distance-based algorithms typically depends on the number of data points, the number of features, and the number of clusters.
Building a distance matrix for hierarchical clustering is essential in the clustering process. The size of the distance matrix is N x N, where N is the number of data points in the dataset. The time complexity of building the distance matrix for hierarchical clustering is O(N^2), which means that the time required to compute the pairwise distances between all data points increases quadratically with the size of the dataset.
As the data size increases, the time complexity of distance computation snowballs, making these algorithms computationally expensive.
Below are time performance matrixes attached for 10 and 100 clusters.As one can see, even with 10.000^2 data points, the algorithm works with acceptable timings (just a bit longer than 10 minutesPerformance notebook).Further work will be dedicated to optimizing python code and parallelizing some steps.PublicationThe publication is under draft at the moment.Plots and tablesfor the paper.ContributingContributions are welcome! Please feel free to submit a pull request or open an issue on the GitHub repository.LicenseThis package is licensed under the MIT License.InspirationThe Burj Khalifa's ladder-view design consists of a succession of terraces or setbacks that, when viewed from the outside, resemble the branches of a tree or a dendrogram and gradually get smaller as the structure rises. The inspiration for the method was taken from the view of the building: instead of having the width changed gradually, the terraces are located at specific, uneven from different sides and levels, skipping some of them. Such construction is closely associated with the proposed method, where a dendrogram is modified to a tree structure on solid levels.
Package: bkflow-dmn
bkflow-dmn: A DMN(Decision Model Notation) library for Python简介bkflow-dmn 是一款基于 Python 的 DMN(Decision Model Notation) 库，使用 FEEL(Friendly Enough Expression Language) 作为描述语言，可以作为决策引擎，用于解决实际业务场景中的决策问题。Quick Start1. 安装依赖$ pip install bkflow-dmn2. 构造决策表数据目前，bkflow-dmn 支持单表决策，支持通过 python 字典对决策表进行描述，示例如下：decision_table={"title":"decision table",# 表格标题，目前没有实际用途"hit_policy":"Unique",# 命中策略"inputs":{# 输入表"cols":[{"id":"score"},{"id":"sex"}],# 列描述"rows":[# 行对应的值["[0..70]",'"boy"'],["(70..80]",'"boy"'],["(80..90]",'"boy"'],# 对于实际场景中，如果希望【单行表示多列表达式】，则直接用字符串类型进行描述，形如 'score in (80..90] and sex="boy"'["(90..100]",'"boy"'],["[0..60]",'"girl"'],["(60..70]",'"girl"'],["(70..80]",'"girl"'],["(80..100]",'"girl"'],],},"outputs":{# 输出表"cols":[{"id":"level"}],# 列描述"rows":[# 行对应的值['"bad"'],['"good"'],['"good+"'],['"good++"'],['"bad"'],['"good"'],['"good+"'],['"good++"'],],},}其中，输入表默认会将单元格中的表达式作为整体表达式进行真值判定，同时支持一些快捷填写方式（仅在未使用【单行表示多列表达式】的情况下)：快捷填写方式补全后表达式（假设列名为 x）">=10""x>=10"">10""x>10""<=10""x<=10""<10""x<10""[1..2]""x in [1..2]""(1..2]""x in (1..2]"'"boy"''x="boy"'"1""x=1""1.2""x=1.2""-1""x=-1""-2.3""x=-2.3""true""x=true""false""x=false""null""x=null"3. 调用函数进行决策frombkflow_dmn.apiimportdecide_single_tablefacts={"score":10,"sex":"boy"}# 输入表的列数据和上下文result=decide_single_table(decision_table,facts,strict_mode=True)# [{"level": "bad"}]如需进行多表决策，目前可结合 流程引擎bamboo-engine实现。4. 支持的命中策略命中策略说明Unique唯一命中, strict_mode 下需要保证只有一条规则命中Any任意命中，strict_mode 下需要保证有命中结果且命中的结果是唯一的First第一命中, strict_mode 下需要保证有规则命中Priority优先级命中，以输出作为排序优先级，strict_mode 下需要保证有规则命中，且优先级排序结果唯一RuleOrder多规则命中策略，按照规则定义顺序输出OutputOrder多输出命中策略，按照输出顺序排序输出Collect多输出命中策略，输出所有符合的结果Collect(Sum)多输出命中策略，按照输出值求和Collect(Max)多输出命中策略，按照输出值求最大Collect(Min)多输出命中策略，按照输出值求最小Collect(Count)多输出命中策略，按照输出值求个数