Saravanan666/pypi-org huggingface dataset:
Package: keyfinder
Keyfinder Python 3.x bindingsThis package implements basic bindings forlibKeyFinder. It includes the
supporting libav code for reading audio data and passing it into libKeyFinder.Usage>>>importkeyfinder>>>key=keyfinder.key('my-audio.mp3')>>>keyA>>>key.camelot()11B>>>key.open_key()4dBuild requirementsYou must have the following dependencies installed to build this modulelibKeyFinderwhich has
it's own set of dependencies. On mac you can use homebrew to tapEvanPurkhiser/homebrew-personaland thenbrew install libkeyfinder.ffmpeg. On mac usebrew install ffmpeg
Package: keyflare
KeyFlareAboutSome users prefer using a keyboard over a mouse because of accessibility needs or personal reasons. KeyFlare enables users to interactively control their mouse using their keyboard.  Showcases available on mywebsite. KeyFlare is open source, free, and both easy to understand and install.Also, please check the documentation ingithub wiki!Also used for testing and benchmarking.InstallationSuggested:pipinstallkeyflare
keyflareAlternative 1:pipinstall-egit+https://github.com/pranitsh/keyflare.git@main#egg=keyflare--upgradeThe@maininstalls the main branch.The#egg=keyflaremakes sure to name the package keyflareThe--upgradeforces an update to the library if you had it installed already somehow through another package that depends on it or something else.The-emeans that the source code is installed too. The logging done when you run this line (normally the second line from the top) will show you where it is. You can then edit this source code for changes to propagate to the library. I do not often use this feature, but it is there for others if you want it.pipinstall-e"git+https://github.com/pranitsh/keyflare.git@main#egg=keyflare[dev]"--upgradeAdd the quotation marks and the[dev]for the developer toolkit to come with it (including pytest, wheel, black, etc)Alternative 2:Usegit clone https://github.com/pranitsh/keyflare.gitto install the source codeOptional: create a virtual environment withpython -m venv envand activate it as per your systemInstall dependencies:pip install -r requirements.txtGo to the KeyFlare root directory and runpython keyflare, which will run the code in__main__.pyautomatically.For macOS, both PyAutoGUI (which takes screenshots and moves the mouse) and pynput (which monitors keyboard for hotkey) do claim compatibility with macOS. However, there are some macOS-specific hoops you should be aware of:pynput requiressudo keyflareand on macOS versions post-Mojave, you may need to whitelist your terminal applicationPyAutoGUI requires users on El Capitan to runMACOSX_DEPLOYMENT_TARGET=10.11 pip install pyobjcInspirationVimium C, a common tool for users with accessibility needs for navigating web browsers, does not work on web browsers. Apple Voice Control's smart grid, a tool for navigating on Apple displays, does not work outside of an iPhone and would not be effective on large displays. There was no tool available for this, so I decided to make it.FeaturesIntuitive Hotkey: (Left alt) + (Lowercase a) for left click and (Left alt) + (Lowercase s) for right clickIntuitive Process: KeyFlare simply opens up a fullscreen image to show you the options on the screen.Enhanced image segmentation algorithm that optimizes speed.Cross-platform compatibility with Linux, macOS, and Windows. (Untested on macOS since I do not have access to that environment at the moment.)In the worksSpecifying the number of clicks desired through preferences.Making it easier to use KeyFlare through imports by improving the documentation.Please fill out the survey
Package: keyfree
Keyfree automatically discovers your access keys using Python’s boto3.
If the environment you are running keyfree in has already been
configured for boto3 then you are good to go!Recommeded configuration is to run keyfree on an EC2 instance, with an
instance role profile that grants at least thees:ESHttpGetpermission, in which case keyfree will automatically discover your role
credentials.Installingkeyfree is available on pypi:pip install keyfreeor on the docker hub:docker pull nickrw/keyfreeConfiguringWhen you run keyfree it will use boto to discover AWS access credentials
and region configuration. The easiest way to create a configuration file
which boto will discover is by using awscli’s “aws configure” command,
and entering the information when prompted.pip install awscli
aws configureAlternatively, you can configure everything through environment
variablesexport AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AWS_DEFAULT_REGION=eu-west-1RunningThe keyfree python package includes a bin script which will launch a
werkzeug server for testing purposes. If you run it in production you
should use a production-ready web server such as gunicorn. The docker
image does this for you, but you can do it yourself by pointing a WSGI
server atkeyfree.proxy:appkeyfree-proxy-test --endpoint <your endpoint uri>Or using docker# Only the region and endpoint are required if you are running on an EC2
# instance which has role-based access to your ES domain.
docker run -ti --rm \
  -e AWS_ACCESS_KEY_ID=your_access_key \
  -e AWS_SECRET_ACCESS_KEY=your_secret_key \
  -e AWS_DEFAULT_REGION=your_region \
  -e ENDPOINT=your_endpoint_url \
  -p 9200:9200 \
  nickrw/keyfree
