Saravanan666/pypi-org huggingface dataset:
Package: kia-remarketing-supply
Kia Remarketing SupplyPeopleSupervisor: Jung Park (jungpark@kiausa.com)Data Scientist: Jason Kim (jasonkim@kiausa.com)Business Analyst: Michael Bautista (mbautista@kiausa.com)PowerBI Dashboard for FleetDashboardAutomationThe bash scripts for running the ./clean_jupyter_notebooks is found in ./bash_scriptsScheduled runs using crontabThe current inventory fleet predition simulates sold dates from today + 45 days on a daily basis as 7:10 am PSTThe fleet model is scheduled to retrain every week at 8:05 am PST on Sundayscrontab -lCRON_TZ=UTC* * * * * /bin/bash /home/kma62139/python_projects/kia_remarketing_supply/bash_scripts/send_queued_email.sh0 14 * * * /bin/bash /home/kma62139/python_projects/kia_remarketing_supply/bash_scripts/fleet_ci_predict_sim_sale_price.sh ;  mail -s "Kia Remarketing Supply: 2.0-jmk-predict_fleet_ci.ipynb"jasonkim@kiausa.com< /home/kma62139/python_projects/kia_remarketing_supply/logs/2.0-jmk-predict_fleet_ci.log tail -105 15 * * 0 /bin/bash /home/kma62139/python_projects/kia_remarketing_supply/bash_scripts/fleet_train_model.sh ; mail -s "Kia Remarketing Supply: 1.0-jmk-fleet_training.ipynb"jasonkim@kiausa.com< /home/kma62139/python_projects/kia_remarketing_supply/logs/1.0-jmk-fleet_training.log tail -10
Package: kib
# kib
Kubernetes image builder is simple service capable to build custom images and push them to registry. It is using [Custom resources](https://kubernetes.io/docs/concepts/api-extension/custom-resources/) and image controller.Image controller is listening for changes in Kubernetes API and build missing images.## InstalationCreate custom resources` kubectl apply-fresources/ `Run controller (running in container/pod will be available in next version)` python3-mkib `Add Image resources and wait for them to get builded. Image examples can be found inexamples/## ConfigurationConfiguration options are defined by environment variables.Name | Default | Description
— | — | —KIB_CONFIG|incluster| Define how to load configurationKIB_BUILD_MISSING|1| Build missing images on startKIB_WATCH|1| Keep watching for new images## Demo[![asciicast](https://asciinema.org/a/137445.png)](https://asciinema.org/a/137445)
Package: kibana-backup-simple
Simple backup for Kibana saved objects: config, index patterns, dashboards, saved searches, etc.Uses python3 and awesomepython-requestslibrary.UsageBackup/restore default namespacekibana-backup.py backup [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] > backup.ndjsoncat backup.ndjson | kibana-backup.py restore [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD]Backup non-default namespacekibana-backup.py backup [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] --space-id=myspace --backup-file=myspace.ndjsonBackup/restore all namespaceskibana-backup.py backup [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] --all-spaces --backup-file-prefix=backup-Result:backup-default.ndjson backup-myspace.ndjson backup-myspace2.ndjsonkibana-backup.py restore [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] --all-spaces --backup-file-prefix=backup-Restoresbackup-default.ndjsonto spaceid=default,backup-myspace.ndjsonto spaceid=myspace, ...InstallationFrompypi.org:pip install kibana-backup-simpleLocal installation:gitclonehttps://github.com/selivan/kibana-backup-simple.gitcdkibana-backup-simple
pythonsetup.pyinstallOr just create a Docker image and use it:dockerbuild-tkibana-backup-simple.
dockerrun-it--rm-v"$PWD":/optkibana-backup-simple[options]Note: if you use options like--all-spacesand--backup-file, you should mount some local directory into the container.Documentationhttps://www.elastic.co/guide/en/kibana/current/saved-objects-api-export.htmlhttps://www.elastic.co/guide/en/kibana/current/saved-objects-api-import.htmlhttps://www.elastic.co/guide/en/kibana/current/spaces-api-get-all.htmlLicenseWTFPLP.S.If this code is useful for you - don't forget to put a star on it'sgithub repo.
Package: kibana-ql
kibana-qlParser for the Kibana Query Language (KQL).Installpipinstallkibana-qlUsefromkibana_qlimportKqlParserp=KqlParser()tree=p.parse("field: value")p.ast(tree)# {'field': 'field', 'value': 'value'}tree=p.parse('document: "tax" and @date > now-2w')p.ast(tree)# {'op': 'and', 'left': {'field': 'document', 'value': 'tax'}, 'right': {'field': '@date', 'op': '>', 'value': ('now-2w',)}}Testspy-munittestdiscover-v-stests-p"*_test.py"NotesGrammar file based onhttps://github.com/elastic/kibana/blob/main/packages/kbn-es-query/src/kuery/grammar/grammar.peggy.
Package: kibitzr-keyring
Once this extension package is installed Kibitzr’scredswill be augmented withkeyringdictionary.keyringdictionary has following structure:{service: {key: value}}.credsdictionary is available in many parts of Kibitzr checks. To access it from Python code use:creds['keyring']['<service>']['<key>']When using in Jinja templates you can use the same form, or shortcut:creds.keyring.<service>.<key>Kibitzr credentials documentation.Keyring documentation.Installpip install kibitzr_keyringUsage exampleAdd new credentials to system keyring:$ keyring set discover username
Password for 'username' in 'discover': john
$ keyring set discover password
Password for 'password' in 'discover': doeUse those credentials inkibitzr.yml:checks:
  - name: Discover
    url: https://www.discover.com/
    form:
      - id: userid
        creds: keyring.discover.login
      - id: password
        creds: keyring.discover.password
    delay: 5
    transform:
        - css: .current-balance
        - text
        - changes: verbose
    notify:
        - mailgun
    error: ignore
    period: 3600
    headless: falseRun kibitzr, it will take discover credentials from system keyring.NoteTested only with GNOME Keyring under Ubuntu 16.04.
Don’t hesitate to open an issue if having any problems.
Package: kibitzr-sentry
# kibitzr-sentrySend errors from Kibitzr checks to Sentry.# Installation```pip install kibitzr-sentry```# ConfigurationTo setup this extension add following configuration to kibitzr-creds.yml:```sentry:dsn: "https://123:456@sentry.io/789"level: error```Note quotes aroung URL, they are required to disambiguateYAML parser from parsing collon symbol as key-value mapping.
Package: kibot
KiBot (formerly KiPlot)KiBot is a program which helps you to generate the fabrication and
documentation files for your KiCad projects easily, repeatable, and most
of all, scriptably. This means you can use a Makefile to export your
KiCad PCBs just as needed, or do it in a CI/CD environment.For more information consult thedocumentation(hosted by Read the Docs)If you are looking for the last features and fixes visit thedev branchIf you want to see an example of what KiBot can generate visit thisproject
Package: kicad2junit
kicad2junitA utility to convert KiCad DRC/ERC reports to Junit reports for CI/CD checks.InstallThe utility is available onpypiand can be installed by pip:pip install kicad2junitUsageDRCusage: drc2junit [-h] [--project [PROJECT]] [--project-dir PROJECT_DIR] [--warn-error] [input] [output]

Convert KiCad DRC report to JUnit

positional arguments:
  input                 JSON DRC report
  output                JUnit XML output

options:
  -h, --help            show this help message and exit
  --project [PROJECT]   Kicad project file
  --project-dir PROJECT_DIR
                        Kicad project directory
  --warn-error          Treat warnings as errorsExamplekicad-clipcbdrc/path/to/project.kicad_pcb--formatjson--outputdrc.json
drc2junitdrc.jsondrc.junit.xml--project/path/to/project.kicad_proERCusage: erc2junit [-h] [--project [PROJECT]] [--project-dir PROJECT_DIR] [--warn-error] [input] [output]

Convert KiCad ERC report to JUnit

positional arguments:
  input                 JSON ERC report
  output                JUnit XML output

options:
  -h, --help            show this help message and exit
  --project [PROJECT]   Kicad project file
  --project-dir PROJECT_DIR
                        Kicad project directory
  --warn-error          Treat warnings as errorsUsagekicad-clischerc/path/to/project.kicad_sch--formatjson--outputerc.json
erc2juniterc.jsonerc.junit.xml--project/path/to/project.kicad_proExit codeThe exit code is set to 1 (Failure) if one or more errors are found (and warnings if--warn-erroris used).
Package: kicad-bom
AboutExample UsageInstallationDevelopmentAbout-Python Package Name: kicad_bom-Description: KiCad Python code for generating bill of materials in multiple formats.-Python Package Exports: KicadBom, save_all_csv_files-Version: 5.0.1-Python Version: 3.9-Release Date: 2023-03-30-Creation Date: 2022-08-16-License: BSD-3-Clause-URL: https://github.com/janelia-pypi/kicad_bom-Author: Peter Polidoro-Email: peter@polidoro.io-Copyright: 2023 Howard Hughes Medical Institute-References:-https://gitlab.com/kicad/code/kicad-Dependencies:-kicad_netlist_readerExample UsagePythonfromkicad_bomimportKicadBomnetlist_path='.'output_path='test/bom'kb=KicadBom(netlist_path,output_path)kb.save_all_csv_files()column_names=['Item','Quantity','Manufacturer','Manufacturer Part Number','Description','Reference(s)','Package']format_for_org_table=Truebom=kb.get_bom(column_names,format_for_org_table)Installationhttps://github.com/janelia-pypi/python_setupGNU/LinuxPython CodeThe Python code in this library may be installed in any number of ways, chose one.pippython3-mvenv~/venvs/kicad_bomsource~/venvs/kicad_bom/bin/activate
pipinstallkicad_bomguixSetup guix-janelia channel:https://github.com/guix-janelia/guix-janeliaguixinstallpython-kicad-bomWindowsPython CodeThe Python code in this library may be installed in any number of ways, chose one.pippython3-mvenvC:\venvs\kicad_bom
C:\venvs\kicad_bom\Scripts\activate
pipinstallkicad_bomDevelopmentClone Repositorygitclonegit@github.com:janelia-pypi/kicad_bom.gitcdkicad_bomGuixInstall GuixInstall GuixEdit metadata.orgmake-f.metadata/Makefilemetadata-editsTangle metadata.orgmake-f.metadata/MakefilemetadataDevelop Python packagemake-f.metadata/Makefileguix-dev-containerexitTest Python package using ipython shellmake-f.metadata/Makefileguix-dev-container-ipython
importkicad_bomexitTest Python package installationmake-f.metadata/Makefileguix-containerexitUpload Python package to pypimake-f.metadata/MakefileuploadDockerInstall Docker Enginehttps://docs.docker.com/engine/Develop Python packagemake-f.metadata/Makefiledocker-dev-containerexitTest Python package using ipython shellmake-f.metadata/Makefiledocker-dev-container-ipython
importkicad_bomexitTest Python package installationmake-f.metadata/Makefiledocker-containerexit
Package: kicad-netlist-reader
AboutInstallationDevelopmentAbout-Python Package Name: kicad_netlist_reader-Description: KiCad python module for interpreting generic netlists which can be used to generate bills of materials.-Version: 7.0.1-Python Version: 3.9-Release Date: 2023-03-28-Creation Date: 2014-12-09-License: GPL-3.0-URL: https://github.com/janelia-pypi/kicad_netlist_reader-Author: Jean-Pierre Charras-Email: jean-pierre.charras@wanadoo.fr-Copyright: 2023 KiCad-References:-https://gitlab.com/kicad/code/kicadInstallationhttps://github.com/janelia-pypi/python_setupGNU/LinuxPython CodeThe Python code in this library may be installed in any number of ways, chose one.pippython3-mvenv~/venvs/kicad_netlist_readersource~/venvs/kicad_netlist_reader/bin/activate
pipinstallkicad_netlist_readerguixSetup guix-janelia channel:https://github.com/guix-janelia/guix-janeliaguixinstallpython-kicad-netlist-readerWindowsPython CodeThe Python code in this library may be installed in any number of ways, chose one.pippython3-mvenvC:\venvs\kicad_netlist_reader
C:\venvs\kicad_netlist_reader\Scripts\activate
pipinstallkicad_netlist_readerDevelopmentClone Repositorygitclonegit@github.com:janelia-pypi/kicad_netlist_reader.gitcdkicad_netlist_readerGuixInstall GuixInstall GuixEdit metadata.orgmake-f.metadata/Makefilemetadata-editsTangle metadata.orgmake-f.metadata/MakefilemetadataDevelop Python packagemake-f.metadata/Makefileguix-dev-containerexitTest Python package using ipython shellmake-f.metadata/Makefileguix-dev-container-ipython
importkicad_netlist_readerexitTest Python package installationmake-f.metadata/Makefileguix-containerexitUpload Python package to pypimake-f.metadata/Makefileupload
Package: kicadODE
Spice model generator for Kicad's NGSpice solverGenerates a Kicad model and corresponding ngspice model from the provided
ordinary differential equation (ODE) to be solved by NGspice. Considered ODEs
are defined in this general form.$$\dot{x}=Ax+Bu+f(x,u)$$$$y=Cx+Du+g(x,u)$$where$x\in\mathbb{R}^n$ is the $n$ dimensional state vector$u\in\mathbb{R}^m$ is the $m$ dimensional input vector$y\in\mathbb{R}^r$ is the $r$ dimensional output vector$A\in\mathbb{R}^{n \times n}$ is the state matrix$B\in\mathbb{R}^{n \times m}$ is the input matrix$C\in\mathbb{R}^{r \times n}$ is the output matrix$D\in\mathbb{R}^{r \times m}$ is the input-to-output matrix$f(x,u)$ vector of functions of state and input vectors$g(x,u)$ vector of functions of state and input vectorsExampleLet us define an ODE where $n=2$, $m=1$, $r=2$.importkicadODEdata={'A':[[-0.1,1],[0,-0.1],],'B':[[1],[0],],'C':[[1e-2,0],[0,1e-2],],'D':[[0],[0],],'f':['-0.01*x1^3-x2^3/33','exp(-u1)',],'g':['sin(x1*x2)','x1/(x2^2+1)',],"x0":[1.0,-0.3],# Initial conditions"name":"test_model",# Name of Kicad model"to_file":True,# Exports 'test_model.lib' and 'test_model.kicad_sym'}kicadODE.generate(data)print(data["lib"])print(data["sym"])ParametersA, B, C, Dare required. If your model does not need the linear part, setA,B,C,Dzero
matrices with appropriate dimensions.Parametersfandgcan contain math terms which are supported by ngspice. Please, visitthis pagefor a list of all supported functions.
Package: kicad-python
# kicad-pythonAbstraction layer for the KiCad python interface.Be aware this is in initial development and the interface can change anytime!Inspired by https://github.com/pierstitus/kicad-python[![Build Status](https://travis-ci.org/pointhi/kicad-python.svg?branch=master)](https://travis-ci.org/pointhi/kicad-python)[![Documentation Status](https://readthedocs.org/projects/kicad-python-python/badge/?version=latest)](http://kicad-python-python.readthedocs.io/en/latest/?badge=latest)![Python 2.7](https://img.shields.io/badge/python-2.7-blue.svg)## Example usage```pythonfrom kicad.pcbnew import Boardb = Board.from_file('path/to/file.kicad_pcb')for module in b.modules:print(module)```## Run Tests```bash./setup.py test```
Package: kicad-testpoints
# kicad-testpoints## Project Scope
+ Simplify the process of building a test & programming jig for a KiCAD design.
+ Export centroid like data for individual pads## Basic Goals
+ Call out a list of pads and vias for use as test points
+ Output in a format that is consistant with [kicad-parts-placer](https://github.com/snhobbs/kicad-parts-placer).## Related Projects
+ [ Altium Designer ](https://www.altium.com/documentation/altium-designer/adding-testpoints-pcb)Describe the via or pad to add a test point toOffsets can be added to put the pin off center of the padFormat:ref despadclassnetnet class (signal, ground, power, …)… additional data for other toolsConfig scriptDefines the classes of contacts.Probe typeOffsetVertical position relative to ground pinsVias need to be a seperate flownetclassx, y roughly (auto chooses the closest point)History0.1.0 (2023-10-30)First release on PyPI.
Package: kicad-vault
Kicad Vault is a Python based part management systems. It will automatically hunt for KiCad projects and generate a webserver highlighting components, their current prices and availability. It is currently only available with digikey integration. I've pared down the software, it simply will create a CSV file with prices of parts. In the future I will expand it to have full web server functionality.Getting setupRequires KiCad 7.0+ for thekicad-cliexport utility. This should come native in Linux/OSX, in Windows you need to make sure you have access to the app though the command line.Starthereto get some digikey api credentials.Install and setup environment variables. Leave this in your .bashrc. If you're using Windows you need to add these to your environment variables.exportDIGIKEY_CLIENT_ID="client_id"exportDIGIKEY_CLIENT_SECRET'="client_secret"Runningpipinstallkicad-vault
kicad-vault<your_file>.kicad_sch--fieldMPNWhere "MPN" is the field in KiCad where you give the part number.
Package: kick
# kickTable of Contents[Installation](#installation)[License](#license)## Installationkick is distributed on [PyPI](https://pypi.org) as a universal
wheel and is available on Linux/macOS and Windows and supports
Python 2.7/3.5+ and PyPy.`bash $ pip install kick `## Licensekick is distributed under the terms of both[MIT License](https://choosealicense.com/licenses/mit)[Apache License, Version 2.0](https://choosealicense.com/licenses/apache-2.0)at your option.
Package: kickass-get
kickass-getA command-line interface for scraping Kickass torrents (kat.cr). Provides command-line tools to scrap top torrents in given categories, or obtaining specific torrents. Users can then store data in file for mass-download, or choose one magnet link to show on terminal.Features:All Kat.cr categories supported: movies, books, music, anime, games, tv, new, apps, xxx and otherSearch keyword supportedExport data to csv file optionExport magnet links to txt file optionExport torrent files supportedTransmission-remote supportedParallel Processing enabled (default 8 workers, you can change this number according to your CPU cores)Installation:Usepip installkickass-getUsageCommand-line usage:usage: kickass_parse.py [-h] [--category FIELD] [--magnet2file] [--csvfile]
                     [--counts COUNTS] [-T] [--workers WORKERS] [-t]
                     [-P PORT]
                     [keyword [keyword ...]]Optional ArgumentsDescription-h, –helpshow this help message and exit–category FIELDget the specific category–workers WORKERSnumber of workers to use, 8 by default.–magnet2fileexport the magnet links in file–csvfileexport the data in csv file–counts COUNTSnumber of top torrent links to scrap, default 25.-T, –torrentsexport the torrents files-t, –transmissionopen magnets with transmission-remote-P PORT, –port PORTtransmission-remote rpc port. default is 9091DisclaimerThe author explicitly does not approve the use of the software for illegal
activities. The illegal use of this software can result in serious legal
consequences for those who engage in it.See the license for more information.
Package: kickass_redis
This project aims to create a repository of useful python libraries built on top of redis (and using each other), to automate data modeling with Redis.Redis is relatively low level, and while it is simple to start using, getting a good knowledge of how to model problems with it in an efficient way can be tricky. So I’ve created this project to wrap common use cases, into a loose framework of redis based solutions for real world problems.Components:1. Object Storea fast yet simple ORM (well, OM actually) that automates creation, indexing and searching for complex objects using redis.Indexes include: simple string index, numeric index that supports sorting and ranges, simplistic full text index, and a unique key.2. Bitmap Counterefficient unique value counter (to be used mostly as a unique users counter) with time slots, making use of redis bitmaps.It makes use of new redis-2.6 commands BITCOUNT and BITOP, so it will not function on redis-2.4.3. LuaCallA convenience wrapper that allows you to edit, precache and call Lua scripts available in redis-2.6, as if they were native python functions.4. Id GeneratorUsed in the object store, this can also be used standalone, as a centralized unique, incremental id generator using redis. To optimize performance, it reserves in local memory many ids when accessing redis, which can be tuned.5. Redis UnitA unit-test like set of assertions about redis data to be used to validate the data inside a redis database.
Package: kick-chat
kick-chatkick.com chat in the terminalAboutkick-chat is a terminal chat client forKickchat.
It aims to provide a simple and minimalistic way of listening to chat messages.
At the moment displaying emotes in the terminal is not supported :(Installationpip install kick-chatHow to useSimply put Kick username as the first argument to the program call.kick-chat xQcLicenseLicensed underGPLv3 License.
Package: kickoff
KickoffKickoffturns your Python script or module into an application with decent user interface.For software developers…Kickoffis inspired by utilities likeinvoke,fire,runfile. It has similar function with this difference that it looks at function signatures, therefore doesn’t need from the developer to use decorators or any dedicated API. This wayKickoffprovides developers with following advantages:Basic UI provided with zero overheadEnhanced UI provided through annotationsCompatibility with environments whereKickoffis not installedTestability and reusability of top-level commandsShebang supportFor software users…Kickoffis built on top of stunningclickmodule as well as third-party add-ons to provide the users with following features:Hierarchical CLI interfaceCorrection suggestions for misspelled commandsREPL with command completion and access to underlying shellGUI (experimental feature)ResourcesSource CodePackageDocumentationDevelopmentPreparing Environment./setup.shsourcevenv/bin/activateUpdating Dependenciesvirequirements.invisetup.pypip-compilepip-syncReleasing# update version:vidocs/source/conf.pyvisetup.pygitcommit-am"foobar"gittag1.2.3# upload codegitpushgitpush--tagspython3setup.pybuildsdisttwineuploaddist/kickoff-1.2.3.tar.gz# upload documentationlogintoreadthedocs.ioandtriggeraBuildDonationsIt is absolutely fine if you use this software for free for commercial or non-commercial purposes. On the other hand, if you would like to repay author’s efforts you are welcome to use following button: