Saravanan666/pypi-org huggingface dataset:
Package: godot-api-refs
Make links to the Godot API referencesThis is a small tool to create links to the Godot Help API's and store them as a JSON file in the following format:{
    "animationplayer": "https://docs.godotengine.org/en/stable/classes/class_animationplayer.html", 
    "directionallight": "https://docs.godotengine.org/en/stable/classes/class_directionallight.html", 
    "joint2d": "https://docs.godotengine.org/en/stable/classes/class_joint2d.html",
    "collisionobject2d": "https://docs.godotengine.org/en/stable/classes/class_collisionobject2d.html",
    "physicsbody": "https://docs.godotengine.org/en/stable/classes/class_physicsbody.html",
    "visibilitynotifier2d": "https://docs.godotengine.org/en/stable/classes/class_visibilitynotifier2d.html",
       .
       .
       .
}The Json file can then be used as a list, dictionary etc. to link the Godot class name with its associated help
page on the godot website.PrerequisitesThe program relies upon the GhApi library and instructions for its installation and use; it will fail to install if the GhApi library is not already installed.  Instruction for the installation of GhApi can be found athttps://ghapi.fast.aiInstallingYou can install the Godot api reference maker package with pip:# On Linuxpython3-mpipinstallgodot-api-refs# On Windows, if you installed Python 3.7+, you can use:python-mpipinstallgodot-api-refsI do not have access to a MacOS box so cannot test if it installs and runs OK in that environment.  However, the program is quite simple so it should prove no problem for a standard python environment.Running the programThe program can be run usingpython -m godot_api_refsThis will generate the Godot class links from the stable branch and store them in the file godot_api_calls.json in the current working directoryThe progam can be invoked with -h which will give the following output:usage: python -m godot_api_ref [options]

Given a godot-docs branch it scans the class folder and creates a JSON file linking the Godot class name with the API reference

optional arguments:
  -h, --help        show this help message and exit
  --token TOKEN     optional github access token (default "" may only gives 60 reads/hour)
  --branch BRANCH   optional branch for the class files (default: stable)
  -v, --verbose     Set the verbosity level. For example -vv sets verbosity to level 2. Default: 0.
  --check-branches  print out a list of the Godot document branches then exit without making the linksThe Godot API list can be read from branches other than the stable branch if you require it by using the --branch option (for example--branch masterwill load links to the latest API documentation. )The option--check-branchesis an aid to show what branches are available on github; it will print out a simple list then exit.The option--tokenallows the user to supply an github user token.  This is available in case the user has exhausted their calls to the github api using unauthenticated requests.The output file will begodot_api_calls.jsonand will be placed in current working directory.
Package: godot-build
godot-buildBuild tool for Godot projects, this makes it easy to do CI/CD.Features:Export projects: release, debug, packUse global templates and system installed godotUse local templates and game engineDownload the required version of templates and game engineAuto patchexport_presets.cfgto use required templatesRun tests (GUT support)Return code is 0 if build/test normally. Else return code is 1.Warning: support for operating systems other than Linux is not guaranteed and has not been tested!InstallRequired python: >= 3.6pipinstallgodot-build# oryay-Sgodot-buildOr download source code and runpython godot-build/gdbuild.py.Usegdbuild-p$PATH_TO_PROJECT-i# after edit gdbuild.jsongdbuild-p$PATH_TO_PROJECT--testall
gdbuild-p$PATH_TO_PROJECT-o$PATH_TO_BIN_OUTPUT--presetHTML5More help:[user@pcgdbuild]$gdbuild--help
usage:gdbuild--presetHTML5