Package: keygen
keygen v0.0.3Простой кейген для генерации всевозможных ключей, токенов и т.п.Установка>pipinstallkeygenПараметры коммандной строки>keygen[-sSYMBOLS][-lLENGTH][-v]-s,--symbols# Набор символов для генерации:u-ASCIIuppercaselettersl-ASCIIlowercaselettersd-digitsp-punctuationsymbolsh-HEXdigitso-OCTdigitsb-BINdigitsПоумолчанию:uldp-l,--length# Длинна генерируемого ключаПоумолчанию:32-e,--emulate# Эмуляция работы алгоритма шифрованияПоддерживаютсяалгоритмы:md5,sha1,sha224,sha256,sha384,sha512,uuidПоумолчанию:NoneИспользование# Генерация 32-символьного ключа>keygen# Генерация 64-символьного ключа с использованием HEX символов>keygen-sh-l64# Генерация 128-символьного ключа с использованием всех доступных символов>keygen-suldp-l128# Генерация ключа, выглядящего как UUID>keygen-euuidСписок измененийv0.0.3[27.05.2020]Алгоритм рандома изменен на системный.Добавлена возможность генерации ключей, выглядящих как результат работы некоторых криптографических функций.Убран редим вывода дополнительной информации.v0.0.2[22.03.2018]Добавлена проверка входных параметров.v0.0.1[20.03.2018]Начало работы над проектом.
Package: keygener
Keygener a easy to use password or key generater toolFunctionality of KeygenerGenerate unique KeysGenerate unique PasswordsPick Random Number from a list of numbersIncrypt the PasswordsDesIncrypt the PasswordUsageMake sure you have Python installed in your system.Run Following command in the CMD.pip install keygenerKeygener has 5 functions that you can usegenKey(length of the key you need to generate)genPass(length of the Password you need to generate)pickRan(list('12345678'),How much values you need to pick)incrypt(password)desIncrypt(Incryptedpassword)ExamplegenKey()import keygener

print(keygener.genKey(10))Out putXV6gmjB5CVgenPass()import keygener

