Saravanan666/pypi-org huggingface dataset:
Package: kvuilder
kvuilderkvuilder adalah alat sederhana untuk pembuatan template project kivy, untuk memudahkan anda membuat project dengan kivy.installationAnda dapat menginstallkvuilderdengan pip, seperti dibawah ini:$ pip install kvuilderusageMembuat project.$ kvuilder create hello_kivyMenjalankan project.$ cd hello_kivy
$ python main.py
Package: kvutil
kvutil: a command-line key-value storeA command-line program written in Python to wrap a dbm implementation in order to store key-value pairs.  kvutil has no third-party requirements outside of the Python standard library.UsageInsert a key+valuekv mykey myvalueRead a valuekv mykeyList all keyskv -lDelete a key+valuekv -rm mykeyInstallationkvutil requires Python 3.5+.From PyPIpip install kvutilFrom source, usingPyinstallerFirst, install a Python 3.5+ environment.Then, run the following commands:$ #clone repository
$ git clone https://github.com/mhv2109/kvutil.git && cd kvutil
$ #use the latest pip
$ pip install --upgrade pip
$ #install pyinstaller using pip
$ pip install pyinstaller
$ # create a single-file executable using pyinstaller
$ pyinstaller --onefile kvutil/kv.pyThe resulting executable can be found indist/.Developmentkvutil requires Python 3.5+.Development dependencies are found inrequirements.txt. Install them withpip install -r requirements.txt.Tests are run using the built-inunittestframework andtox.
Package: kvv-StoredObjects
StoredObjectsThis object is needed to save, process and transfer data about University objects for
thePublications Activity Module.Objects used in this module:Publication - stores bibliographic data about a publication (title, published date, authors, citations, identifiers in databases)Author - stores data about a person with publications (names in databases, affiliations, publications)Department - stores information about department name and list of employees in itUniversity - stores list of departments
Package: kvxopt
KVXOPT is a fork from CVXOPT wich contains more functions and
wrappers to Suite Sparse library.CVXOPT is a free software package for convex optimization based on the
Python programming language. It can be used with the interactive Python
interpreter, on the command line by executing Python scripts, or
integrated in other software via Python extension modules. Its main
purpose is to make the development of software for convex optimization
applications straightforward by building on Python’s extensive standard
library and on the strengths of Python as a high-level programming
language.
Package: kw618
# kw618#### Description
kw618 personal pkg repo#### Software Architecture
Software architecture description#### Installationxxxxxxxxxxxx#### Instructionsxxxxxxxxxxxx#### ContributionFork the repositoryCreate Feat_xxx branchCommit your codeCreate Pull Request#### Gitee FeatureYou can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.mdGitee blog [blog.gitee.com](https://blog.gitee.com)Explore open source project [https://gitee.com/explore](https://gitee.com/explore)The most valuable open source project [GVP](https://gitee.com/gvp)The manual of Gitee [https://gitee.com/help](https://gitee.com/help)The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
Package: kwalitee
==========Kwalitee==========.. image:: https://travis-ci.org/inveniosoftware/kwalitee.svg?branch=master:target: https://travis-ci.org/inveniosoftware/kwalitee.. image:: https://coveralls.io/repos/inveniosoftware/kwalitee/badge.svg?branch=master:target: https://coveralls.io/r/inveniosoftware/kwaliteeInstallation============.. seealso:: :ref:`_installation`Git Hooks=========Install git hooks into your repository using::cd /path/to/git-repokwalitee githooks installand uninstall hooks using::kwalitee githooks uninstallFollowing hooks are installed:* ``pre-commit`` - run PEP8, pyflakes and copyright year checks on filesbeing committed. If errors are found, the commit is aborted.* ``prepare-commit-msg`` - prepare standard form commit message.* ``post-commit`` - check commit message form and signatures. If errors arefound, they can be fixed with ``git commit --amend``.All checks can be disabled using::git commit --no-verifyKwalitee checks===============* Static analysis of files:* `pyflakes <https://launchpad.net/pyflakes>`_* `PEP8 <http://legacy.python.org/dev/peps/pep-0008/>`_* `PEP257 <http://legacy.python.org/dev/peps/pep-0257/>`_* Copyright year in license* Commit message analysis:* First line less than 50 chars and according to thepattern ``<component>: <short description>`` (using nouns).* Body with detailed description of what this patch does, formatted as abulletted list. (using present tense).* Required signatures: ``Signed-off-by`` and ``Reviewed-by``.License=======Copyright (C) 2014, 2015 CERN.kwalitee is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.kwalitee is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with kwalitee; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.In applying this licence, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.
Package: kwallet-dump
AboutA Python script to dump contents of a .kwl kwallet file for accessing
passwords away from KDE desktop. Should work on wallets created on KDE 4
(written on KDE 4.10).The output is not polished because it serves a simple utility - to get
passwords when not around a KDE desktop. Pipe the output to grep to make
it more usable.If you are looking to get Chrome passwords out of this - it’ll be a bit
difficult because Chrome stores the passwords in a serialized blob and
you’ll have to decipher that format. For everything else - Firefox,
Telepathy, Amarok, Wifi passwords, other apps which store passwords - it
works perfectly fine.InstallEasiest way to install is to use pip which will fetch the dependencies
automaticallypip install kwallet-dumpOutputFields:Type of KWallet entry - there are 3 - Password, Binary Data and
Map. The sample output here shows the third formatFolder nameKey nameValue - Value is a tuple when entry type is a MapSample Output:[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('usernameField', '')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('username', 'user')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('passwordField', '')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('password', 'password')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('httpRealm', 'DD-WRT')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('hostname', 'http://192.168.1.1')]
[3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('formSubmitURL', '')]RequirementsPython 2 or 3pycrypto (for decoding Blowfish)
Package: kwamehealthtoolboxpublic
kwamehealthtoolboxKwame Health toolbox with custom functionsInstructionspython -m venv venv
./venv/scripts/activate
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
python setup.py installpython setup.py sdist bdist_wheeltwine check dist/*twine upload dist/*Package: sendEmailContains the function sendCustomEmail.Meant for sending custom emails.Package: sendWhatsAppMessageContains the function sendTwilioMessage.sendTwilioMessage is used to send messages using Twilios WhatsApp API.Package: createDocumentContains the function convertDoc.convertDoc is used to convert a page into PDF using convertAPI.Package: getDateTimeContains the function timeData.timeData is used to get back variables for datetime.
Package: kwandl
kwandl: Keyword arguments handledInstallationInstallkwandlusingpip:python3 -m pip install kwandlTo install the most recent development version directly from the GitHub repository run:python3 -m pip install git+https://github.com/egpbos/kwandl.gitUsagekwandlis essentially a box of magic tricks to make working withkwargssmoother.Forward passing only relevantkwargsSay you have a functiontopwhich takes**kwargsand passes them on todingandboop:deftop(**kwargs):ding(**kwargs)boop(**kwargs)Only problem is:dingandboophave different sets of keyword arguments:defding(dingo=1,dinga=2):...defboop(boopie=3,boonk=4):...This meanstop(dingo="blurg", boonk=None)will fail with aTypeError, becauseboonkwill be passed todinganddingowill be passed toboop, both of which are invalid.kwandlsolves this for you with one simple decorator:@kwandl.forwarddeftop(**kwargs):ding(**kwargs)boop(**kwargs)ThisJust Works™.It does so by modifying the abstract syntax tree (AST) of the function calls withkwargsas argument so thatkwargsis effectively replaced bykwandl.get_kwargs_applicable_to_function(ding, kwargs)(orboopinstead ofdingdepending on the calling function).
An alternative way to use thiskwandlfunctionality then is to useget_kwargs_applicable_to_functiondirectly:deftop(**kwargs):ding(**kwandl.get_kwargs_applicable_to_function(ding,kwargs))boop(**kwandl.get_kwargs_applicable_to_function(boop,kwargs))Note, however, that@kwandl.forwarddoes a bit more: it also checks whether kwargs contains keyword arguments that are a match to neitherdingnorboopand raises aTypeErrorif so.
A complete alternative notation for@kwandl.forwardwould then be:deftop(**kwargs):ding_kwargs=kwandl.get_kwargs_applicable_to_function(ding,kwargs)boop_kwargs=kwandl.get_kwargs_applicable_to_function(boop,kwargs)unexpected_keywords=set(kwargs)-set(ding_kwargs)-set(boop_kwargs)ifunexpected_keywords:raiseTypeError(f"top() got an unexpected keyword argument '{unexpected_keywords.pop()}'")ding(**ding_kwargs)boop(**boop_kwargs)The motivation behind this package should now become clearer: the amount of boilerplate necessary to solve what in my mind should not be such a huge problem is ... well, huge.DocumentationFor more details, see thefull documentation on Readthedocs.ContributingIf you want to contribute to the development ofkwandl,
have a look at thecontribution guidelines.CreditsThis package was created withCookiecutterand theNLeSC/python-template.
Package: kwant
Kwant is a free (open source) Python package for numerical calculations on
tight-binding models with a strong focus on quantum transport. It is designed to
be flexible and easy to use. Thanks to the use of innovative algorithms, Kwant
is often faster than other available codes, even those entirely written in the
low level FORTRAN and C/C++ languages.Tight-binding models can describe a vast variety of systems and phenomena in
quantum physics. Therefore, Kwant can be used to simulatemetals,graphene,topological insulators,quantum Hall effect,superconductivity,spintronics,molecular electronics,any combination of the above, and many other things.Kwant can calculatetransport properties (conductance, noise, scattering matrix),dispersion relations,modes,wave functions,various Green’s functions,out-of-equilibrium local quantities.Other computations involving tight-binding Hamiltonians can be implemented
easily.See theKwant web sitefor the latest stable
version.  The current development version is available via theKwant gitlab
instance.  Contributions are
welcome.Amailing listexists for general
discussions related to Kwant.  Please report bugs and other issues using theissue tracker.
Package: kwargparse
Using this toolThis tool's format is very similar to that of theargparsemodule. Example setup:importkwargparse_kwarg_parser=kwargparse.KeywordArgumentParser()def_init_kwarg_parser():_kwarg_parser.add_argument('hello')subp=_kwarg_parser.add_subparser('sub',default={'world':20})subp.add_argument('world',default=20)defmain(**kwargs):result=_kwarg_parser.parse_kwargs(kwargs)print(result)print(result.sub.world)_init_kwarg_parser()if__name__=='__main__':main(hello=1,sub=dict(world=2,),)InstallingTo install simply use:$pip3installkwargparse
Package: kwargshelper
kwargshelperA python package for working withkwargs.Allows for validation of args passed in via**kwargsin various ways.
Such as type checking, rules checking, error handeling.Many built in rules that make validation of input simple and effective.
Easily create and add new rules.Various callbacks to hook eachkwargwith rich set of options for fine control.DocsRead the docshereInstallationYou can install the Version Class fromPyPIpipinstallkwargshelperKwargsHelper ClassHelper class for working with python**kwargsin a class constructorAssigns values of**kwargsto an exising class with type checking and rulesParse kwargs with suport for rules that can be extended that validate any arg of kwargs.
Type checking of any type.Callback function for before update that includes a Cancel Option.Many other options avaliable for more complex usage.KwArg ClassHelper class for working with python**kwargsin a method/function
Wrapper forKwargsHelperClass.Assigns values of**kwargsto itself with validationParse kwargs with suport for rules that can be extended that validate any arg of kwargs.
Type checking of any type.Callback function for before update that includes a Cancel Option.Many other options avaliable for more complex usage.Decorator ClassesDecorators that can applied to function that validate arguments.Decorators for Type checking and Rule testing is built in.The following example ensures all function args are a positiveintor a positivefloat.fromkwhelp.decoratorimportRuleCheckAnyimportkwhelp.rulesasrules@RuleCheckAny(rules.RuleIntPositive,rules.RuleFloatPositive)defspeed_msg(speed,limit,**kwargs)->str:iflimit>speed:msg=f"Current speed is '{speed}'. You may go faster as the limit is '{limit}'."elifspeed==limit:msg=f"Current speed is '{speed}'. You are at the limit."else:msg=f"Please slow down limit is '{limit}' and you are currenlty going '{speed}'."if'hours'inkwargs:msg=msg+f" Current driving hours is '{kwargs['hours']}'"returnmsg
Package: kwargs_obj
kwargs_objClass that maps.__init__(self, **kwargs)to attributes.DocumentationThis module can be used to automatically set values from**kwargsto attributes, and also to dissable setting of unset attributes.ExamplesMap **kwargs to attributesHere you can see, how to map**kwargsto your attributes:classXex(KwargsObj):def__init__(self,**kwargs):self.something=Noneself.something_else=Noneself._kwargs_to_attributes(kwargs)This will allow to pass parameters which setssomething_elseandsomething_different:>>>x=Xex(something=True)>>>x.somethingTrueSetting of unset attributes is dissabled:>>>x=Xex(asd=True)Traceback(mostrecentcalllast):File"<stdin>",line1,in<module>File"<stdin>",line5,in__init__File"kwargs_obj/kwargs_obj.py",line61,in_kwargs_to_attributes"Can't set%sparameter - it is not defined here!"%keyValueError:Can't set asd parameter - it is not defined here!Disable setting of unset attributesThere is also modified.__setattr__()`method, which disables to set new attributes. This may be good idea for data containers.Modified.__setattr__()functionality can be triggered by setting the._all_setattribute:classXex(KwargsObj):def__init__(self):self.something=Noneself.something_else=Noneself._all_set=TrueIt will be now impossible to set new attributes, which may be good for preventing typos:>>>x=Xex()>>>x.asd=TrueTraceback(mostrecentcalllast):File"<stdin>",line1,in<module>File"kwargs_obj/kwargs_obj.py",line50,in__setattr__raiseValueError("%sis not defined in this class!"%name)ValueError:asdisnotdefinedinthisclass!But you can still redefine already defined attributes:>>>x.something=True>>>Changelog1.0.0Added tests.Added documentation.Package uploaded to pypi.0.1.0Project created.
Package: kwargs-only
Unmaintained:I’m no longer maintaining this package because it’s for
Python 2 compatibility and all other projects I’ve used it on are now Python 3
only. If you want to continue maintenance please contact me.A decorator to make a function accept keyword arguments only, on both Python 2
and 3.If you are using only Python 3, you don’t need this, you can just do:defmyfunction(*,foo=1,bar=2):passWhy?If you are making a library (that still supports Python 2), you might want to
make all functions in its API take keyword arguments only, for a couple of
reasons:To avoid user confusion, e.g. if you takexandyarguments as
coordinates, it’s easy to forget which way round to pass them.To make your API easier to extend - you’ll know no callers rely on the
positional argument ordering, so can refactor this to make sense.InstallationUsepip:pipinstallkwargs-onlyPython 2.7 and 3.4 to 3.8 supported.UsageImport the decorator and apply it to a function:fromkwargs_onlyimportkwargs_only@kwargs_onlydefmyfunction(foo=1,bar=2):passThen calling the function with positional arguments will cause it to fail withTypeError:>>>myfunction(1,2)...TypeError:myfunctionshouldonlybecalledwithkeywordargsThe decorator detects methods and classmethods, by allowing for the first
argument to be a positional one if its name isselforcls.kwargs_onlyshould be applied to the function beforeclassmethodis.
For example:classMyClass:@classmethod@kwargs_onlydefmy_class_method(cls,foo=1):pass@kwargs_onlydefmy_instance_method(self,bar=1):passThat’s about all there is to it! Enjoy!History1.1.1 (2019-12-21)Update PyPI development status as inactive. This package is no longer
maintained since I have copied it into my mone Python 2 compatible project.
I recommend you do the same going forwards - and get off Python 2!1.1.0 (2019-11-15)Support Python 3.8.1.0.2 (2019-10-28)Update PyPI development status as active. This package is maintained again
since I have started using it on a Python 2 compatible project :)1.0.1 (2019-02-07)Update PyPI development status as inactive. This package is no longer
maintained, see README.rst.1.0.0 (2017-06-18)First release on PyPI, featuringkwargs_onlydecorator.
Package: kwattr
script:from kwattr import kwattr

@kwattr.wait.chdir.min.max.hide
def run(*args, **kwargs):
    return args, kwargs

@kwattr.all.dirs
def scan(arg, idir=False, ifile=True, all=False, dirs=False):
    return arg, idir, ifile, all, dirs

print run.wait('sample.exe')
print run('sample.exe')
print run.wait.chdir('sample.exe')out:(('sample.exe',), {'max': False, 'chdir': False, 'hide': False, 'min': False, 'wait': True})
(('sample.exe',), {'max': False, 'chdir': False, 'hide': False, 'wait': False, 'min': False})
(('sample.exe',), {'max': False, 'chdir': True, 'hide': False, 'min': False, 'wait': True})
Package: k-Wave-python
k-Wave-pythonThis project is a Python implementation of v1.4.0 of theMATLAB toolbox k-Waveas well as an
interface to the pre-compiled v1.3 of k-Wave simulation binaries, which support NVIDIA sm 5.0 (Maxwell) to sm 9.0a (Hopper) GPUs.MissionWith this project, we hope to increase the accessibility and reproducibility ofk-Wavesimulations
for medical imaging, algorithmic prototyping, and testing. Many tools and methods ofk-Wavecan
be found here, but this project has and will continue to diverge from the originalk-WaveAPIs
to leverage pythonic practices.InstallationTo install the most recent build of k-Wave-python from PyPI, run:pipinstallk-wave-pythonAfter installing the Python package, the required binaries will be downloaded and installed the first time you run a
simulation.Getting startedAfter installation, run the B-mode reconstruction example in theexamplesdirectory of the repository:gitclonehttps://github.com/waltsims/k-wave-pythoncdk-wave-python
gitcheckoutv0.3.2
pipinstall'.[example]'python3examples/us_bmode_linear_transducer/us_bmode_linear_transducer.pyThis example file steps through the process of:Generating a simulation mediumConfiguring a transducerRunning the simulationReconstructing the simulationRequirementsThis example expects an NVIDIA GPU by default to simulate with k-Wave.To test the reconstruction on a machine with a GPU,
setRUN_SIMULATIONon line 29 ofus_bmode_linear_transducer.pytoTrue, and the example will run without the pre-computed data.DevelopmentIf you're enjoying k-Wave-python and want to contribute, development instructions can be
foundhere.Related Projectsk-Wave: A MATLAB toolbox for the time-domain simulation of acoustic wave fields.j-wave: Differentiable acoustic simulations in JAX.ADSeismic.jl: a finite difference acoustic simulator with support for AD
and JIT compilation in Julia.stride: a general optimisation framework for medical ultrasound tomography.DocumentationThe documentation for k-wave-python can be foundhere.Citation@software{k-Wave-Python,author={Yagubbbayli, Farid and Sinden, David and Simson, Walter},license={GPL-3.0},title={{k-Wave-Python}},url={https://github.com/waltsims/k-wave-python}}Contacte-mailwsimson@stanford.edu.
Package: kwconfig
InstallInstallPythonInstallkwconfigviapippip install kwconfigFor the latest developer version, seeDeveloper Install.Usageimportkwconfig# Specify a file path for creating kwconfig objectconfig=kwconfig.manage('config.json',defaults={'key0':'value0'})# Update the config file with a key and value dictconfig.update({'key1':'value1','key2':'value2'})# Add a keyword dict to existing config file# If a key exists, it will be updated# If a key does not exist, it will be addedother_config={'key3':'value3'}other_config=config.add(other_config)# Write new values using keyword dictconfig.overwrite({'new_key1':'new_value1','new_key2':'new_value2'})# Obtain a dict of the config file contentskw=config.read()# Remove the key named "key1"config.remove('key1')# Reset to defaultsconfig.reset()# Parsing a keyword list into dict ----# Create a sample list of keyword argumentsargv=['--key1=value1','--key2=value2']# Parse into a keyword dictkwdict=kwconfig.parse(argv)# View the values of key1 and key2print('key1: '+kwdict['key1'])print('key2: '+kwdict['key2'])For more usage details, see theDocumentation.Developer NotesDeveloper InstallInstall the latest developer version withpipfrom github:pip install git+https://github.com/rrwen/kwconfigInstall fromgitcloned source:Ensuregitis installedClone into current pathInstall viapipgit clone https://github.com/rrwen/kwconfig
cd kwconfig
pip install . -ITestsClone into current pathgit clonehttps://github.com/rrwen/kwconfigEnter into foldercd kwconfigEnsureunittestis availableRun testspip install . -I
python -m unittestDocumentation MaintenanceEnsuresphinxis installedpip install-UsphinxUpdate the documentation indocs/pip install . -I
sphinx-build -b html docs/source docsUpload to GithubEnsuregitis installedAdd all files and commit changesPush to githubgit add .
git commit -a -m "Generic update"
git pushUpload to PyPiEnsuretwineis installedpip install twineEnsuresphinxis installedpip install-UsphinxRun tests and check for OK statusDeletedistdirectoryUpdate the version inkwconfig/__init__.pyUpdate the documentation indocs/Create source distributionUpload toPyPipip install . -I
python -m unittest
sphinx-build -b html docs/source docs
python setup.py sdist
twine upload dist/*
Package: kw-cp210x-program
The goal of this library is to provide access to the EEPROM of an Silabs CP210x
under Linux.The CP210x is an USB-to-serial chip used in a lot of USB devices (similar to
FTDIs and PL2303). The CP210x has a EEPROM on the chip which can be programmed
via USB. Silabs provides already a library and gui programm to program this
EEPROM, but only for windows.For more information see:
*http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/Interface/en/interface.htm*http://www.silabs.com/public/documents/tpub_doc/anote/Microcontrollers/Interface/en/an144.pdfRequires:
* libusb:http://libusb.sourceforge.net/* ctypes:http://starship.python.net/crew/theller/ctypes/