options:-h,--helpshowthishelpmessageandexit-pPATH,--pathPATHpathtogodotprojectdirectory-oOUTPUT,--outputOUTPUTpathtooutputdirectory--presetPRESETnameofpreset--packPACKexportpack(*.pckor*.zip)--debugDEBUGexportdebugbuild--test{internal,all,command}runtest-i,--initinitializegdbuildproject-d,--downloaddownloadengineandtemplatesConfiggdbuild -p $PATH_TO_PROJECT -iorgdbuild -p $PATH_TO_PROJECT --initwill create filegdbuild.jsonin given path.Options:engine_url: url for download engine (zip file)templates_url: url for download templatez (tpz or zip file)sha512: hashes for validate downloaded archives (by file name)templates: contains template files by preset name (will use in patchexport_presets.cfg)custom: toggle use global (false) or local (true) templates and engineglobal: global paths to templates and game engine binversion: require version of templates and game enginetest_cmd: command for run tests (default setup for GUT)timeout: limit for run build or test in secondsfail_regex: regex for parse failed tests (return code is also will check)cache_dir: path to dir for templates and engines cache storeengine_file: name of local (cached) game engine fileDetails:engine_url,templates_url,global.templates,engine_filerequire contains{version}parttemplates archive is zip archive (*.tpz or *.zip), require containstemplatesdirgame engine archive is zip archive, contains bin file (not in subdirs)test_cmdrequire{godot}and{path}partscheckversion: global may differ from local (example:3.5is local and3.5.stableis global, seeglobal.templatespath)checkrepositoryfor more details (version names and sha512 hashes)LicenseGNU GPL v3
Package: gods-eye
GOD'S EYEGod's EYE - Information Gathering Tool.
God's EYE is an Information Gathering Tool I made in python3.10.Library installationAll modules located in thesrcdirectory are APIs, so you can build a library from the sources and use it in your projects.1. How to build a library from sourcesClone this repogitclonehttps://github.com/paveldat/God-s-eye.gitGo to the cloned repositorycdGod-s-eyeInstall deb- and py-requirementspipinstall-rpy-requirements.txt
xargssudoapt-getinstall<deb-requirements.txtRun the following commandpython3-mbuild.Now you can install librarypipinstalldist/gods_eye-<version>-py3-none-any.whl2. Installation fromreleasesDownload.whlfile form releasesRun the following command:pipinstall<downloaded_file>.whl3. Installation fromPyPIpipinstallgods-eyeToolsClickjacking - Checks if the clickjacking is possible on any Domain.DnsLookup - Looks for dns lookup information for IP or Domain.exec_shell_command - Common method to execute shell commands.HttpHeadersGrabber - Looks for HTTP Headers.GetHostname - Gets hostname and IP.IpInfoFinder - Gets information by IP or Domain. Info: ip, status, region, country, country code, region, region name, city, zip, lat, lon,
timezone, isp, org, as.Logger - Logger. The Logger has 2 handlers:stream handler into console;file handler into file.OneSecMail - Creates one-time temporary mail.PhoneInfo - Gets info by phone number.PasswordPwned - Checks if password has been compromised in a data breach.RobotsScanner - A robots.txt file tells search engine crawlers which URLs the crawler can access on your site. This class will search for this file, parse it and return the result.WhoisLookup - Search for IP WHOIS information using the IP WHOIS lookup tool for any allocated IP address.How to useNow you can use this library. To connect a module to your project, just import it.
All modules can be found in thesrcdirectory.Example:fromclickjacking.clickjackingimportClickJackingIt is not difficult to guess that the following template is used here:from <directory>.<filename> import <class_name>For example:from clickjacking.clickjacking import ClickJackingBe careful, we don't use thesrcdirectory anymore.PyPIhttps://pypi.org/project/gods-eye/
Package: godslayer
⛩️God Slayer⚔️Provides generator to read Kami (god) CSV record as list of string.ContextIt's beyond CSV module😱We often face CSV files like this:populationagetotal numbermalefemale0～4213031086710436040622069199314279217121082428521522133344342268216644243220720365～921017109561006154369228320866434522132132741172163195484155214620099403121511880sum423202182320497material: Residents' Culture Department Resident Registration SectionIt's beyondCSV module😱
We just want the population for each age ...We call such a CSV fileKami CSV.FeaturesLet's iterate to read only required row from CSV💡⚔️ Skips to the row after the header row⚔️ Skips partition rows⚔️ Stops iteration bedore footer rowQuickstartpip install godslayerLet's resolve above example:frompathlibimportPathdefprint_required_row():god_slayer_factory=GodSlayerFactory(header=["age","total","male","female"],partition=[r"^\d*〜\d*$",r"^\d*$",r"^\d*$",r"^\d*$"],footer=["sum",r"^\d*$",r"^\d*$",r"^\d*$"],encoding="shift_jis_2004",)god_slayer=god_slayer_factory.create(Path("/path/to/file.csv"))forrecordingod_slayer:print(record)['0', '4062', '2069', '1993']['1', '4279', '2171', '2108']['2', '4285', '2152', '2133']['3', '4434', '2268', '2166']['4', '4243', '2207', '2036']['5', '4369', '2283', '2086']['6', '4345', '2213', '2132']['7', '4117', '2163', '1954']['8', '4155', '2146', '2009']['9', '4031', '2151', '1880']Note that file will be closeed automatically when variablegod_slayergoes out of scope.SpecificationArgument of GodSlayerFactorypropertytypedefalutexplanationheaderOptional[List[str]]NoneIf present, God Slayer will skip to the row after the header rowpartitionOptional[List[str]]NoneIf present, God Slayer will skip partition rowsfooterOptional[List[str]]NoneIf present, God Slayer will stop iteration bedore footer rowencodingstr"utf-8"Encoding to open CSV fileHow to match list of string with rowList of strings has the same length as rowAll strings in the list are compared with the string at the same index in the row and must be one of the following:Same stringMatched the regular expressioncf.list_string_matcher.pyWhat is "Kami CSV"?"Kami CSV" is a CSV that has become a non-normal form
by adding headers, footers, intermediate lines, and notes
even though the purpose is to export data.
The etymology comes fromKami Excel.
It's often found in government office or Legacy company service.ContributingCheckCONTRIBUTING.mdCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: godspeed
GodSpeedPython Boilerplate Project contains all the boilerplate you need to create a Python package.Free software: GNU General Public License v3Documentation:https://godspeed.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand thecogsys-io/cogsys-io-cookiecutter-pypackageproject template.History0.0.0 (2023-05-20)First release on PyPI.
Package: godto
godtoData Transfer Object (DTO) codegen from JSON schemas following the OpenAPI specUsageFull OpenAPI schema modelTo work with an OpenAPI schema, load it with theModelclass,
which is a Pydantic model (however note that the class name 'Model' comes from the OpenAPI spec).fromgodto.openapi.v3importModelmodel=Model.parse_raw(schema_json)For example the Transport for LondonStopPointAPI schema
isshipped as package dataintubeulator.frompathlibimportPathpath_to_schema=Path("data/openapi/StopPoint/StopPoint.json")schema_json=path_to_schema.read_text()Model helper functionsYou can also work with partial views on the model, such as the paths and their parameters.The examples in the following code block showmodel_pathswhich loads the schema for a given spec
(by default OpenAPI v3) and returns its parameters for a specific method (by default GET):required: whether the parameter is required or optionalschema_: the schema for parsing the parameterdescription: the human-readable parameter docstring>>>fromgodto.api.modelimportmodel_paths>>>param_requirements=model_paths(schema_json,extract="required")>>>pprint(param_requirements){'/':{'categories':False,'lat':True,'lon':True,'modes':False,'radius':False,'returnLines':False,'stopTypes':True,'useStopPointHierarchy':False},'/*':{},'/Meta/Categories':{},'/Meta/Modes':{},...>>>param_schemas=model_paths(schema_json,extract="schema_")>>>param_descs=model_paths(schema_json,extract="description")>>>pprint(param_descs)>>>pprint(param_descs){'/':{'categories':'an optional list of comma separated property categories '"to return in the StopPoint's property bag. If null or "'empty, all categories of property are returned. Pass the ''keyword "none" to return no properties (a valid list of ''categories can be obtained from the ''/StopPoint/Meta/categories endpoint)','lat':'Format - double. the latitude of the centre of the bounding ''circle','lon':'Format - double. the longitude of the centre of the bounding ''circle','modes':'the list of modes to search (comma separated mode names e.g. ''tube,dlr)','radius':'Format - int32. the radius of the bounding circle in metres ''(default : 200)',...RequirementsPython 3.9+
Package: god-tool
FeaturesAutomatically re-run the application when modifying the soruce.Deploy the application like Capistrano. it's powerful but simple.How to install$ pip3 install gat-toolthen you can use "gat init" command under the foler which you want to use.How to useInitialization$ gat initIt generates gat.yml and gat_my.py files.gat.ymlYou can define the configure of the application and the server definition for the application deployment in this file.gat_my.pyYou can define and expand the jobs for running and deployments.
Package: godwill
gwillgwill是什么gwill是一个占卜工具，名字的意思是"神的旨意"，工具运用了周易64卦占卜术，即科学又简便，即使没有任何周易相关的知识储备，只要简单安装gwill，在自己的电脑上即可简单的占卜运势。周易易经是我国古代哲学、自然科学与社会科学相结合的一部巨著，历来被尊称中国文化的百科全书，千百年来，易经对我国的哲学、史学、文学、宗教、自然科学及社会科学都有着巨大的影响。严格说来《易经》和《易传》构成了《周易》；而《周易》、《连山》、《归藏》又构成了《三易》。《连山》是夏代的易学，《归藏》是殷代的易学，《周易》是周代的易学。可惜，《连山》、《归藏》已失传。《易经》又称本经，简称《易》，成书于西周初至晚周，距今约三千年前。《易经》由卦辞及爻辞组成。共有六十四卦，每卦有六爻，共三百八十四爻。而《易传》有十翼即：彖上、彖下、象上、象下、文言、系辞上、系辞下、说卦、序卦、杂卦十篇。《易传》成书于春秋至战国中期，是对易经的注释和发挥。史学界认为《周易》为伏羲、文王、周公、孔子四圣合著，即伏羲画八卦，文王作卦辞，周公著爻辞，孔子撰《易传》。易经的核心就是著名的“三易说”，即：简易、变易、不易。简易：是指世界上的事物再复杂再深奥，一旦人类的智慧达到，就可以把它们转换成人们容易理解和处理的问题。
变易：是指世界上的万事万物每时每刻都在变化发展着，没有一样东西是不变的，如果离开这种变化，宇宙万物就难以形成。
不易：是指在宇宙间万物皆变的前提下，还有唯一不变的东西存在，就是能变出万象之物的东西不变；即是说万物皆变的规律是永远不变的。易经的表达方式是八卦，而八卦又延伸为六十四卦。八卦是由：乾、兑、离、震、巽、坎、艮、坤八个单卦组成。知道了八卦就可以推出六十四卦。
　　乾：天
　　坤：地
　　兑：水
　　离：太阳
　　震：雷
　　坎：月亮
　　艮：山
　　巽：风
在《易经》经文中，用"-"表示阳爻，用"--"表示阴爻。阴阳爻就组成了卦。
具体说，每一个卦有六个爻，或者是由三个阳爻或三个阴爻组成；或者是由一个阴爻与两个阳爻；或是由一个阳爻与两个阴爻组成。八卦就是八个单卦。再由八个单卦互相重合，组成六十四卦。韩国国旗的太极和八卦思想来自中国的《周易》。以太极为中心，四角的卦分别象征阴阳互相调和，乾卦代表天空，坤卦代表大地，坎卦是月亮和水，离卦为太阳和火，各个卦还象征着正义、富饶、生命力和智慧。
"易有太极，是生两仪，两仪生四象，四象生八卦"。阴阳的变化由太极开始，由太极产生出两仪即阴阳。即有阴阳，使相互感应，阳育阴，阴含阳，于是阴中有阳，阳中有阴，所以阴阳二气，又分为四，名曰四象。四象现在一般是指少阳、老阳、少阴、老阴。
先天八卦又称伏羲八卦是按其数字排列运行为乾一、兑二、离三、震四、巽五、坎六、艮七、坤八，这就是先天八卦数。后天八卦传说为周文王所制，又称文王八卦。其排列次序为坎一、坤二、震三、巽四、中五、乾六、兑七、艮八、离九。世界上的万事万物没有形成以前的状况，叫先天，有了万事万物，就是后天了。换句话说，人在娘胎里是先天，离开娘胎是后天，先天后天是划分阶段范围的一种界说。
根据先天八卦的次序，我们可以知道人在母腹中，首先开始生头，因为乾为一，次生肺，因为兑为二，次生心，因为离为三，次生肝胆，因为震为四、巽为五，次生肾，　因为坎为六，次生肠胃，因为艮为七，次生肌肉，因为坤为八。
先天八卦说的是宇宙形成时的状况，后天八卦说的是宇宙以内的变化和运用的法则。gwill的安装工具基于Python3.7版本开发，建议在安装前安装3.7版本。源代码安装拉取源代码$ git clone https://github.com/rockyCheung/godwill安装$ cd godwill
$ python setup.py installpip安装$ pip install gwill工具使用安装完成后即可使用gwill指令进行简单占卜～指令格式$ gwill <1 2 3 4 5 6>gwill后边的参数仅支持整数，一次可输入至多6个整数，不输或少输则工具会随机选取数字进行占卜～
Package: goecharger
goecharger API (WIP)Python API for accessing the go-eCharger EV-Charger via the local http-EndpointTested with the "go-eCharger HOME+" CEE-VersionWarning: WIP - Breaking changes possibleThis is the first version of the API so there are still breaking chnages possible eg. output parameter names or values.LinksProduct HomepageAPI-DocumentationProject HomepagePyPi PackageHome Assistant Integrationgoecharger CLI App(TBD / WIP)FeaturesQuery Charger StatusSet Charger ConfigurationInstallpip install goechargerExamplefromgoechargerimportGoeChargercharger=GoeCharger('192.168.1.1')# <- change to your charger IPprint(charger.requestStatus())
Package: goecharger-api-lite
goecharger API (lite)Lightweight Python API for accessing modern go-eCharger EV wallboxes using local HTTP API v2go-eChargermodels:GeminiGemini flexHOMEfixHOME+Table of contentsFeaturesInstallationUsage ExamplesQuery StatusPretty Print StatusSet ConfigurationLinksFeaturesQuery Charger StatusSet Charger ConfigurationUses asynchronous aiohttp requests for communicationInstallationpip install goecharger-api-liteUsage ExamplesQuery Statusfromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# get full statusstatus=charger.get_status(status_type=GoeCharger.STATUS_FULL)# essential status (car state, wallbox state, wallbox error)status=charger.get_status(status_type=GoeCharger.STATUS_MINIMUM)# status for custom API keys (friendly name, OEM manufacturer)status=charger.get_status(("fna","oem"))Hint: Pretty Print Statusimportjsonprint(json.dumps(status,indent=4)){
    "fna": "myEVCharger",
    "oem": "go-e"
}Set ConfigurationInterrupt and restart EV charging sessionfromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# STOP current charging sessioncharger.set_charging_mode(charger.SettableValueEnums.ChargingMode.off)# restart charging session againcharger.set_charging_mode(charger.SettableValueEnums.ChargingMode.neutral)Set charge rate (ampere) and number of phasesfromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# set to 1 phase, 13 amperecharger.set_phase_mode(charger.SettableValueEnum.PhaseMode.one)charger.set_ampere(13)# set to 3 phases, 16 amperecharger.set_phase_mode(charger.SettableValueEnum.PhaseMode.three)charger.set_ampere(16)# set phase mode to autocharger.set_phase_mode(charger.SettableValueEnum.PhaseMode.auto)# set maximum possible charge rate of the charger (ampere)# this will limit the maximum charge rate that can be set by the user, i.e. via the appcharger.set_absolute_max_current(10)Set cable lock modefromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# set to require unlocking the car firstcharger.set_cable_lock_mode(charger.SettableValueEnum.CableLockMode.unlockcarfirst)# set to automatically unlock after chargingcharger.set_cable_lock_mode(charger.SettableValueEnum.CableLockMode.automatic)# set to always lock the cablecharger.set_cable_lock_mode(charger.SettableValueEnum.CableLockMode.locked)Set charge limitfromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# set charge limit to 2.5 kWhcharger.set_charge_limit(2500)# Disable charge limitcharger.set_charge_limit(None)Set Generic API Keyfromgoecharger_api_liteimportGoeChargercharger=GoeCharger("192.168.1.150")# --> change to your IP# set generic API key (friendly name: "myEVCharger")charger.set_key("fna","myEVCharger")Linksgoecharger-api-lite GitHub repositorygoecharger-api-lite on Pypigo-E Website (manufacturer)go-E API v2 specificationgo-E API Keys (query status, set configuration)
Package: goechargerv2
goechargerv2A python API to access the Go eCharger wallbox. Official Go-eChargerAPI documentation.Installing the library locallypython3-mpipinstall-e.This is needed for the first time when working with the library/examples/tests.Example usageGOE_API_URL="https://REPLACE_ME.api.v3.go-e.io"GOE_API_TOKEN="REPLACE_ME"python3examples/simple.pyorfromgoechargerv2.goechargerimportGoeChargerApicharger=GoeChargerApi('provide_api_url','provide_api_token')# or you can define additional optional parameters# charger = GoeChargerApi('provide_api_url', 'provide_api_token', timeout=10, wait=True)print(charger.request_status())DevelopmentLintingpylinttests/*.pysrc/**/*.pyUnit testingpython3-munittest-vtests/*.py
Package: goedwig
A generic query engine for graph data, based on abstract syntax trees as input.Installpython3 -m venv venv
source venv/bin/activate

python3 -m pip install -r requirements.txtRun examplepython3 sample.pyBuild setuppython3 -m pip install -U pip setuptools wheel
python3 -m pip install -r requirements-dev.txtWe usepre-commit hooksbased onpre-commitand to configure that locally:pre-commit install
git config --local core.hooksPath .git/hooks/Then initialize the tag-based versioning:TAG=$(git tag | sort -r | head -1)
echo "'git tag'" > goedwig/tag.py
echo "TAG = '$TAG'" >> goedwig/tag.pyPackage releasepython3 setup.py install --dry-run
./bin/push_pypi.shAbout the nameThe namegoedwigis Welsh/Gymraeg –
pronounced/ˈɡɔi̯dwɪɡ/–
which means"forest".
Herein we parse many trees.
Package: goeieDAG
goeieDAG/ɣu.jə.ˈdɑx/: hello, good day (Dutch greeting used during daytime)goeieDAG provides a neutral Python API to Ninja and Make (TODO) build systems, aiming to
make it extremely easy to benefit from parallel processing in any graph-like workflow.UsagefrompathlibimportPathimportgoeiedagfromgoeiedagimportALL_INPUTS,INPUT,OUTPUTworkdir=Path("output")graph=goeiedag.CommandGraph()# Extract OS name from /etc/os-releasegraph.add(["grep","^NAME=",INPUT,">",OUTPUT],inputs=["/etc/os-release"],outputs=["os-name.txt"])# Get usernamegraph.add(["whoami",">",OUTPUT],inputs=[],outputs=["username.txt"])# Glue together to produce outputgraph.add(["cat",ALL_INPUTS,">",OUTPUT.result],inputs=["os-name.txt","username.txt"],outputs=dict(result="result.txt"))# can also use a dictionary and refer to inputs/outputs by namegoeiedag.build_all(graph,workdir)# Print outputprint((workdir/"result.txt").read_text())Q&AWhy use thefiles and commandsmodel rather thanPython objects and functions?It is a tested and proven paradigm (maketraces back to1976!)It provides an obvious way of evaluating which products need rebuilding (subject to an
accurate dependency graph)It naturally isolates and parallelizes individual build tasksIt is agnostic as to how data objects are serialized (convenient for the library author...)Graph edges are implicitly defined by input/output file namesA high-quality executor (Ninja) is available and installable via a Python packageHow is this different from using the Ninja package directly?Simpler mental model & usage: no need to separately define build rules or think about implicit/explicit inputs and
outputsAPI accepts Paths; no need to cast everything tostr!Higher-level API in general (for example, the output directory is created automatically)Similar projectsNinja(Python package) -- provides a lower-level API,
used by goeieDAG as back-endTaskGraph-- similar project, but centered around
Python functions and in-process parallelismSnakemake-- similar goals, but a stand-alone tool rather
than a libraryDask-- different execution model; caching of intermediate results
is left up to the userdoit