print(keygener.genPass(20))Out put±j/U?f,I4hv%L{V7§^ezpickRan()import keygener

print(keygener.pickRan(list('1234567890',2))Out put26incrypt()import keygener

password = keygener.genPass(20)
print(keygener.incrypt(password))Out putzz$%c£$*^&45ta><fhdnmk8&ncm_fhdnc£$c£$desIncrypt()import keygener

password = keygener.genPass(10)
print('Password : ', password)
incrypt = keygener.incrypt(password)
print('Incrypted : ', incrypt)
print('Desincrypted : ', keygener.desIncrypt(incrypt))Out putPassword :  sq2zneac-(Incrypted :  cn§∞dnc¡mk8&¢~)~o*&#sy^&shg¢ki*(lk&*bv^&Desincrypted :  sq2zneac-(!!Warning!!incrypt() and desIncrypt() function works bestly with the passwords generated by keygenerif you use other passwords thats not generated by keygener incrypt() may show an unknown value error and if you want you can change the values to the values that are supported by keygenerwe are working hard to increase the amount of supported characters in keygener incrypt() and disIncrypt() functions.
Package: key-generator
key-generatorA simple, yet highly customizable python package to generate professional keys.InstallationUse the package managerpipto install key_generator.pipinstallkey-generatorUsagefromkey_generator.key_generatorimportgeneratekey=generate(seed=101)print(key.get_key())# be1679-6ae28652eb-fa7cd6-de96-a8cckey_custom=generate(5,'-',3,3,type_of_value='hex',capital='none',extras=['%','&','^'],seed=42).get_key()print(key_custom)# ^54-10e-fa&-%34-e3ekey_custom_2=generate(2,['-',':'],3,10,type_of_value='char',capital='mix',seed=17).get_key()print(key_custom_2)# ZLFdHXIUe-ekwJCuParametersparametertypeoptionaldefaultdescriptionnum_of_atomintyes5Number of parts/atoms of the key to be generated.separatorstring,listyes'-'Separates the parts/atoms by separator is given a string.If given a list, randomly chooses separators in between the atoms.min_atom_lenintyes3Minimum length of each part/atom.max_atom_lenintyes10Maximum length of each part/atom.type_of_valuestringyes'hex'Can be one of the following 3 options:hex,char,int.hex-> key can have values only from 0-9, a-f, or A-F(depending oncapitalparameter).char-> key can have values only from a-z or A-Z(depending oncapitalparameter).int-> key can have values only between 0-9.capitalstringyes'none'Can be one of the following 3 options:none,all,mix.none-> All the values in the generated key will be lowercase.all-> All the values in the generated key will be uppercase.mix-> A mix of both upper and lower case randomly.extraslistyes[]List of extra symbols or characters that you want to include in each part/atom.Adds these symbols to the bucket to randomly choose characters in the atom.seedintyesNoneChoose a seed value for the random key generated.Returns the same pseudo-random value every time for a given seed value.TestingRun the following commands and check all tests pass.>>gitclonehttps://github.com/Sahith02/key-generator.git
>>cdkey-generator/tests
>>pythontest.py# will show how many tests passed and how many failedContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure all the above tests pass before opening a pull request.LicenseMIT
Package: keygen-licensing-tools
keygen_licensing_toolsSome handy tools for theKeygenlicensing service. (This
is a user contribution, not an official Keygen LLC product. For Keygen
software, seehere.)Install withpip install keygen_licensing_toolsand use asfromkeygen_licensing_toolsimportvalidatecheck_key("software-name",account_id="account_id",keygen_verify_key="keygen_verify_key",product_id="product_id",# optionals with default values:# refresh_cache_period=timedelta(days=1),# cache_age_warning=timedelta(days=3),# cache_age_error=timedelta(days=7),# expiry_warning=timedelta(days=7),)This validates online and offline keys with the given parameters and throws aLicenseErrorupon failure. It also features nicely formatted warnings and
errors when supplying an expired key etc. The keys must be stored either in the
environment variableSOFTWARE_NAME_LICENSE_KEYor in the TOML File~/.local/share/software-name/software-name.toml(withsoftware-namereplaced by the actual name).
Package: keygen-yocto
Key GeneratorA simple tool to generate and verify license keys for your app.This app uses RSA signature verification to sign the email address of a user
with a private key, then verify the signature with an associated public key.InstallationFrom thePython Package Index:pipinstallkeygen-yoctoor from the source:./setup.pyinstallRequirementsPythonUsagekeygenGenerate a new pair of RSA keys.Note:You will only have to do this once.When a user purchases a license, generate a license key and send it to the
user.Note:Sales and Customer Service teams will only have to do this step.
You will have to ship the private RSA key with this app to them.In your app, verify that the license key is valid.fromkeygenimportkeysifkeys.valid('email','license_key','public_key'):pass# The license key is valid.else:pass# The license key is invalid.Note:You will have to ship the public RSA key with your app.SupportEmailinfo@yoctosoft.co.zafor help.RoadmapVerify license keys in the GUI.Show a list of license keys that was generated.ContributingPull requests are welcome.  For major changes, please open an issue first to
discuss what you would like to change.Please make sure to update tests as appropriate.AcknowledgementsBased onthis article.Python-RSAfor generating and verifying
the keys.Qt for Pythonfor the GUI.LicenseCopyright (c) 2020  Yoctosoft (PTY) Ltd.info@yoctosoft.co.zaThis program comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions. See theGNU General Public Licensefor more details.
Package: key-guard
key-guardA python tool that checks to find exposed authentication keys in a project and throws a warning. This prevents the sharing of sensitive data and enforces the use of best practices like saving authentication keys to .env files.FeaturesScan Project for exposed keys and passwordsAdd words to guarded_words list to look out for when scanningExclude files from scanningInclude files for scanningCore RequirementsClickUsing the CLI tool from PipInstall the tool from pip by running:pipinstallkey-guardQuickly Scan your working directory by running:key-guard-sStart by initializing the tool by running:key-guard-iAdd the--helpoption the command to check out the available options.Usage:key_guard.py[OPTIONS][PATH]CLItooltoscanaprojectforanykeyortoken

Options:-e,--exemptTEXTexemptafilefromscanningbyremovingfrom.guard/.fileignore-inc,--includeTEXTincludeawordtoscanbyaddingitto.guard/.fileignore-a,--addTEXTAddnewwordsto.guard/.keyignore-i,--initInitializethekey_guard-l,--listListalltheguardedwords-s,--scanScantheprojectforanykeyortoken--helpShowthismessageandexit.Setting up the tool for local developmentClone this repository to your local machine.Create a virtual environment for your project and activate it. Install all dependencies from  requirements.txt file.python3-mvenv.venv/source.venv/bin/activate
pipinstall-rrequirements.txtIn the root directory of the project, develop the project locally from the setup configuration.python3setup.pydevelopA*.egg-infodirectory is created in your root directory for you to use the tool locally. Get started by running the following command:key-guard-ithe--helpoption the command to check out the available options.Usage:key_guard.py[OPTIONS][PATH]CLItooltoscanaprojectforanykeyortoken

Options:
-e,--exemptTEXTexemptafilefromscanningbyremovingfrom.guard/.fileignore-inc,--includeTEXTincludeawordtoscanbyaddingitto.guard/.fileignore-a,--addTEXTAddnewwordsto.guard/.keyignore-i,--initInitializethekey_guard-l,--listListalltheguardedwords-s,--scanScantheprojectforanykeyortoken--helpShowthismessageandexit.ContributingFork this repository to your GitHub account.Clone the forked repository to your local machine.Create a new branch for the feature you want to work on.Make your contributions.Push your local branch to your remote repository.Open a pull request to the develop branch of this repository.
Package: keyhole
A library and command-line tools for manipulating declassified imagery.The primary use for this right now is mosaicking the separate “panel”
scans of declassified imagery from EarthExplorer.UsageThere are two steps to mosaick the panel images:Use theregistersubcommand to measure the panels’ overlap. This
will typically look something like:keyhole register -j coreg.json name_*.tifThis will createcoreg.jsonwith the overlap information.Then use themosaicksubcommand with the information generated in the
previous step to combine the images:keyhole mosaick -o output.tif -j coreg.json name_*.tifTheshrinkargument is useful for creating smaller preview images:keyhole mosaick -o out.jpg --shrink 10 -j coreg.json name_*.tifTo create tiled pyramidal images:keyhole mosaick -o out.tif \
    --tile --pyramid --tile_width 256 --tile_height 256 \
    -j coreg.json name_*.tifFor more information, seekeyhole-h.InstallationBefore installation, you must have libvips installed. The procedure for
that varies by platform; seethe libvips documentationfor more info.
After that, simply:pip install keyholeThis installs both the package and the command-line toolkeyhole.You can also run the code as a python module withpython-mkeyhole.If you’ve cloned thekeyholerepo and you have the dependencies described
inpyproject.toml, you can simply run the script at the root of the repo:python keyhole.py -h
Package: keyhub
keyhub-python-sdkSDK for KeyHub written in PythonPython client for the Topicus KeyHub Vault API, supported under python 3 (only tested with 3.6).Basic usage:importkeyhubkeyhub_client=keyhub.client(uri='<your KeyHub uri>',client_id='<KeyHub application id>',client_secret='<KeyHub application secret>')keyhub_vault=keyhub.vault(authentication=keyhub_client_auth)print(keyhub_client.info())keyhub_client.get_group('<group uuid>')keyhub_client.get_vault_records('<group uuid>')keyhub_client.get_vault_record('<group uuid>','<vault record uuid>')keyhub_client.get_account_record(account_uuid='<useraccount uuid>')keyhub_client.get_account_record(account_username='<useraccount username>')payload={'items':[{"$type":"vault.VaultRecord",'additionalObjects':{'secret':{'$type':'vault.VaultRecordSecrets','password':'super-secure-password123',"comment":"This is an example record, nothing special"}},'name':'KeyHub example record','username':'my-username','color':'PINK_LAVENDER',# PINK_LAVENDER, RED, ANDROID_GREEN, DARK, NONE, BLUE, SAGE, ARTICHOKE, CRIMSON_RED, GREEN, MIDDLE_YELLOW'url':'https://topicus-keyhub.com','endDate':'2023-05-25','warningPeriod':'ONE_MONTH'# AT_EXPIRATION, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, NEVER}]}post_vault_record=keyhub_vault.post_vault_record(group_uuid=settings['vault_uuid'],payload=payload)This repository is a cherry pick from the original authorsrepoand modified to fit some more specific needs.
Package: keyjen
VHCreator created to manage virtual hosts. For now you can add virtual host with one simply act like:$vhcreator <servername> <directory> -ho -cf /etc/apache2/sites-available/000-default.confOptionsIn addition , you can use this options.-h HELP-cf This define your server virtual hosts configuration file path
to add virtual host. In first use you have to define it then it will be used
on other sessions.-ho With this option , you can add given <servername> to operating system hosts fileautomaticaly.-r Git repository url to clone given directory-f Foldername define which folder will use on cloning.In futureAdded hosts could be deleted with given alias.User can clone a git repository to given directory.ContributorsUğur Soğukpınar
Package: keyless_fernet
A Python library to parseFernet tokensas much
as possible without using a key. This is useful for doing limited,
non-cryptographic validation or introspection of Fernet tokens.Usage>>>token='gAAAAAAdwJ6wAAECAwQFBgcICQoLDA0ODy021cpGVWKZ_eEwCGM4BLLF_5CV9dOPmrhuVUPgJobwOz7JcbmrR64jVmpU4IwqDA=='>>>importkeyless_fernet>>>t=keyless_fernet.Token(token)# tokens are validated on init>>>t.validate(ttl=60)# but you can also validate a token against any TTL>>>t.version# retrieve the token's version, as an integer128>>>t.timestamp# retrieve the token's timestamp, as a datetimedatetime.datetime(1985,10,26,8,20)>>>t.iv# and see the hex representations of the other attributes'000102030405060708090a0b0c0d0e0f'>>>t.ciphertext'2d36d5ca46556299fde13008633804b2'>>>t.hmac'c5ff9095f5d38f9ab86e5543e02686f03b3ec971b9ab47ae23566a54e08c2a0c'TestingNo external testing dependencies are required:$python-munittestdiscover
Package: keylight
KeylightA CLI to control anElgato Key Lightfor Linux, macOS, and Windows.Leverages thepyleglightlibrary.RequirementsPython >= 3.6InstallationKeylight can be downloaded frompypi.org.pip3installkeylightUsage$ keylight
usage: keylight [-h] [-b BRIGHTNESS] [-c COLOR] [--host HOST] [--on] [--off]

A CLI to control an Elgato Key Light

optional arguments:
  -h, --help            show this help message and exit
  -b BRIGHTNESS, --brightness BRIGHTNESS
                        0 <= brightness <= 100
  -c COLOR, --color COLOR
                        2900 <= color temperature <= 6987
  --host HOST           hostname of the Key Light (omit to use auto-discovery)
  --on                  turn the Key Light on
  --off                 turn the Key Light offExamples$ keylight --brightness 45 --color 5500 --on
Auto-discovering Key Light ...
Connected to: Elgato Light @ 192.168.1.100:9123
Brightness: 45%
Color: 5500k
Turning On

$ keylight --host=keylight --off
Connected to: Elgato Light @ keylight:9123
Turning OffAliasesYou may find it convenient to use shell aliases:alias koff='keylight --host keylight --off'
alias kon='keylight --host keylight --on'Example usage:# Turn on and set brightness to 20%
$ kon -b20
Connected to: Elgato Light BW42J1A06055 @ keylight:9123
Brightness: 20%
Turning OnDeveloping# Initialize venvpython3-mvenv.venvsource.venv/bin/activate# Buildpip3install--upgradebuild
python3-mbuild
pip3install--upgradedist/*.whl# If the version hasn't changed, then specify --force-reinstallpip3install--upgrade--force-reinstalldist/*.whl# Runpython3-mkeylight.main--on# Publishpip3installtwine
twineuploaddist/*
Package: keylight-cli
keylight-cliA Python CLI module designed to control theElgatobrand Lights. Use this when you want a simple command line to control your keylight. Currently only tested with a Keylight Air.This was originally created for my purposes, allowing me to control a Keylight Air using a Stream Deck under Linux (using the pythonstreamdeck-uimodule)DependenciesThis uses the excellentleglightpython module, and wraps it in a very simple CLI tool.UsageThe CLI supports multiple keylights on a single network. You can target a specific light with a-s <serial number>parameter before any command.
If no serial number is provided, then the CLI will use the first one found on the network (not necessarily guaranteed to be the same one each time).
For best results, specify the serial number if you have multiple keylights to controlRun the command without any arguments to see the helpList% keylight list
Found 1 lights
Light <SERIAL> at <IP>:<PORT>Info% keylight info
Getting information from <SERIAL>
Light <SERIAL> at <IP>:<PORT>
State             : ON
Brightness        : 10 %
Color Temperature : 4300.0 KControl% keylight on
Turning on <SERIAL>
% keylight off
Turning off <SERIAL>Brightness% keylight set-brightness 50
Setting brightness for <SERIAL> to 50%Color Temperature% keylight set-color-temperature 5000
Setting color temperature for <SERIAL> to 5000KLicenseMITCopyrightElgato, Key Light and other product names are copyright of their owner, CORSAIR.
Package: keylimiter
keylimiter - A Thread-safe rate limiter for PythonTwo of the most popular rate limiter algorithms: token bucket and sliding window counter.it's "key"limiter to enphasize that it's a key based rate limiter, not a ip based rate limiter, so the key can be anything, like an ip, an user id, an url, etc.Some use cases:limit the number of requests per iplimit likes per user in a postlimit the number of notifications per usertoken bucketSOME_IP="111.222.1.1"""":param int bucket_size: maximum number of tokens in the bucket:param float refill_rate: token refill rate in seconds:param Callable[[], float] time_func: function that returns the current time in seconds. Default: monotonic"""limiter=TokenBucketLimiter(bucket_size=3,refill_rate=1)for_inrange(3):assertlimiter.allow(SOME_IP)==Trueassertlimiter.allow(SOME_IP)==Falsesliding window counterSOME_IP="111.222.1.1"""":param int max_requests: maximum number of requests in a window:param str window_unit: "second" | "minute" | "hour". Default: "minute":param Callable[[], float] time_func: function that returns the current time in seconds. Default: monotonic"""limiter=SlidingWindowCounterLimiter(max_requests=3,window_unit="second")for_inrange(3):assertlimiter.allow(SOME_IP)==Trueassertlimiter.allow(SOME_IP)==False