Saravanan666/pypi-org huggingface dataset:
Package: arcade
Arcade is an easy-to-learn Python library for creating 2D video games.
It is ideal for beginning programmers, or programmers who want to create
2D games without learning a complex framework.Arcade is built on top of Pyglet and OpenGL.DocumentationFor full documentation seehttps://api.arcade.academyFor installation:https://api.arcade.academy/en/latest/install/index.htmlFor example code that uses the Arcade library see:https://api.arcade.academy/en/latest/examples/index.htmlFor API documentation see:https://api.arcade.academy/en/latest/quick_index.htmlLearn Arcade AND how to program:https://learn.arcade.academyRelease notes:https://api.arcade.academy/en/latest/development/release_notes.htmlGames Using ArcadeSee:https://api.arcade.academy/en/latest/sample_games.htmlContact the Maintainerpaul@cravenfamily.com
Package: arcade-accelerate
arcade-accelerateAn experimental library for acceleratingArcadeusing Rust. The module can
be imported and monkey patch Arcade, replacing functions and types with rust versions.importarcade_acceleratearcade_accelerate.bootstrap()importarcadeIt is important to run the arcade-accelerate bootstrapping process before importing Arcade, otherwise the monkey-patched versions will not be fully applied.Build / SetupFirst create and activate a Python virtual environment, then install maturin:pipinstallmaturinInstall the crate as module in the current virtual environment using Maturin. Generally
when working on performance enhancements you will want to use the--releaseflag.# Debugmaturindevelop# Releasematurindevelop--releaseThen you can installArcadeinto the same virtual environment
and run any of it's examples. Optimally testing should be done against thedevelopmentbranch of Arcade.
In order to enablearcade-accelerateadd these two lines anytime before importingarcade. It is important that
the bootstrap is done prior to importing Arcade, otherwise the monkey-patched functions/classes will not fully apply.importarcade_acceleratearcade_accelerate.bootstrap()importarcadeIf you would like to run Arcade's test suite with arcade-accelerate enabled, you can do so by setting theARCADE_PYTEST_USE_RUSTenvironment variable before running pytest on Arcade. You just need to ensure that both Arcade and arcade-accelerate are installed in the same environment.
Package: arcade-collection
Collection of tasks for working with ARCADE.
Designed to be used both inPrefectworkflows and as modular, useful pieces of code.InstallationThe collection can be installed using:pipinstallarcade-collectionWe recommend usingPoetryto manage and install dependencies.
To install into your Poetry project, use:poetryaddarcade-collectionUsagePrefect workflowsAll tasks in this collection are wrapped in a Prefect@taskdecorator, and can be used directly in a Prefect@flow.
Running tasks within aPrefectflow enables you to take advantage of features such as automatically retrying failed tasks, monitoring workflow states, running tasks concurrently, deploying and scheduling flows, and more.fromprefectimportflowfromarcade_collection.<module_name>import<task_name>@flowdefrun_flow():<task_name>()if__name__=="__main__":run_flow()Seecell-abm-pipelinefor examples of using tasks from different collections to build a pipeline for simulating and analyzing agent-based model data.Individual tasksNot all use cases require a full workflow.
Tasks in this collection can be used without the Prefect@taskdecorator by simply importing directly from the module:fromarcade_collection.<module_name>.<task_name>import<task_name>defmain():<task_name>()if__name__=="__main__":main()or using the.fn()method:fromarcade_collection.<module_name>import<task_name>defmain():<task_name>.fn()if__name__=="__main__":main()
Package: arcade-generator
arcadeYet another static site generator.FeaturesTheme customization (templates usejinja2)Live reload while editingCustomizable pathsInstallationpip install arcade-generatorCommandsCreate a new sitearcade initCompile your sitearcade buildWatch local projectarcade watchHow to useCreate a new projectarcade initModify the configuration file. An example isauthor_name: 'Yábir García Benchakhtir'
base_path: 'http://localhost:5500'
page_name: "Yabir Garcia's Blog"
theme: 'themes/baseline'
social:
  email:
    icon: 'fa-envelope'
    url: 'mailto:yabirg@protonmail.com'
  github:
    icon: 'fa-github'
    url: 'https://github.com/yabirgb'
  linkedin:
    icon: 'fa-linkedin-square'
    url: 'https://www.linkedin.com/in/yabirgb/'
  mastodon:
    icon: 'fa-mastodon'
    url: 'https://mstdn.io/@yabirgb'
  twitter:
    icon: 'fa-twitter'
    url: 'https://twitter.com/yabirgb'Create a index fileGo to thecontentand create an file calledindex.md. This will
