Saravanan666/pypi-org huggingface dataset:
Package: kuma-deployer
kuma-deployerIn the ancient times of roaming saber tooth tigers and the smog over London
hanging deep there was a time the poor serfs of Kuma had to trudge throughhttps://kuma.readthedocs.io/en/latest/deploy.htmllike some Kafkaesque slave of the man. That was then. This is now.Everything that can be automated in the Kuma deploy process is scripted here.Limitations and caveatsHopefully, all temporary limitations and caveats.There are some things that are hard to do such as pulling information out of Jenkins
since it requires authentication and VPN.The other thing is that all the current commands are independent and users need to
know which order to run them. Ideally, it should all be wrapped up into one single
command but that's a little bit tricky since it requires waiting and external
checking.Getting startedYou'll need a GitHub access token.
Go togithub.com/settings/tokensand create a token,
copy and paste it into your.envfile or useexport. E.g.cat .env
GITHUB_ACCESS_TOKEN=a36f6736...

pip install kuma-deployer
kuma-deployer --helpIf you don't use a.envfile you can use:GITHUB_ACCESS_TOKEN=a36f6736... kuma-deployer --helpNOTE! The.envfile (with theGITHUB_ACCESS_TOKEN) needs to be in thecurrent working directory. I.e. where you are when you runkuma-deployer. So
not necessarily where yourkumadirectory is (if these two are different).GoalThe goal is that you simply install this script and typekuma-deployand sit
back and relax and with a bit of luck MDN is fully upgraded, deployment, and enabled.ContributingClone this repo then run:pip install -e ".[dev]"That should have installed the CLIkuma-deployerkuma-deployer --helpIf you wanna make a PR, make sure it's formatted withblackand passesflake8.You can check that all files areflake8fine by running:flake8 deployerAnd to check that all files are formatted according toblackrun:black --check deployerAll of the code style stuff can be simplified by installingtherapist. It should
get installed by default, but setting it up as agitpre-commithook is optional.
Here's how you set it up once:therapist installNow, next time you try to commit a.pyfile with ablackorflake8violation
it will remind you and block the commit. You can override it like this:git commit -a -m "I know what I'm doing"To runallcode style and lint checkers you can also usetherapistwith:therapist run --use-tracked-filesSome things can't be automatically fixed, butblackviolations can for example:therapist run --use-tracked-files --fixContributing and usingIf you like to use the globally installed executablekuma-deployerbut don't want
to depend on a new PyPI release for every change you want to try, use this:# If you use a virtualenv, deactivate it first
deactive
# Use the global pip (or pip3) on your system
pip3 install -e .If you do this, you can use this repo to install in your system.
Package: kumaoche
Copyright (c) 2019 kumakiPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: UNKNOWN
Platform: UNKNOWN
Package: kumaone
kumaoneTable of ContentsNoteVirtualenvInstallationNotekumaone's primary objective is to enable users to perform bulk action inuptime kumaserver. A very special thanks
to the author and contributors of the projectuptime-kuma-api.kumaoneis built by studying and understanding the code ofuptime-kuma-apiand in places I used some parts of the code as it
is fromuptime-kuma-api. Appreciate the outstanding work done by the author and contributors of bothuptime kumaanduptime-kuma-apiproject.kumaoneis a CLI application. Designed for bulk operations mainly from reading configuration files.kumaoneis very
early in development. Contribution and constructive feedbacks are always welcome.VirtualenvInstallpipenvfromhereActivate virtual environmentpipenvshellif there are no virtual environment available (e.g. first use), a virtual environment will be created and activated
automatically.Install dependenciesTo install dependencies withpipenvuse the following commandpipenvinstallTo installdevdependencies use--devflagpipenvinstall--devInstallationpipinstallkumaoneInstallation (Dev)pipinstall-e.To Do ListInfoShow information aboutkumaoneConfigurationShowuptime kumaconfiguration (default/custom paths).Createuptime kumaconfiguration (default/custom path).Deleteuptime kumaconfiguration.Edituptime kumaconfiguration.MonitorsSupported Monitor types (tested)HTTPJSON_QUERYPINGList all monitors.List monitor bygroupsandprocessesalso.Show details of a monitor by ID.Bulkaddmonitors from file(s).Bulkdeletemonitors from file(s).Add single monitor frominlinedictionary data.Delete single Monitor by name.Delete single monitor by id.Status PageList allstaus page(s).See details of asingle status page.Add a newstatus page.Add status pages from file(s).Delete single status page by slug.Delete status page from file(s).NotificationSupported notification providers (tested)Rocket.ChatSlackMS TeamsWebhookList allnotification(s).See details of asingle notificationby name/id.Add new notification (interactive).Add notifications from single file.Delete notification by name.Delete notification by id.Delete notifications from single file.MaintenanceTBAIncidentTBAChange PasswordChange password from CLI.Update password inkumaoneconfig.CleanupClear heartbeats.Clear statistics.Clear events.BacklogDon't stop the program if one monitor process runs into error.Add debug logs for methods.
Package: kumaraswamy
A simple implementation of the Kumaraswamy distribution.How to useInstall it from pip (kumaraswamyonly depends on numpy)pip install kumaraswamyand it’s ready to use from PythonimportkumaraswamyThe package provides one simple class calledkumaraswamy, which implements the distribution.
It is intended to mimic the API ofscipy.stats.fromkumaraswamyimportkumaraswamyd1=kumaraswamy(a=0.5,b=0.5)thed1object now has methodspdf(x)andlogpdf(x)cdf(x)rvs(size)to calculate the probability density function (and its logarithm), the
cumulative density function, and to get random samples from the
distribution.Also available are some basic properties specific to the distributiond1.meand1.vard2.mode# see help(d2.mode) for detailsLicenseCopyright 2018 João Faria.kumaraswamyis free software made available under the MIT License. For
details see theLICENSEfile.
Package: kummis
# kumlogKumparan Logging Json Format# Example Usage```def main():logger.debug("test DEBUG logger")logger.info("test INFO logger")logger.warning("test WARNING logger")logger.error("test ERROR logger")logger.critical("test CRITICAL logger")try:raise ValueError("Input is not valid")except Exception as e:logger.exception(e)try:raise OSError("not found")except Exception as e:logger.exception(e)if __name__ == '__main__':# Setup the logging handler and the formatterhandler = logging.StreamHandler(stream=sys.stdout)formatter = StackdriverLoggingFormatter(service_name="stackdriver-logging",service_version="latest", environment="staging")handler.setFormatter(formatter)logger.addHandler(handler)logger.setLevel(logging.DEBUG)main()```
Package: kumparan
kumparanis a collection of commonly-used Python modules in
Kumparan.The Python package is available atpypiand you can install it
using the following command:pip install kumparanThe documentation is availablehere.OverviewAt Kumparan, we use python mainly to solve data engineering and data
science problems. From our tracker services that can digest tracking
events in less than 10ms to our machine learning services are all
written in Python.One of the challenge that we face as a team is the source code
management, withkumparanpackage it allows us to:Re-use our existing implementation easily. This whill helps our
engineers speed up the development process and not to re-invent the
wheel.Centralize a shared modules management. Centralized shared
modules means that there is only one source of the truth. We can
update & improve the shared module once and it will affect to all
services that use it.Semantic VersioningWe followsemantic versioningfor a release
procedure. When there is a breaking changes in the API, we will make
sure the old code still run in a period of time. This will prevent
breaking build in production and a give a time to the engineer to update
their services.
Package: kumparanian
Kumparanian is a set of workflows that optimize Kumparan’s data
engineering and data scientist hiring process. It cuts down 1-2 working
day(s) submission review process to just less than an hour.If you are our candidate, you need to installkumparanianusing
following command (we highly recommend to install inside virtual env,
like venv):python -m venv <your_env_name>

