Saravanan666/pypi-org huggingface dataset:
Package: kubic-ci
# ci3Continuous deployment for kubernetes (k8s) and gitlab.# Table of Contents
1. [blog](#blog)
2. [use](#use)
3. [develop](#develop)## blogMore articles on [Medium..](https://medium.com/kubic-ci)## usePrerequisites:ci3is written and tested inpython3(linux or mac osx).As a user you would probably do something like:pip install kubic-ciThe following should work w/o errors:kubic –helpTo start a new project locally you would proceed with:kubic initA typical deploy cycle is:kubic build && kubic push && kubic deploy -d hellowherehellois the name of your service and project.### docker imageOne can find a simple docker image inside thedockerfolder, which is suitable to be used by gitlab-runner, so that one has already ci3 preinstalled and can deploy to GKE.The following will pull latest image from dockerhub and run it in your local dockerdocker run -it  kubic3/ci3:latestLike this kubic-ci can be integrated into CI/CD cycle provided by [gitlab](https://docs.gitlab.com/ee/ci/yaml/).## develop### releaseBefore making a new release:Make sure tests are passing (both locally and remotely on gitlab CI).Increment version according to [semantic versioning](https://semver.org/).In addition to bumping a new version inci3/version.py, issuing a new release includes few more publishing (post-release) activities:Publish new python packagepython setup.py sdist uploadBuild ad upload a new docker image (to avoid confusions, both docker image and python package share the same version). Check how it has been picked up on [dockerhub](https://hub.docker.com/r/kubic3/ci3/) and [microbadger](https://microbadger.com/images/kubic3/ci3).Say something on socials about it ;)
Package: kubi-ecs-logger
This Python module makes logging easy for your application.  
The logger outputs JSON formatted logs for ingesting into Elastic.The module implements the ECS (Elastic Common Schema) specification that
can be found at for quick reference:ECS Field ReferenceInstallYou can install the package from PyPi like this:pipinstallkubi-ecs-loggerThis package is only for Python 3.6 or newer.Usage# Importfromkubi_ecs_loggerimportLogger,Severity# Set some defaults in the start of your app# If in development mode the lib will output formatted json.Logger().dev=True# The minimum level of severity for outputing. E.g. If set to INFO then DEBUG logs will not# be printed to standard outLogger().severity_output_level=Severity.INFO# Set default key/value pairs for the different classes that will always be appended before final outputLogger().defaults={"event":{"test":"test value"}}# Log loaded configurationLogger().event(category="configuration",action="configuration loaded",dataset="The configuration is loaded from config.yaml").out(severity=Severity.INFO)# Output# {#   "@timestamp": "2019-07-11T15:11:03.193759+00:00",#   "event": {#     "action": "configuration loaded",#     "category": "configuration",#     "dataset": "The configuration is loaded from config.yaml",#     "test": "test value"  # From defaults#   },#   "logline": {#     "level": "INFO"#   }# }# Here is a little bit bigger exampleLogger()\.event(category="requests",action="request received")\.url(path="/test",domain="test.com")\.source(ip="123.251.512.152")\.http_response(status_code=200)\.out(severity=Severity.INFO)# And here is the output of this one# {#   "@timestamp": "2019-07-11T15:15:48.896921+00:00",#   "event": {#     "action": "request received",#     "category": "requests",#     "test": "test value"  # From defaults#   },#   "httpresponse": {#     "status_code": "200"#   },#   "logline": {#     "level": "INFO"#   },#   "source": {#     "ip": "123.251.512.152"#   },#   "url": {#     "domain": "test.com",#     "path": "/test"#   }# }Dependenciesnameversionmarshmallow3.15.0
Package: kubify
dev toolkit for kubernetes multi-cloud multi-servicerelease targetscondahttps://anaconda.org/kubify/kubifydocker/podmanhttps://hub.docker.com/repository/docker/willy0912/kubifypip/pypa/poertyhttps://pypi.org/project/kubifyon-boardingmake cloudskubfiystart-allwelcomekubify os oss, version: 9020.0.29getting startedlocal$[pip|conda]installkubify$kubify--up$kubify--start-all$cdservices[][]&&kubify--start$kubify--downcompatible with cloud providersawsgcpazurecompatible with devops toolsterraformterraform cdkcloudformationserverless frameworkhelm and kustomize“if it works on my computer, it will work in the cloud”cloud$makeclouds$makeclouds-deletedocshttps://kubify-os.readthedocs.ioCONTRIBUTING.rstUSAGE.rstaws partnerenjoy the funTo use the python packageYou canimport kubify(we ship to PyPi), and then you can override
any folder (such as terraform or services folders) by having folder with
the same name in your repo.See./examples/simplefor Python Package usage example.To run this repo directlyTo contribute to Kubify Open Source (and I hope you do), then clone this
repo and:make cloudcloud=[aws|gcp|azure]make localmake localstart-allmake local [service]All the dependant services will start and will listen for code changes
as well. Efficiently edit the entire codebase.To install directly on workstationTo install directly on your workstation (instead of just using the
container):apple:make macubuntu, debian and other debian-based:make debrhel, centos and other epel-based:make epelEnvironment IsolationSecurity Minute: You should not give prod access to anyone (but devs
need to debug urgent issue in prod). Zero Trust, With No Data Access, yet Identical Env. How?cdservices/example-node-complex-svcmakelocalprodWhat Just Happened?You are hot patching many services locally (and with the full real
environment) without access to data, but with the full real prod!
Kubernetes can be amazing, and it is, with Kubify..Contributing Workflow PatternsDevContainerInvoke Python Directly (pull image if missing tools)Tox (multi-python testing)Install Directly and Invoke Python Directly
Package: kubios
KUBIOS Import & Export for PythonThis Python package enables easy exportation of NN/RR interval series or signals to KUBIOS HRV friendly files and structured formats and to import HRV analysis results from KUBIOS HRV report files in .txt format.The exported signals are stored in the Type 1 format as presented on page 14 and 15 of theKUBIOS User Guide.How to Use this Packageexport_nni()Use theexport_nni()function to export a series of NN/RR interval or ECG signal data to a KUBIOS readable file format.importnumpyasnpfromkubiosimportexport_nni# Load NNI seriesnni=np.load('SampleSeries.npy')# Export NNI seriesexport_nni(nni)Use theoutput_pathvariable to specify the file path where to store the exported file andoutput_fileto specify the file name. Use only theoutput_fileif you want to set the absolute file path in a single string. If no value for theoutput_fileis provided, a file name (incl. time stamp) will automatically be generated.importnumpyasnpfromkubiosimportexport_nni# Load NNI seriesnni=np.load('SampleSeries.npy')# Export NNI series with specific file nameexport_nni(nni,output_file='export.txt)# Export NNI series to specific path & specific file nameexport_nni(nni,output_path='/my/favorite/path/',output_file='export.txt')# Export NNI series to specific path with automatic file name generationexport_nni(nni,output_path='/my/favorite/path/')import_report()Use theimport_report()function to read a KUBIOS HRV report files in .txt format. The results will be returned in a Python dictionary.fromkubiosimportimport_report# Import HRV results from KUBIOS reportresults=import_report('SampleReport.txt')# Get SDNN valueresults['sdnn']Context of this WorkThis package is under development within the scope of my master thesis"Development of an Open-Source Python Toolbox for Heart Rate Variability (HRV)"at theUniversity of Applied Sciences Hamburg, Germany (Faculty Life Sciences, Department of Biomedical Engineering)andPLUX wireless biosignals, S.A., Lisbon, Portugal.DisclaimerThis package is not part of the official KUBIOS software.This program is distributed in the hope it will be useful and provided to you "as is", but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is NOT intended for medical diagnosis. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility of such damages.
Package: kubipy
KubiPy - macOS Python manager for MinikubeKubiPy helps you to manage Minikube clusters on macOS, all without leaving Python. It provides an interface to Minikube and allows you to setup and manage a cluster. This is immensively helpful to enable local testing of Python applications, before shipping them to a fully-fledged Kubernetes Cluster. This way, you generate a local Kubernetes test environment in a matter of minutes.The KubiPy interface allows you to not only install Minikube and all components, but also coordinates and sporns all components.UsageKubiPy is available on PyPi askubipy. So you can run your regularpipcommand.pip install kubipyKubiPy provides theminipy()class. Once initiated this class is the core of all your operations. While running these commands you will need your sudo password, so keep it close by.# initiate the class 
cluster = minipy()

# install minikube
cluster.install()

# start the cluster
cluster.start()

# deploy an API
cluster.deploy(script_file = "api.py",
               requirements_file = "requirements.txt",
               port = "8000",
               deployment_name = "my-deployment")

# open the dashboard
cluster.dashboard()

# stop the cluster
cluster.stop()

# delete minikube
cluster.delete()DependenciesMinikube depends on numerous components to run. The provision and configuration of these components is handled by KubiPy. However, you should be aware of what happens.KubiPy needs a container technology to containerize scripts. To do so, KubiPy installsDocker.KubiPy installs a driver that is needed to host a Kubernetes cluster on your machine. KubiPy usesVirtualBoxto do so.KubiPy relies on the Kubernetes-CLIkubectl. This is installed using the package managerHomebrewfor macOS.KubiPy of course relies onMinikube. This is installed viaHomebrewas well.Stage of DevelopmentKubiPy is under active development andsupportscurrently onlymacOS. At the moment KubiPy provides the necessary functionalities to setup, start and shut down Minikube on your local machine. The functions include:install()start()stop()dashboard()status()deploy()get_pods()get_services()get_deployments()delete_object()delete()Next StepsVersion 1.0Minikube project managementMinikube service managementDocker image creationDocker image pushingAPI deployment to minikubeVersion 2.0Linux Support: CentOS, Ubuntu, Debian
Package: kubitdb
import kubitdbdb = kubitdb.Data("test.json")we are creating a new database, you can create as many db as you wantdb.set("sa",2)db.subtract("sa",1)db.push("asdasasd",{"sa":"sa"})print(db.get("sa"),db.has("sa"),db.all())db.delete("asdasasd")db.clear()Support:https://discord.gg/4Xpwwz6pgN
Package: kubra
kubraScraper of storm outage data from kubra.ioTo install:> pip install kubraTo use:>  kubra --helpUsage: kubra [OPTIONS] INSTANCE_ID VIEW_IDDownload all the outages of a storm event associated with an INSTANCE_ID andVIEW_ID from kubra.io. Outputs a GeoJSON of outages.Note that the GeoJSON may be a mix of points and polygons.To find values for INSTANCE_ID and VIEW_ID, go to the outage website, openup Developer Tools and look for a network request that looks like:https://kubra.io/stormcenter/api/v1/stormcenters/4fbb3ad3-e01d-4d71-9575-d453769c1171/views/8ed2824a-bd92-474e-a7c4-848b812b7f9b/currentState?preview=falseThe first GUID (i.e. 4fbb3ad3-e01d-4d71-9575-d453769c1171) is theINSTANCE_ID. The second GUID (i.e. 8ed2824a-bd92-474e-a7c4-848b812b7f9b) isthe VIEW_ID.Options:--cache_dir TEXT  Directory to use to cache responses--raw             Return a json array of raw outage data--help            Show this message and exit.CreditBased on Bret Walker's kubra-scraper:https://github.com/openkentuckiana/kubra-scraper
Package: kubric
KubricA data generation pipeline for creating semi-realistic synthetic multi-object
videos with rich annotations such as instance segmentation masks, depth maps,
and optical flow.:warning: This project is pre-alpha work in progress and subject to extensive change.Motivation and designWe need better data for training and evaluating machine learning systems, especially in the context of unsupervised multi-object video understanding.
Current systems succeed ontoy datasets, but fail on real-world data.
Progress could be greatly accelerated if we had the ability to create suitable datasets of varying complexity on demand.
Kubric is mainly built on-top of pybullet (for physics simulation) and Blender (for rendering); however, the code is kept modular to potentially support different rendering backends.Getting startedFor instructions, please refer tohttps://kubric.readthedocs.ioAssuming you have docker installed, to generate the data above simply execute:docker pull docker pull kubricdockerhub/kubruntu
docker run --rm --interactive \
    --user $(id -u):$(id -g) \
    --volume "$PWD:/kubric" \
    kubricdockerhub/kubruntu \
    python3 examples/klevr.pyRequirementsA pipeline for conveniently generating video data.Physics simulation for automatically generating physical interactions between multiple objects.Good control over the complexity of the generated data, so that we can evaluate individual aspects such as variability of objects and textures.Realism: Ideally, the ability to span the entire complexity range from CLEVR all the way to real-world video such as YouTube8. This is clearly not feasible, but we would like to get as close as possible.Access to rich ground truth information about the objects in a scene for the purpose of evaluation (eg. object segmentations and properties)Control the train/test split to evaluate compositionality and systematic generalization (for example on held-out combinations of features or objects)ContributorsKlaus Greff(Google),Andrea Tagliasacchi(Google and University of Toronto), Derek Liu (University of Toronto), Issam Laradji (McGill and MILA)DisclaimerThis is not an official Google Product
Package: kuchbhi
pyShipping provides connections to interface with shipping companies and to transport shipping related information.package - shipping/cargo related calculations based on a unit of shipping (box, crate, package), includes
a bin packing implementation in pure Pythonsendung - defines an abstract shippment (Sendung), with packages and calculations based on thataddressvalidation - check if an address is validcarriers.dpd - calculation of DPD/Georoutes routing data and labels. Included tables are for shippments from Wuppertal but it should work with all other german routing tables. See thisBlogpostabout updating routing information.fortras - tools for reading and writing Fortras messages. Fortras is a EDI standard for logistics related information somewhat common in Germany. SeeWikipediafor further enlightenmentIt also comes with the only python based3D Bin Packingimplementation I’m aware of. The Algorithm has sufficient performance to be used in everyday shipping and warehousing applications.You can get the whole Package athttp://pypi.python.org/pypi/pyShippingThis code is BSD Licensed.
Package: kucoin-websocket
kucoin-websocketMulti-threaded KuCoin WebSocket with self-management mechanisms to ensure stable streaming at all times. More control and abstraction than the nativekucoin-python-sdk.NoteThis package is still under development and probably will not contain the full functionality described underKuCoin documentation!FeaturesSubscription StrategyAccording toKuCoin documentations, maximum number of batch subscriptions is100 topics per 10 seconds. KuCoin policy is to ignore the rest of the subscriptions if the limitation is violated. To avoid this behavior, a configurableBackoff Strategyis used to keep congestion low while allowing for asynchronous subscription.Auto-connect on ErrorsThere are numerous errors that can occur during the stream (KuCoin errors) that can interrupt the stream flow. Most of the errors areTimeOutorConnectionClosedand such errors are generally not a big concern due to network volatility, so the WebSocket tries to reconnect at most 5 times before giving up.Auto-Token RenewalCurrently, KuCoin tokens expire after24 hours(KuCoin FAQ) and the stream is stopped immediately. To overcome this, WebSocket details liketokenandendpointare renewed after an interval, so that the connection stays alive at all time. Default interval is set to12 hoursto leave no room for error.Limitless SubscriptionsKuCoin has a limitation of maximum300 active subscriptionsat the time (KuCoin FAQ). To scale the subscriptions, multiple WebSockets are automatically created on parallel threads that at most200 subscriptions. (to my experience, better not challenge the threshold^_^)Creditspython-kucoinby sammchardy🤝 ContributionYour contributions are welcomed, as always!
Package: kuda-cli
Kuda cliA command line app for interacting with kuda open API.InstallationBinaries of kuda cli be foundhere. Alternatively, Kuda cli can be installed from pypi
with pip as shown below.pipinstallkuda-cliFirst time configurationsYou're required to add your kuda credentials on first use as shown belowkudaconfigEMAILAPI_KEYThis sets up your kuda cli for use in development mode you
can add an optional--mode productionto use this utility in production mode. These credentials can be
removed withkuda reset. Runkuda --helpto see available commands
Package: kudamonomikiwame
kudamonomikiwame果物がどれだけ熟しているかを判別し、いつ食べごろになるかを伝えるアプリケーションです。以下の環境が必要になります。python 3.8.13GradioNumpy問題点があれば以下までご連絡ください。s2122030@stu.musashino-u.ac.jp
Package: kudapy
kudapyPython wrapper for making secure requests to Kuda APIGetting startedregister on kuda bank website to recieve public and private keys in xml formatpaste your private and public keys (both in PEM format) in your project directory
- both keys come in XML format(YOU NEED TO CONVERT FROM XML TO PEM)Your client key is the name of your private key file sent after registration on kuda bank website.Installationpip install kudapyMaking a requestfromkudapyimportkuda"""Save your public and private pem file somewhere on the filesystem. Specify the full path to your keysthen create a Kuda Object instance. Also provide a client key string and base url (for production)."""kuda_instance=Kuda(path_to_public_key,path_to_private_key,client_key_string,base_url)#Use the kuda instance to call the appropiate methods of the#action you want to perform.#For available actions run help(kuda)Sample requests# List of bankskuda_instance.bank_list()-------------------------# Name enquirykuda_instance.name_enquiry("1100000734","999129")-------------------------# Create a virtual account# (Provide email, phone, lastname, firstname)kuda_instance.create_virtual_account("okonkwo_yusuf@kudabank.com","07011111111","Okonkwo","Yusuf")--------------## Expected response is decrypted data from Kuda API in JSON"""You get back two values from the method calls, status and data. If status is true, there is a valid response data elsethe status will be False - with data being the error message."""status,data=kuda_instance.bank_list()(True,{'Status':True,'Message':'Completed Successfully',...})orstatus,data=kuda_instance.name_enquiry('0000000000',999000')(False,'Cannot validate account number at this time, Please try again')Contribution & IssuesSimplyfork the repo, make changes andmake a pull requestYou can open an issue for support or suggestionsAuthorUchechukwu Darlington EmmanuelContributorEdward PopoolaAcknowledgementsKuda Bank TeamCowrywise Team
Package: kudio
🔊 KUDIO ToolboxAudio Processing Toolbox™1.1.5AudioEvaluateSynthesizerfile_loadwave_separatesave_waveload_wavescopy_wavesconcat_mfcc_concat_logspec_wav2mfccwav2specspec2wavwavform2specspec2wavformw2ss2wdenoise_wav2specdenoise_spec2wavwave_slicingfeatures2matrixwav2melcheck_inputAudioDataManagerwave_decodewave_encodeplay_audioCheckDeviceRecorderRemoteStreamReaderLocalStreamReaderAudioBuffertrad_enhancevisualizerWaveVisualizer1.1.4is_availablecheck_devicekudio_timerKudioTimerwave_slicingcheck_pathcheck_fileLicenseThis is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: kudosudoku
A sudoku solver that solves the puzzle using constraint programmingInstallationInstallation through pip:pipinstallkudosudokuInstallation through cloning:gitclonehttps://github.com/Varshneyabhushan/kudoSudoku.gitcdkudoSudokupythonsetup.pyinstallUsageimport classsudokufrom the module.pass puzzle to be solved as list of listssudokuhas a method calledsolve( )that returns the solved puzzleoutput will be an object with the following keysdone: “describing status if its done or not”iterations: “number of times puzzle is re visited”guesses: “number of places where it had to guess”timeTaken: “Time taken to conclude”solution: “Final answer(will be a list of list of integers)”ExampleTo solve this sudokuInput has to be:[[0,2,4,0],[1,0,0,3],[4,0,0,2],[0,1,3,0]]As python language is case sensitive,you have to importkudoSudoku,notkudosudoku.fromkudoSudokuimportsudokupuzzle=[[0,2,4,0],[1,0,0,3],[4,0,0,2],[0,1,3,0]]table=sudoku(puzzle)result=table.solve()print(result)Output:{'done':True,'iterations':2,'guesses':0,'timeTaken':0.0013199988754573474,'solution':[[3,2,4,1],[1,4,2,3],[4,3,1,2],[2,1,3,4]]}2X2 sudoku is taken just to demonstrate. It works for any nxn sudoku
Package: kudubot
KudubotmasterdevelopKudubot is a chat bot framework designed to work with arbitrary messaging
services based onbokkichatconnections.InstallationInstalling bokkichat is as simple as runningpip install kudubot, orpython setup.py installwhen installing from source.Implementing a kudubotTo implement a kudubot, you'll need to create a class that inherits fromkudubot.Bot.Botand implement the various on_X methods in the way
you want the bot to react.Kudubot is meant to react on commands like/send 123. Those are
modelled using CommandParser and Command objects. Those are used to
automatically parse incoming text messages and are sent toon_command,
which delegates them toon_<command name>methods by default.If you want complete manual control over what happens with incoming messages,
override theon_msgmethod. If you only care about text messages, do the
same foron_text.To get an idea of how to implement a kudubot, have a look at some of these
sample projects:football-botsecuriphantFurther InformationChangelogLicense (GPLv3)GitlabGithubProgstatsPyPi