be the entry point to your blogBuild or watch your projectarcade build
arcade watchMade with :heart: and :snake: by Yábir BenchakhtirCreditPhoto by@hartmuttobies
Package: arcade-gui
GUI Library for Python ArcadeThis library contained a first draft of GUI components for arcade game library.
These components are now fully integrated into python arcade.Experimental GUI ComponentsStarting with the version0.2.0all components that are included
in arcade will be removed.Starting with version0.2.0this library will
contain experimental components, that could move into the arcade standard.
Consider them as alpha, so breaking changes could happen in every version update.Basic Components until version0.1.0UIViewCentral class to manager the ui components.
Convertson_callback functions into events, so that UIElements
just have to contain one method to interact with user input.UIElementA general interface of an UI element.ExamplesExamples providing an overview of features, there will be dedicated documentation soon.UILabelUIButtonUIInputBoxExample with IDScreenshotsFeatures planned to work onEnhancementslayered UILayoutModalopenclosecolour backgroundimage backgroundNew ComponentsUITextAreaScrollbarChoresBackground information and other frameworksReference Pygame GUI projectsOverviewThorPyhttp://www.thorpy.org/index.htmlPhil's pyGame Utilitieshttps://www.pygame.org/project/108OcempGUIhttps://www.pygame.org/project/125PyGVisualshttps://github.com/Impelon/PyGVisualsPygame GUIHomepageExamplesQuickStart ExampleConceptUIManager manages every interaction, new elements get the UIManager on creationElements create events and hook into pygames event systemThemes can be read from JSON files
Package: arcade-imgui
Arcade ImGuiThe Python Arcade Library+pyimgui= :heart::package:PackagePrerequisiteGetPoetryClonegitclonehttps://github.com/kfields/arcade-imgui.gitcdarcade-imgui
poetryshell
poetryinstallRun an examplecdexamples
pythonbasic.pyRun the Democdimdemo
poetryinstall
pythonimdemoRun the ImFlo Democdimflo
poetryinstall
pythonimflo
Package: arcadeplus
ArcadePlus is an easy-to-learn Python library for creating 2D video games.
It is ideal for beginning programmers, or programmers who want to create
2D games without learning a complex framework.ArcadePlus is built on top of Pyglet and OpenGL.The ArcadePlus Python library is made by George Shao.ArcadePlus was forked from Arcade, a Python library made by Paul Vincent Craven.ArcadePlus is a simpler, more performant Python graphics library than Arcade.Similar performance improvements have now been integrated into the main Arcade library.How to InstallTypepip install arcadeplusinto your terminal.Performance ComparisonAs seen in the graph below, the ArcadePlus Python library has much better performance than the Arcade Python library.Pros:Massive frame rate improvements (compared to Arcade v2.3)UPDATE: As of Arcade v2.4, this depends on your machine specs. It may perform better, worse, or about the same depending on your RAM speed, GPU, and more.Cons:More memory usage.Performance Comparison with Arcade (Arcade 2.3 and earlier):Performance Comparison with Arcade (After similar changes were integrated into Arcade v2.4):Code Compatibility & ConversionWith a few simple changes (listed below), your existing Arcade code will work as intended with ArcadePlus, but an order of magnitude more efficiently.
However, any future ArcadePlus code may not work with Arcade code due to new features and optimizations that may be added.Method #1Replace any imports such asimport arcadewithimport arcadeplusUse your IDE’s built-in find function to replace all instances ofarcade.witharcadeplus.Method #2Instead ofimport arcade, useimport arcadeplus as arcade
Package: arcade-xml-generator
ARCADE XML GeneratorPip install instructionspip installRunning instructionsTo run the arcade_xml_generator rungui.pyin your preferred python interpreter. From there, simply select the values you wish to simulate and then hit run-- it's that simple.When the module is fully released, interactions with this gui will create a setup .xml file for use with ARCADE.Background on ARCADEARCADE is an agent-based modelling system, created by the Bagheri lab, that is provides information on emergent properties of groups of cells. ARCADE runs in java but requires .xml files to provide the rules to its agents. The parameter options are stored in separate .xml files and interfacing between the two can be challenging.VersionsArcade is a flexible software that allows for different setups depending on the module. This allows for simulations of different tissues such as wound healing or tumor growth. Two notable ARCADE modules are Patch and Potts. Currently the xml_generator is only set up for patch but planned development includes a potts module.Structure of Set Up .xml FileThe set up .xml file that is produced by the ARCADE XML Generator will have the following primary branches:Series and Set -- These parameters general instructions for the simulation such as how long the simulation is, the tick rate, and how many simulations should be run.Populations -- These parameters determine the rules for the agents such as tumor cells or healthy tissue cells.Actions -- These parameters determine disturbances to the population such as mutations or injury.Layers -- These parameters determine the environment such as oxygen or TGFA.Components -- These parameters determine the spatial organization of the layers.An example of this file can be seen in docs/example_output/setup_hex.xmlThese files are produced by parsing multiple .xml files and combining them with user input. A patch setup file, for instance, reads in both a parameter.xml file and parameter.patch.xml file.DependenciesThe primary dependencies of this software are PyQt, ElementTree, sys, os, dataclasses, typing, and copy.To be DevelopedComing in this VersionAbility to save GUI inputsCompiling functionalityPatch functionalityFuture VersionsLinterRun Commands in BashRun directly into ARCADE buttonPotts functionality
Package: arcadia_power_assessment
This repository contains the code for the Arcadia Power assessmentPrerequisitesInstall Python 3.7
pip install requests
pip install beautifulsoup4
pip install mockbill_info_scraper.pyWeb scraper that retrieves user power bill information
usage: python bill_info_scraper username password [options]
username: User name to submit to server
password: Password to submit to server
form-url: Url for login form.  This is how login information is submitted and verified
target-url: Url for final destination.  Url to retrieve bill informationbill_info_scraper_test.pyScript that tests the functionality of the above script.
Package: arcaea-offline
Arcaea OfflineEnglish |简体中文AcceptlrlowiroWIPWarningThis project is under active development, thus it is unstable and API may change frequently.What is this？This is the core library ofArcaea Offline, designed to manage player scores, calculate their potential, and provide various useful tools.How to use this？This repository is a python library.For general users, if you don't know what is a "library", you may be interested aboutthis GUI.For developers, the documentation is under construction. Check back later!LicenseThis file is part of arcaea-offline.arcaea-offline is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.arcaea-offline is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with arcaea-offline. If not, seehttps://www.gnu.org/licenses/.CreditsArcaea-Infinity/ArcaeaSongDatabase
Package: arcaea-offline-ocr
Arcaea Offline OCRExampleimportcv2fromarcaea_offline_ocr.device.ocrimportDeviceOcrfromarcaea_offline_ocr.device.rois.definitionimportDeviceRoisAutoT2fromarcaea_offline_ocr.device.rois.extractorimportDeviceRoisExtractorfromarcaea_offline_ocr.device.rois.maskerimportDeviceRoisMaskerAutoT2fromarcaea_offline_ocr.phash_dbimportImagePhashDatabaseimg_path="/path/to/opencv/supported/image/formats.jpg"img=cv2.imread(img_path,cv2.IMREAD_COLOR)rois=DeviceRoisAutoT2(img.shape[1],img.shape[0])extractor=DeviceRoisExtractor(img,rois)masker=DeviceRoisMaskerAutoT2()knn_model=cv2.ml.KNearest.load("/path/to/trained/knn/model.dat")phash_db=ImagePhashDatabase("/path/to/image/phash/database.db")ocr=DeviceOcr(extractor,masker,knn_model,phash_db)print(ocr.ocr())$pythonexample.py
DeviceOcrResult(rating_class=2,pure=1135,far=11,lost=0,score=9953016,max_recall=1146,song_id='ringedgenesis',song_id_possibility=0.953125,clear_status=2,partner_id='45',partner_id_possibility=0.8046875)LicenseThis file is part of arcaea-offline-ocr, as called "This program" below.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttps://www.gnu.org/licenses/.Credits283375/image-phash-database
Package: arcaflow-plugin-kill-pod
Chaos Engineering Kill Pod Plugin for ArcaflowThis plugin implements the Kill Pod scenario used byredhat-chaos/krknfor Chaos Engineering experiments on Kubernetes.TestingFor testing this plugin you need a kubernets instance. Within CI we are usingKinD.The test is going to read your kubeconfig file which defaults to~/.kube/config.The code requires Python >= 3.9 in order to work.python -m venv .venvsource .venv/bin/activatepip install poetrypoetry installpoetry run python -m coverage run -a -m unittest discover -s tests -vpoetry run python -m coverage html
Package: arcaflow-plugin-sdk
Python SDK for the Arcaflow workflow engine (WIP)How this SDK worksIn order to create an Arcaflow plugin, you must specify aschemafor each step you want to support. This schema describes two things:What your input parameters are and what their type isWhat your output parameters are and what their type isNote, that you can specifyseveral possible outputs, depending on what the outcome of your plugin execution is. You should, however, never raise exceptions that bubble outside your plugin. If you do, your plugin will crash and Arcaflow will not be able to retrieve the result data, including the error, from it.With the schema, the plugin can run in the following modes:CLI mode, where a file with the data is loaded and the plugin is executedGRPC mode (under development) where the plugin works in conjunction with the Arcaflow Engine to enable more complex workflowsFor a detailed description please seethe Arcalot website.RequirementsIn order to use this SDK you need at least Python 3.9.Run the example pluginIn order to run theexample pluginrun the following steps:Checkout this repositoryCreate avenvin the current directory withpython3 -m venv $(pwd)/venvActivate thevenvby runningsource venv/bin/activateRunpip install -r requirements.txtRun./example_plugin.py -f example.yamlThis should result in the following placeholder result being printed:output_id:successoutput_data:message:Hello, Arca Lot!Generating a JSON schema fileArcaflow plugins can generate their own JSON schema for both the input and the output schema. You can run the schema generation by calling:./example_plugin.py --json-schema input
./example_plugin.py --json-schema outputIf your plugin defines more than one step, you may need to pass the--stepparameter.Note:The Arcaflow schema system supports a few features that cannot be represented in JSON schema. The generated schema is for editor integration only.Generating documentationCheckout this repositoryCreate avenvin the current directory withpython3 -m venv $(pwd)/venvActivate thevenvby runningsource venv/bin/activateRunpip install -r requirements.txtRunpip install sphinxRunpip install sphinx-rtd-themeRunsphinx-apidoc -o docs/ -f -a -e src/ --doc-project "Python SDK for Arcaflow"Runmake -C docs htmlDeveloping your pluginWe have a detailed guide on developing Python plugins onthe Arcalot website.
Package: arcalc
This script will help you calculate the optimal width and height for
video footage you wish to reencode. Never mess up any aspect ratio
again.LicenseApache v2.0 License
Copyright 2014 Martin Simon

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.Buy me a coffee?If you feel like buying me a coffee (or a beer?), donations are welcome:WDC : WbcWJzVD8yXt3yLnnkCZtwQo4YgSUdELkj
HBN : F2Zs4igv8r4oJJzh4sh4bGmeqoUxLQHPki
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
Package: arcalive
아카라이브 API이 라이브러리는 아카라이브에 접근할 수 있게 해주는 API입니다.예시import arcalive
import json

