Saravanan666/pypi-org huggingface dataset:
Package: kids.cfg
kids.cfgis a Python library providing helpers for loading your cfg file.It’s part of ‘Kids’ (for Keep It Dead Simple) library.MaturityThis code is in alpha stage. It wasn’t tested on Windows. API may change.
This is more a draft for an ongoing reflection.And I should add this is probably not ready to show. Although, a lot of these
function are used everyday in my projects and I got sick rewritting them for
every project.Featuresusingkids.cfg:TBDCompatibilityTis code is python2 and python3 ready. It wasn’t tested on windows.InstallationYou don’t need to download the GIT version of the code askids.cfgis
available on the PyPI. So you should be able to run:pip install kids.cfgIf you have downloaded the GIT sources, then you could add install
the current version via traditional:python setup.py installAnd if you don’t have the GIT sources but would like to get the latest
master or branch from github, you could also:pip install git+https://github.com/0k/kids.cfgOr even select a specific revision (branch/tag/commit):pip install git+https://github.com/0k/kids.cfg@masterUsageTBDContributingAny suggestion or issue is welcome. Push request are very welcome,
please check out the guidelines.Push Request GuidelinesYou can send any code. I’ll look at it and will integrate it myself in
the code base and leave you as the author. This process can take time and
it’ll take less time if you follow the following guidelines:check your code with PEP8 or pylint. Try to stick to 80 columns wide.separate your commits per smallest concern.each commit should pass the tests (to allow easy bisect)each functionality/bugfix commit should contain the code, tests,
and doc.prior minor commit with typographic or code cosmetic changes are
very welcome. These should be tagged in their commit summary with!minor.the commit message should follow gitchangelog rules (check the git
log to get examples)if the commit fixes an issue or finished the implementation of a
feature, please mention it in the summary.If you have some questions about guidelines which is not answered here,
please check the currentgit log, you might find previous commit that
would show you how to deal with your issue.LicenseCopyright (c) 2015 Valentin Lab.Licensed under theBSD License.Changelog0.0.3 (2015-03-04)NewCan access conf files not yet created but listed. [Valentin Lab]If you had listed a local file inREPOS/.foo.rcand a global config
file in~/.foo.rcthen you can store values and access them now viaMConfigand the file will then get created.Full support YAML, configobj, python config file, and multilayers
config files. [Valentin Lab]autodetection of syntax3 syntax provided: YAML, configobj, python configwrite support provided for: YAML, configobjChangesUsesafe_loadwhen parsing Yaml instead ofload. [Valentin
Lab]If we have a valid reason to useloadwe’ll consider putting it
back.0.0.1 (2014-05-14)First import. [Valentin Lab]
Package: kids.common
kids.commonis a Python library providing helpers when writing command
line utilities in python.It’s part of ‘Kids’ (for Keep It Dead Simple) library.MaturityThis code is in alpha stage. It wasn’t tested on Windows. API may change.
This is more a draft for an ongoing reflection.And I should add this is probably not ready to show. Although, a lot of these
function are used everyday in my projects and I got sick rewritting them for
every project.Featuresusingkids.common:TBDCompatibilityTis code is python2 and python3 ready. It wasn’t tested on windows.InstallationYou don’t need to download the GIT version of the code askids.commonis
available on the PyPI. So you should be able to run:pip install kids.commonIf you have downloaded the GIT sources, then you could add install
the current version via traditional:python setup.py installAnd if you don’t have the GIT sources but would like to get the latest
master or branch from github, you could also:pip install git+https://github.com/0k/kids.commonOr even select a specific revision (branch/tag/commit):pip install git+https://github.com/0k/kids.common@masterUsageTBDContributingAny suggestion or issue is welcome. Push request are very welcome,
please check out the guidelines.Push Request GuidelinesYou can send any code. I’ll look at it and will integrate it myself in
the code base and leave you as the author. This process can take time and
it’ll take less time if you follow the following guidelines:check your code with PEP8 or pylint. Try to stick to 80 columns wide.separate your commits per smallest concern.each commit should pass the tests (to allow easy bisect)each functionality/bugfix commit should contain the code, tests,
and doc.prior minor commit with typographic or code cosmetic changes are
very welcome. These should be tagged in their commit summary with!minor.the commit message should follow gitchangelog rules (check the git
log to get examples)if the commit fixes an issue or finished the implementation of a
feature, please mention it in the summary.If you have some questions about guidelines which is not answered here,
please check the currentgit log, you might find previous commit that
would show you how to deal with your issue.LicenseCopyright (c) 2015 Valentin Lab.Licensed under theBSD License.Changelog0.0.1 (2015-03-11)First import. [Valentin Lab]
Package: kid-util
KID utilDevelopment moved to PyPi packagenorwegian-numbers:GitHubPyPiSimple utils to generate and verify KID numbers with either MOD10 or MOD11.InstallationTo install from PyPi as a module in your environment:pip install kid-utilTo install from source as a module in your environment:python setup.py installCode usage from installationExample code usages after installation:>>> import kid
>>> kid.make('1234')
'12344'
>>> kid.make('1234', mode='MOD11')
'12343'
>>> kid.verify('12344')
True
>>> kid.verify('12343', mode='MOD11')
TrueRunning from command lineGenerating KID from integer string:$ python -m kid -g 2345678
23456783
$ python -m kid -m mod11 -g 2345678
23456788Verifying KID from string:$ python -m kid -v 23456783
True
$ python -m kid -v 23456788
False
$ python -m kid -m mod11 -v 23456788
True
$ python -m kid -m mod11 -v 23456783
FalseTesting from sourceTo run the tests:python -m unittest discoverOr if you have tox:toxDistributionThe distribution was created by the following commands:python setup.py sdist bdist_wheel
python -m twine upload dist/*
Package: kiefer
Kiefer(German):jawbone.A simple Python wrapper for Jawbone’s UP API.kieferfully supports
Python 2.7 and Python 3.4.InstallationYou can easily installkieferusing pip:pip install kieferAuthenticationkiefertakes care of the tedious OAuth2 process.Before you can start, you need to create a config file with yourclient_id,client_secret,redirect_uriand thescopeof
your app. You can use the includedconfig_example.jsonas a
template.You can create your Jawbone account and app here:LinkAfter creating the config file all interaction that is needed is
copy-pasting a URL:from kiefer.auth import KieferAuth

auth = KieferAuth('config.json')
access_token = auth.get_access_token()UsageAfter retrieving your access token, initialize the client:from kiefer.client import KieferClient

client = KieferClient(your_access_token)AKieferClientinstance offers methods to retrieve following metrics
from the Jawbone UP API:band eventsbody event(s)heart ratecustom eventsgoalsmeal(s)mood(s)move(s)settingssleep(s)time zoneuser informationworkout(s)A(s)indicates that you can retrieve a list of events as well as a
single event.
Package: kiek
kiekA KISS Kiekshow AppFree software: ISC licenseDocumentation:https://kiek.readthedocs.ioPyPi:https://pypi.python.org/pypi/kiekTravis CI:https://travis-ci.org/maartenq/kiekCodecov:https://codecov.io/github/maartenq/kiekFeaturesTODOCreditsThis package was created withCookiecutterand themaartenq/cookiecutter-pypackageproject template.History0.2.4 (2017-07-18)Update requirents.txt for click 6.7Removed PyUpRemoved travis deploy to PyPi0.2.3 (2017-07-18)Update test0.2.2 (2017-07-17)Travis: deploy on python 2.70.2.1 (2017-07-17)Updated dependencies0.1.6 (2017-07-15)Updated dependenciesUsing tox-travis0.1.5 (2016-10-14)Updated dependencies0.1.4 (2016-09-30)Update dependencies0.1.3 (2016-08-28)Update dependenciesRemoved twine0.1.2 (2016-08-21)PyPi deployment with Travis CI0.1.1 (2016-08-20)First release on PyPI.
Package: kiel
Kiel is a pure pythonKafkaclient library for use withTornadoapplications.InstallationPipKiel is available viaPyPI, installation is as easy as:pip install kielManualTo install manually, first clone this here repo and:cd kiel
python setup.py installDocumentationMore detailed information can be found onRead The Docs.Quick Consumer Examplefromkielimportclientsfromtornadoimportgen,ioloop@gen.coroutinedefconsume():c=clients.SingleConsumer(brokers=["localhost"])yieldc.connect()whileTrue:msgs=yieldc.consume("examples.colors")formsginmsgs:print(msg["color"])defrun():loop=ioloop.IOloop.instance()loop.add_callback(consume)try:loop.start()exceptKeyboardInterrupt:loop.stop()DevelopmentThe code is hosted onGitHubTo file a bug or possible enhancement see theIssue Tracker, also found
on GitHub.License(c) 2015-2016 William GlassKiel is licensed under the terms of the Apache License (2.0).  See theLICENSEfile for more details.
Package: kieli
kieliis a minimalistic language server protocol client.DependenciesPython 3.4 or newer and attrs. Many other projects use attrs, so you may
already have it installed.InstallationTo install, simply run the following:$python3-mpipinstall.UsageHere`s a simple usage example which just sends aninitializerequest and
then exits.importsysimportkieliclient=kieli.LSPClient()@client.response_handler("initialize")definitialize(request,response):print("We have initialized!")print()print("Request:",request)print()print("Response:",response)sys.exit(0)client.connect_to_process(sys.executable,"-m","pyls")client.request("initialize",{"processId":None,"rootUri":None,"capabilities":{}})LicenseMIT
Package: kien
kien is python3 library that allows you to create a custom line-based
command parser with the goal of creating shell-like interfaces. kien
is not a shell and doesn’t try to be.If you want to provide an human and machine friendly text-based interface
on a serial device kien is for you. kien’s best-case scenario: you’re
just writing the code that actually does things.Please note that kien is under active development and does not have a stable
API yet. Breaking changes will occur between minor versions as long as we
didn’t publish v1.0.0 but will be documented in thechangelog.kien has support for:(optional) keywordsvariablesvalidationtransformationauto-generated help and documentationdependency-injectionhuman-readable and json outputtty handlingExampleskien mostly works by annotating functions with decorators. See the examples folder 😊# run examples with pipenvpipenvrunexampleexamples/say-some-name.py# or using your shell powers# (install dependencies first or initialize and load a virtualenv)PYTHONPATH=.python3examples/say-some-name.pyWork in progressThere are currently no testsThis is not because there shouldn’t be but because kien just
recently has been extracted from an application that only
tests the actual commands that kien executes. In this
sense there are tests that cover most of kien’s functionality
but they simple are not public. That being said: kien
should and will have tests in the future.Output formatting & Terminal handlingThe way kien handles the terminal and how it writes and formats
text are hard-coded and in some need for careful thought and
refactoring.There is little documentationSay my namekien is a pun and a homage to Commander Keen, because kien’s integral
part is called aCommander. kien also is a rather old way to refer
to a pine tree in german. There you go :)
Package: kiertotie
KiertotieDetour (Finnish: kiertotie) per rsync proxy to https mirror node.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of kiertotie.Bug TrackerFeature requests and bug reports are best entered in thetodos of kiertotie.Primary Source repositoryThe main source ofkiertotieis on a mountain in central Switzerland.
We use distributed version control (git). No central hub. Each clone can become a new source for the benefit of all.
The preferred public clones ofkiertotieare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.StatusExperimental.Note: The default branch isdefault.
Package: kie-server-py
KIE Server Python SDKPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://kie-server-py.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-05-10)First release on PyPI.
Package: kiezbox-messages
Kiezbox Notruf-AppTested with Python 3.11ArchitectureOne main driver was the will to have something minimalistic while still modern.
A first try to have a separate frontend using react and dynamic routes has proven to be problematic
as installing node modules and having a running node instance on IoT devices isn't great.
Thus we have server-side template rendering for the frontend.
In these templates we use HTMX to handle the interactivity.The backend is fastapi, using sqlmodel to unite sqlalchemy and pydantic. FastAPI is serving some static files as well as the Jinja2 templates using uvicorn.
We use a HTML form to send the emergency calls.
We use server-sent events (SSE) to trigger reloads on the inbox.Backend Installation guideSet your virtual environmentThe following steps are not required but recommended. This will allow you to install packages in your isolated virtual environment instead of globally, reducing the risk of breaking system tools or other projects.Installpyenvand thepyenv-virtualenvplugin.Download the appropriate Python version withpyenv install 3.11in the command line.Create a virtual environment with the appropriate Python version and name for your environment, for examplepyenv virtualenv 3.11 kiezboxActivate the environment withpyenv activate kiezboxRun the AppInstall the required libraries with the command linepip install -r requirements.txtRun the server with the command lineuvicorn main:app --reloadYour terminal should show something like:INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)Open this URL with the/docssuffix in your server to access the Swagger documentation of the API. For this example: `http://127.0.0.1:8000/docsUpdate the modelIf you want to run an updated version of the API which introduces changes in the database models (for example, a new field), you will have to wipe the database clean first. To do this, simply delete thebackend.dbfile.FrontendOn the JS side, the interactivity is handled by HTMX, which is shipped locally as we are in a case where phones have no internet connectivity. Currently v1.9.10 is included. Seehttps://github.com/bigskysoftware/htmx/releases.We have a second JS file which is the SSE extension for HTMX. You can get the latest version fromhttps://github.com/bigskysoftware/htmx/tree/master/dist/ext.The frontend is simple Jinja2 server-rendered templates styled with TailwindCSS.Runnpm install.To watch CSS updates, you may runnpm run dev
Package: kif-lib
Knowledge Integration FrameworkA knowledge integration framework based on Wikidata.Hello world!Prints an arbitrary statement fromWikidata:fromkif_libimportStorekb=Store('sparql','https://query.wikidata.org/sparql')print(next(kb.filter()))Installation$pipinstallkif-libOr, for the development version:$gitclonehttps://github.com/IBM/kif.git
$cdkif
$pipinstall-e.DocumentationSee the notebooks inexamples.TestingInstall the test dependencies:$makeinstall-depsRun all tests:$makecheckLicenseReleased under theApache-2.0 license.
Package: kifurushi
KifurushiA simple library to forge network packets.Why?I was playing with the DNS protocol using the excellentscapylibrary.
It is very simple to forge network data with this library. I have always wondered why protocol libraries likeh2oraioquicdon't use it
to forge packets instead of doing it all by hands and then I thought maybe it is because it will be overkill to import
the whole library containing many protocol implementations just for one thing you want to use (or maybe library authors
don't know the scapy library...). It would be glad to just use the scapy ability to forge packets without importing thehugeprotocol library. This is where the idea ofkifurushicomes from.It is a simple library that will help you forge network data quickly. It is less capable than scapy because its specific
goal is to implement a concrete protocol as opposed to scapy which makes it possible to give free rein to its imagination.
So if you find that your needs cannot be simply express with kifurushi, you probably need to use scapy.Installationwith pip:pipinstallkifurushiWithpoetryan alternative package manager:poetryaddkifurushikifurushi starts working frompython3.7and also supportspypy3. It has one dependency:attrs: A library helping to write classes without pain.DocumentationThe documentation is available athttps://kifurushi.readthedocs.ioUsageimportsocketimportenumfromkifurushiimportPacket,ShortField,ByteField,IntEnumFieldHOST='disney-stuff.com'PORT=14006classMood(enum.Enum):happy=1cool=2angry=4classDisney(Packet):__fields__=[ShortField('mickey',2),ByteField('minnie',3,hex=True),IntEnumField('donald',1,Mood)]withsocket.socket(socket.AF_INET,socket.SOCK_STREAM)ass:disney=Disney()s.connect((HOST,PORT))disney.donald=Mood.cool.value# we send the packet datas.sendall(disney.raw)# we create another packet object from raw bytesreceived_packet=Disney.from_bytes(s.recv(1024))print(received_packet)To see more protocol implementations check the folderexamplesof the project.WarningsIf you use the excellentPycharmeditor, you may notice weird warnings when
instantiating kifurushi fields. At the moment I'm writing this documentation, I'm using Pycharm 2020.3 and there is
anissuewhen subclassingattrsclasses. So just ignore the
warning saying to fill theformatparameter if you don't need it.kifurushi is a young project, so it is expected to have breaking changes in the api without respecting thesemverprinciple. It is recommended to pin the version you are using for now.
Package: kigo-etl
Declarative ETL engine.Example of usegeLet’s assume that we have a file named input_1aaaaaaaaaaaaaaaaaaaaaabbbbbbbbbsome data 11      some data 2Y
aaaaaaaaaaaaaaaaaaaaaabbbbbbbbbsome data 12      some data 2Y
aaaaaaaaaaaaaaaaaaaaaabbbbbbbbbsome data 13      some data 2N# helloworld.pyfromkigo.etl.mapper.mappingimportmappingfromkigo.etl.extractors.fabricimportExtract@mappingclassSomeClass:data_1=Extract.TextSlice[31:43]data_2=Extract.TextSlice[49:61]What we expect is to have 3 instances of classes SomeClass where data_1 and data_2 will have proper ranges of data. For example first instance will look like:data_1 -> 'some data 11'
data_2 -> 'some data 2Y'DocumentationDocumentation and links to additional resources are available athttps://www.asyncstack.org/kigo-etlLicenseApache 2.0. See LICENSE for details.
Package: kiirastuli
KiirastuliPurgatory (Finnish: kiirastuli) - purge like hell to stay out of trouble.License: MIT|Country of origin: Switzerland|Export control classification number(ECCN): EAR99Third party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of kiirastuli.Bug TrackerAny feature requests or bug reports shall go to thetodos of kiirastuli.Primary Source repositoryThe main source ofkiirastuliis on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones ofkiirastuliare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimental.Note: The default branch isdefault.
Package: kik
This library provides tools to build bots that communicate with the Kik API.
Find out more and create your bot atdev.kik.com.This package can be imported using pip by adding the following to yourrequirements.txt:kik==<version>DocsOur docs are available onreadthedocs.io.ContributingIf you’re looking to contribute the thekikpackage, check out theContributing Guide.This project adheres to theContributor Covenant Code of Conduct.
By participating, you are expected to uphold this code. Please report unacceptable behavior tobots@kik.com.LicenseThe kik library is released under the terms of the MIT license.
SeeLICENSE.mdfor more information or seehttps://opensource.org/licenses/MIT.
Package: kik-desktop
# Kik Desktop #
Kik desktop client written in PyQt5 based on [Kik Bot API](https://github.com/tomer8007/kik-bot-api-unofficial)WARNING: Logging in causes a logout on any currently logged in client, messages will be lost.## Features
- Store login, messages
- Send/receive messages## Backlog
- Retrieve received messaged on relogin
- All Kik server communication beyond send/receiving messages
- Register account
- Media support
Package: kiki
KikiNamed after the Google voice actress Kiki Baessell.Kiki will transform your PDFs into audio files for you to listen to.InstallationDependenciesPython 3Python 3 pip$pipinstallkikiUsage$kiki
Usage:kiki[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:getgetaudiofrompdfgithubopengithubrepoforKiki$kikiget--help
Usage:kikiget[OPTIONS]PDFgetaudiofrompdf

Arguments:PDFurlorfileofpdf[required]Options:--filenameTEXTnameofoutputfilewithoutextension[default:kiki]--helpShowthismessageandexit.


$kikigethttp://www.africau.edu/images/default/sample.pdf
Downloading[####################################]  100%Youraudiofileisnowavailableatkiki.mp3
Package: kiki-turtle
kiki-turtle 借鉴了 processing ruby schemdraw 的思想。让 turtle 绘图更轻松。构建系统绘图更强大。借鉴了 schemdraw 的链式语法，ruby 符合自然语言的语法，尤其是
repeat 和 times 的设计。
借鉴了 processing 中函数的设计，p5.js 中 push 和 pop 函数。
Package: kikola
Collection of Django’s custom context processors, form fields and widgets,
middlewares, model fields, reusable apps and template tags.RequirementsPython2.5 or higherDjango1.0 or higherInstallationOn most UNIX-like systems, you’ll probably need to run these commands as root
or using sudo.To install use:$ pip install kikolaOr:$ python setup.py installAlso, you can retrieve fresh version ofkikolafromGitHub:$ git clone git://github.com/playpauseandstop/kikola.gitand placekikoladirectory somewhere toPYTHONPATH(orsys.path).Licensekikolais licensed under theBSD License.ContentsNowkikolaproject consist of:contribbasicsearchcorecontext_processorspathdecoratorsmemoizedrender_torender_to_jsonsmart_datetimesitemapsIndexSitemapdbfieldsJSONFieldMonthFieldPickleFieldTimeDeltaFieldURLFieldformsfieldsJSONFieldTimeDeltaFieldURLFieldformsTabbedFormwidgetsAutocompleteWidgetJSONWidgetSelectDateWidgetTimeDeltaWidgetmiddlewarelocaleSmartMultilingualMiddlewareshortcutsconftemplatetagsjson_tagsjsonifytimedelta_tagstimedeltatwitter_tagstwitterizeutilsdigitsforce_inttimedeltaTimedeltaJSONEncoderstr_to_timedeltatimedelta_averagetimedelta_divtimedelta_secondstimedelta_to_strMoreFound a bug? Have a good idea for improving kikola? Head over toGitHubto
create a new issue or fork.