source <your_env_name>/bin/activate

pip install kumparanianconsult its help command:% kumparanian ds --help
Usage: kumparanian ds [OPTIONS] COMMAND [ARGS]...

  For Data Scientist role.

  Before you submit your trained model, you can verify your trained model
  using the following command:

  $ kumparanian ds verify YOURMODEL.pickle

  Use the following command to evaluate your trained model against your test
  dataset:

  $ kumparanian ds evaluate YOURMODEL.pickle test_file.csv

Options:
  --help  Show this message and exit.

Commands:
  evaluate  Evaluate the model
  verify    Verify the model

  If you found any issues, feel free report it at:
  https://github.com/kumparan/kumparanian/issuesthen read our assessment and you should be good.Subsequent sections are not required for candidate as it intended only
for project’s documentation purpose.Kumparan’s Model InterfaceThe first component of Kumparanian is aKumparan’s Model
Interface. We’ve designed an interface for
Machine Learning model that allows us to design a problem to have
deterministic result.The model interface contains 3 required methods:train,predictandsave. The candidate will solve the assessment test by implement
thetrainandpredictmethods. We providesavemethod to
helps the candidate to save the trained model.Read more about theKumparan’s Model
Interface.Kumparanian CLIThe second component of Kumparanian is akumparanian(1). This CLI
will help the candidate to verify and test their model while also help
our team to evaluate the candidate’s trained model.kumparanian(1)can be installed via the following command:pip install kumparanianTo get started, run the following command:kumparanian --helpIf you found any issue, please open new issue herekumparanian/issues.
Package: kumquat
kumquatSimple asynchronous web framework, based on uvicorn.InstallationStable:pip install kumquatUnstable:pip install https://github.com/kesha1225/Kumquat/archive/master.zip --upgradeUsageYou can see more exampleshere.fromkumquat.applicationimportKumquatfromkumquat.responseimportTextResponse,JsonResponse,HTMLResponsefromkumquat.requestimportRequestfromkumquat.responseimportSimpleResponse,TemplateResponseimportlogginglogging.basicConfig(level="INFO")app=Kumquat()app.app_name="KumquatApp"@app.index()asyncdefindex(request:Request,response:SimpleResponse):response.status_code=418response.set_headers({"shue":"ppsh"})returnHTMLResponse("<h1>hello</h1>")@app.get("/<name>/<age>")asyncdefsome_json_route(request:Request,response:SimpleResponse):name=request.path_dict["name"]age=request.path_dict["age"]return{"user":{"name":name,"age":age}}app.run()# you can use ngrok - app.ngrok_run()
Package: kuna
Kuna exchange API wrapperkunais a Python package providing access to theKuna exchangeserver API.
Original documentation of Kuna exchange API here:https://docs.kuna.io/docsInstallationInstall with pippip install kunaDocumentationThe full documentation is available onreadthedocs.MetaDmytro Litvinov –@DmytroLitvinovDistributed under the MIT license. SeeLICENSEfor more information.https://github.com/DmytroLitvinov/kunaDeployhttps://cookiecutter-pypackage.readthedocs.io/en/latest/pypi_release_checklist.htmlHistory0.4.2 (2021-12-28)Fix import [#100](https://github.com/DmytroLitvinov/kuna/issues/100)Requires Python>=3.60.4.1 (2021-10-14)Fix import [#80](https://github.com/DmytroLitvinov/kuna/issues/80)0.4.0 (2021-04-28)Add support for API v3Drop support for Python < 3.6Add deprecation warning for API v20.3.3 (2018-11-08)Upgrade packages, update README.rst0.3.2 (2018-05-11)Fix .rst files for PyPi description0.3.1 (2018-05-11)Make ‘tonce’ more granular0.3.0 (2018-04-29)Remove a strict binding to market pairs0.2.12 (2018-04-06)Remove OTX/BTC0.2.11 (2018-03-20)Change on EOS pair; small refactor0.2.10 (2018-03-17)Add new pairs XLM/UAH, TUSD/UAH0.2.9 (2018-03-11)Add new pair HKN/BTC ‘hknbtc0.2.8 (2018-02-13)Add new pairs EOS/BTC ‘eosbtc’, FOOD/BTC ‘foodbtc’, OTX/BTC ‘otxbtc’0.2.7 (2018-02-09)Add new pair XRP/UAH ‘xrpuah’0.2.6 (2018-01-06)Add new pair BCH/UAH ‘bchuah’0.2.5 (2017-12-31)Fix market pair ‘golosgbg’ to ‘golgbg’ and also add new pairs ‘rbtc’, ‘arnbtc’, ‘evrbtc’, ‘b2bbtc’0.2.4 (2017-11-07)Fix bug for User method: for correct generate signature it needs to pass assorted params.0.2.3 (2017-10-31)Add new pair0.2.2 (2017-10-31)Speed up code by change string concatenationImprove docs structureMinor change at code logic for getting signature0.2.1 (2017-10-29)Add User methods0.2.0 (2017-10-29)Add public methods without unittests.0.1.0 (2017-10-28)First release on PyPI.
Package: kundalini
.. _LÖVE: http://www.love2d.org/.. _Lua: http://www.lua.org/.. _PyGame: http://www.pygame.org/Kundalini=========LÖVE_ is an **awesome** framework you can use to make 2D games in Lua_,in a very similar way with PyGame_.Kundalini intends to offer an API similar to that of LÖVE to developgames using PyGame.Usage-----Subclass ``kundalini.FrameManager`` and override the method::@abstractmethoddef build_screen(self) -> Surface:passIt must return a ``pygame.surface.Surface``, like, for example, theobject returned by ``pygame.display.set_mode()``.You also can override::def load(self) -> None:passdef draw(self) -> None:self.screen.fill((0, 0, 0))def handle_event(self, event:Event) -> None:passdef update(self, delta:float) -> None:passThe method ``load()`` is performed by ``init()`` call, just after``pygame.init()``.The method ``draw()`` is performed every drawing loop.The method ``handle_event()`` is performed for each occuring event. Itreceives the event as parameter.The method ``update()`` is performed about 1024 times a second, andreceives the time delta in seconds since last performing as parameter.
Package: kundart.socialpublisher
OverviewKundart SocialPublisher allows you to publish your content types to Twitter and/or Facebook just by one click.The purpose of this product is to help Content Managers or Social Community Managers to rapidly publish their content to Social Networks without having to do it manually to each case.This is NOT a social sharing product. This product is aimed to publish your content to predefined facebook/twitter accounts.DependenciesIt requires python-twitter to work properly, which installed automatically during the buildout process.RequirementsPlone 4, but should work on Plone 3 (not tested)InstallationJust add kundart.socialpublisher to the eggs section of your buildout configuration and run buildout[buildout]...eggs =kundart.socialpublisherYour content type should implement the ISocialPost interface. By default, News Item objects will implement this interface after installing the SocialPublisher product.<class class="Products.ATContentTypes.content.newsitem.ATNewsItem"><implements interface="kundart.socialpublisher.interfaces.ISocialPost" /></class>ConfigurationIn order to be able to publish to Facebook and Twitter it's necessary to obtain the required tokens and access keys provided by both social networks.We are not going to explain here about how you can get these tokens but you can read the Facebook and Twitter documentation in the following links.http://developers.facebook.com/docs/authentication/https://dev.twitter.com/Furthermore, Bitly (http://bitly.com/), a url shortening service, is used to publish your content, so it's necessary to get a Bitly account and obtain the access key also in this case.A new configuration panel is added to the configuration area of Plone where you will be able to set the tokens and secret keys for Facebook, Twitter and Bitly.Important: If you are testing this product in a non-public network, it's necessary to add a fake domain to your hosts file. Ex: 127.0.0.1       example.comThis is because the bitly service will try to reach the portal where this product has been installed, and if it doesn't you will get an error, so you must use something like http://example.com:8080/PlonePermissionsSite Managers and content editors are able to publish the content to Twitter and Facebook.Changelog=========1.1 (2011-08-18) aaguirre---------------Added MANIFEST file1 (2011-07-01) aaguirre--------------- Initial release
Package: kundih
kundihLibrary of Python projects by David Kundih.
Use permitted according to the terms of use and conditions set by the attached license.A word from the author!The library itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done byDavid KundihfromCroatia.Hi! :wave:My name isDavid Kundihand I am a Master's student ofSustainable mobility and logisticsat theUniversity North, currently specializing inDigital transformation of traffic and logistics using Python.My latest projects:vandaldualityuninPeople shine the brightest when they seek to understand what kind of love sustains them.CHANGELOGas kundih0.0.1 (24/06/2022)initial release.0.0.2 (24/06/2022)republish.0.0.3 (24/06/2022)republish.0.0.4 (04/07/2022)KSrednjeVrijednosti added.0.0.5 (05/07/2022)Dijkstra added.0.0.6 (06/07/2022)LinearnaRegresija added.0.0.7 (07/07/2022)MonteCarlo added.0.0.8 (18/07/2022)warning of deprecation added.
Package: kune
kuneHost your live HTML presentations in sync across many devices.Free software: MIT licenseDocumentation:https://kune.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-01-26)First release on PyPI.0.1.1 (2021-01-26)Updates to requirements_devUpdates to travis config0.1.2 (2021-01-27)Drop support for Python 3.50.1.3 (2021-01-28)Several bugfixesImproved test coverage0.2.0 (2021-01-30)Upgrade third-party dependenciesstyle fixes in codebase0.2.1 (2021-01-30)Bugfixes0.2.2 (2021-01-30)Bugfixes0.2.3 (2021-01-30)Bugfixes
Package: kunefe
Badges(Customize these badges with your own links, and checkhttps://shields.io/orhttps://badgen.net/to see which other badges are available.)fair-software.eu recommendations(1/5) code repository(2/5) license(3/5) community registry(4/5) citation(5/5) checklisthowfairisOther best practicesStatic analysisCoverageDocumentationGitHub ActionsBuildCitation data consistencySonarCloudMarkDown link checkerHow to use kunefeA package to run containers on HPC systemsThe project setup is documented inproject_setup.md. Feel free to remove this document (and/or the link to this document) if you don't need it.InstallationTo install kunefe from GitHub repository, do:git clone git@github.com:mess-nlesc/kunefe.gitcd kunefepython -m pip install .DocumentationInclude a link to your project's full documentation here.ContributingIf you want to contribute to the development of kunefe,
have a look at thecontribution guidelines.CreditsThis package was created withCookiecutterand theNLeSC/python-template.
Package: kungfuai-env
KUNGFU.AI EnvEnvironment handling to simplify development environmentsTable of ContentsAbout the ProjectBuilt WithGetting StartedDependenciesInstallationUsageRoadmapContributingLicenseContactAcknowledgementsBuilt WithPython-DotenvPython 3.8Getting StartedThis repo aims to be a cloud and local compatible approach to modern application environment handling.Environment files committed with the repo bring us some clear advantages that we should consider
when building software.At KUNGFU.AI, many of our usecases are single container microservice deployment into a cloud. By committing secrets to
cloud Secret Manager, and keeping Secret IDs + other environment data within our env files, we're able to:Keep our deployed assets secureDevelopers don't have to pass keys, know about keys, or share env files (YUCK)Developers can pull and run their repos immediately.The kungfuai/env repo aims to simplify these use-cases.DependenciesPython 3.8Installationpip install kungfuai-envHow does it work?The flow is 3 steps - Construction, Registration, and Loading.
e.g.# Constructionenv=Environment('src/env')# Registrationenv.register_environment("test")env.register_environment("prod")# Loadingenv.load_env()In the above example,Environment()is constructed, and the path to environment files is set to be located atsrc/env.Next, we state that we have atestenvironment, and aprodenvironment that we intend to load.
The names are important - seeingtestindicates thatenv.load_env()will seek a.test.envfile in thesrc/envdirectory.
The same would be true forprod/.prod.envRuntime Environment SelectionNow, we know how to handle the environments. How do we know which ones to load when the application starts?There is a special environment variable that we always watch namedENV.With the above example in mind, if you setENV=PRODorENV=prod, you will load the.prod.envfile.If you setENV=TESTorENV=test, you will load the.test.envfile.If you do not set anything forENV, you will load, by default, the.local.envfile.UsageSimple ExampleIn the most simple of applications, imagine amain.pywith a.local.envenvironment# main.pyimportosfromkfai_env.envimportEnvironmentif__name__=="__main__":print("Simple Python App Example")e=Environment()e.register_environment("prod")e.load_env()print(os.getenv("TEST_ENV"))# .local.env
TEST_ENV=HELLOWORLDFROMLOCAL# .prod.env
TEST_ENV=HELLOWORLDFROMPRODIf we were to runpython3 main.pywith this above example program, we would seeHELLOWORLDFROMLOCAL.
If we were to runENV=PROD python3 main.py, we would seeHELLOWORLDFROMPROD.RoadmapSee theopen issuesfor a list of proposed features (and known issues).Upgrade project to use poetry as the build and deploy system (instead of pip + versioneer)LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactEndurance Idehen -endurance.idehen@kungfu.ai