api = arcalive.ArcaAPI()
info = (api.get_channel_info('programmers'))
print(json.dumps(info, sort_keys=True, indent=4, ensure_ascii=False))결과:{
    "category": [
        {
            "display_name": "공지사항",
            "name": "%EA%B3%B5%EC%A7%80%EC%82%AC%ED%95%AD"
        },
        {
            "display_name": "하드웨어",
            "name": "%ED%95%98%EB%93%9C%EC%9B%A8%EC%96%B4"
        },
        {
            "display_name": "보안",
            "name": "%EB%B3%B4%EC%95%88"
        },
        {
            "display_name": "윈도우",
            "name": "%EC%9C%88%EB%8F%84%EC%9A%B0"
        },
        {
            "display_name": "리눅스",
            "name": "%EB%A6%AC%EB%88%85%EC%8A%A4"
        },
        {
            "display_name": "게임 제작",
            "name": "%EA%B2%8C%EC%9E%84%20%EC%A0%9C%EC%9E%91"
        },
        {
            "display_name": "C",
            "name": "C"
        },
        {
            "display_name": "Java",
            "name": "Java"
        },
        {
            "display_name": "Python",
            "name": "Python"
        },
        {
            "display_name": "그외 언어",
            "name": "%EC%BD%94%EB%94%A9"
        },
        {
            "display_name": "웹",
            "name": "%EC%9B%B9"
        },
        {
            "display_name": "임베디드",
            "name": "%EC%9E%84%EB%B2%A0%EB%94%94%EB%93%9C"
        },
        {
            "display_name": "조언",
            "name": "%EC%A1%B0%EC%96%B8"
        },
        {
            "display_name": "질문",
            "name": "%EC%A7%88%EB%AC%B8"
        }
    ],
    "juddak": "@허언채팅",
    "name": "컴퓨터공학 채널",
    "subscribe": 1646
}DOCSArcaAPI.__init__(**kwarg)**kwarg매 request 마다 사용할 argArcaAPI.login(id, password)id유저의 IDpassword유저의 비밀번호아카라이브에 로그인합니다.
댓글 작성, 게시물 작성, 권한이 필요한 행동이 할때 먼저 로그인이 필요합니다.ArcaAPI.delete_post(id)id게시물의 ID게시물을 삭제합니다.ArcaAPI.delete_comment(pid, id)pid게시물의 IDid댓글의 ID댓글을 삭제합니다.ArcaAPI.post_article(channel, name, content, category=None, copy_humor=False, agree_prevent_delete=False)channel채널의 IDname게시물 이름content게시물 content (HTML)category카테고리 namecopy_humor유머 채널 복사 여부agree_prevent_delete자삭 방지 게시물 동의 여부게시물을 업로드합니다ArcaAPI.get_channel_info(channel)channel채널의 ID채널의 정보를 dic으로 return 합니다.ArcaAPI.get_channel_article(channel, page=1, best=False, category=None, cut_rate=None, sort=None)channel채널의 IDpage게시물 페이지best개념글 유무category카테고리cut_rate추천컷sort정렬search검색어search_target검색 종류채널의 게시물과 공지의 리스트를 return 합니다.ArcaAPI.get_article(id)id게시물의 ID게시물의 정보, 내용, 댓글을 return 합니다.ArcaAPI.post_comment(id, message, reply_to=None)id게시물의 IDmessage댓글 내용reply_to덧글을 달 댓글 ID댓글을 답니다.ArcaAPI.like(id, dislike=False)id게시물의 IDdislike비추천 여부추천/비추천 합니다.ArcaAPI.get_cookie()쿠키를 dict 형태로 return합니다.ArcaAPI.get_notification()알람을 return합니다.
Package: arcam-fmj
This module supports controlling an Arcam FMJ receiver (as well as JBL and AudioControl processors) over the network.
It’s built mainly for use with the Home Assistant project, but should work for other projects as well.StatusModuleCode to set volume and source using library.asyncdefrun():host='192.168.0.2'port='50000'zone=1volume=50source=SourceCodes.PVRclient=Client(host,port)asyncwithClientContext(client):state=State(client,zone)awaitstate.set_volume(volume)awaitstate.set_source(source)loop=asyncio.get_event_loop()loop.run_until_complete(run())ConsoleThe module contains a commandline utility to test and request data from
calledarcam-fmj.Code to set volume and source using console.arcam-fmjstate--host192.168.0.2--port50000--source5--volume50
Package: arcan
Arcan: AI Driven Data Pipeline OrchestrationYour data bridging concierge. Leverage AI to integrate diverse big and small data stack tools with ease. Visit our live demo atarcanapp.io.IntroductionArcan is an innovative open-source solution designed to bridge modern and legacy data stack tools through a multiheaded package based on a smart pipeline generation and orchestration. Leveraging a hybrid Next.js + Python app, arcan provides a user-friendly interface for you to request data pipelines creation using natural language, Arcan simplifies and enhances your data operations.OverviewLeverage AI and pipeline manifests to integrate diverse data stack tools with ease. Check out our live demo atarcanapp.io.InstallationQuick Installpython -m pip install arcanBuild from Sourcegit clone https://github.com/Broomva/arcan.git
cd arcan &&  make buildManual Buildconda create -n arcan python=3.10
conda activate arcan
pip install -r requirements.txt
python setup.py installBuilding the Next.js AppTo clone the repository and create the Next.js app, you can use the following commands:npx create-next-app arcan --example "https://github.com/Broomva/arcan"Once you have cloned the repository and created the app, install the dependencies:yarn installAfter that, you can run the development server:yarn dev
# or
make rerunYou can then view your application by openinghttp://localhost:3000with your browser.Subscription ModelArcan operates on a freemium/subscription model. While the open-source code can be deployed in your own environment free of charge, we offer several subscription tiers for access to premium features such as enhanced support, more extensive pipeline manifests, and additional tools. Visit ourPricing Pagefor more details.Live Demo & DeploymentCheck out our live demo atarcanapp.io.To deploy Arcan on your own, you can clone & deploy it with one click:Learn MoreTo learn more about the technologies we use, check out:Next.js DocumentationFastAPI DocumentationAttributionArcan builds upon the hard work of others. Here are the original repositories we leveraged:NextJS FastAPI TemplateInStock App