Saravanan666/pypi-org huggingface dataset:
Package: key-set
key_setPython port ofKeySet in TypeScriptandKeySet in RubyKeySet with 4 classes to represent concepts of All, None, Some, and AllExceptSome, the last 2 with a set of keys, and all withintersection,difference,union,inversion, andinclusioncalculations.Limitationsfor now, only KeySet of stringsno ComposedKeySet yet (seeKeySet in TypeScript)KeySetTypeenumEnum that represents the 4 types of KeySets:ALLrepresents the entirety of possible keys (𝕌)NONErepresents an empty set (∅)SOMErepresents a concrete set (A ⊂ 𝕌)ALL_EXCEPT_SOMErepresents the complementary of a set, all the elements except the given
ones (A' = {x ∈ 𝕌 | x ∉ A}) _(seeComplement in Wikipedia)*CreationBuild your KeySets using the build functionsfromkey_setimportbuild_all,build_none,build_some_or_none,build_all_except_some_or_allbuild_all()# => returns a new instance of KeySetAllbuild_none()# => returns a new instance of KeySetNonebuild_some_or_none([])# returns a new instance of KeySetNone# returns a new instance of KeySetSome with keys {'a', 'b', 'c'} (in a unique set)build_some_or_none({'a','c','b'})build_some_or_none(['a','c','b','c'])build_all_except_some_or_all([])# returns a new instance of KeySetAll# returns a new instance of KeySetAllExceptSome with keys {'a', 'b', 'c'} (in a unique set)build_all_except_some_or_all({'a','c','b'})build_all_except_some_or_all(['a','c','b','c'])KeySetclassesMethods exposed:key_set_type()returns theKeySetTypeenumelements()returns the set with the elements. It will be blank forAllandNone.represents_xxx()methodsrepresents_all: returns True if the KeySet is ALLrepresents_none: returns True if the KeySet is NONErepresents_some: returns True if the KeySet is SOMErepresents_all_except_some: returns True if the KeySet is ALL_EXCEPT_SOMEinvert()Returns a new KeySet that represents the inverse Set of this one.ALL<->NONESOME<->ALL_EXCEPT_SOMEintersect(other)Returns a new KeySet with the intersection (A ∩ B) of both Sets: a set that contains the elements included in both sets.union(other)Returns a new KeySet with the union (A ∩ B) of both Sets: a set that contains the elements in any of the sets.difference(other)Returns a new KeySet with the difference (A - B) of the Sets: a set that contains the elements of A that are not in B.includes(element)Returns True if the set that this KeySet represents contains the given element.
Package: key-shuffler
key_shufflerSimply python library for encrypting private keys using character shuffle method.Supports any blockchains, but is guaranteed to mask only EVM/Aptos private keys.It checks the correctly entered password by checking the case of the last 2 characters of the key.Accepts wallets in the format:address:keyorkeyInstallationpip install key-shufflerUsageEncrypt/decrypt keyfromkey_shufflerimportKeyShufflera) The password is already set in the variable:private_key="........"passphrase="Hello world"shuffler=KeyShuffler(passphrase)encrypted_key=shuffler.encrypt_private_key(private_key)decrypted_key=shuffler.decrypt_private_key(encrypted_key)b) The password will be specified by the user via the terminal:private_key="......."shuffler=KeyShuffler()encrypted_key=shuffler.encrypt_private_key(private_key)decrypted_key=shuffler.decrypt_private_key(encrypted_key)Encrypt/decrypt fileFast sync/async encrypt: using the context manager:fromkey_shufflerimportopenEncryptedwithopenEncrypted(".....",'r')asfile:...fromkey_shufflerimportaiofilesOpenEncryptedasyncwithaiofilesOpenEncrypted(".....",'r')asfile:...Default:shuffler=KeyShuffler()wallets=shuffler.encrypt_from_file(file_wallets)wallets=shuffler.decrypt_from_file(file_wallets)shuffler.encrypt_file_to_file(file_wallets,file_encrypted_wallets)shuffler.decrypt_file_to_file(file_encrypted_wallets,file_wallets)Handling an input errorIf the password is incorrect, there will be an error and you will be asked to enter it again:DONATE (EVM CHAINS) - 0xd8dcc73675a36f618fe780049429ec66f8402199
Package: keysight
keysightkeysightis a Python 3.4+ package providing modules and helpers to work with
data files fromKeysight Technologies(formerly Agilent/HP) test
equipment.DependenciesRuntime DependenciesnumpyDevelopment DependenciesinvokenoseunipathSupport Keysight EquipmentSpectrum AnalyzersBelow are the modules available in the keysight package and the
compatible equipment for each module:n9340: N9340 spectrum analyzere4411b: E4411B, E4402B spectrum analyzersContributingUse the following commands to create a Python 3.9.9 virtualenv usingpyenvandpyenv-virtualenv, install the requirements in the virtualenv namedkeysight, and list the availableInvoketasks.$pyenvvirtualenv3.9.9keysight
$pyenvactivatekeysight
$pipinstall-rrequirements.txt
$inv-lSample CSV and other data filesCurrently, the only sample files tested are the CSV files from a N9340B
and E4411B spectrum analyzer. If you have other data files saved from a
Keysight/Agilent/HP piece of test equipment and are willing to share it,
please open an issue or submit a pull request to let us know.Submitting Pull Requestskeysightis developed usingScott Chacon'sGitHub Flow. To
contribute, forkkeysight, create a feature branch, and then submit
a pull request.GitHub Flowis summarized as:Anything in themasterbranch is deployableTo work on something new, create a descriptively named branch off ofmaster(e.g.,new-oauth2-scopes)Commit to that branch locally and regularly push your work to the same
named branch on the serverWhen you need feedback or help, or you think the brnach is ready for
merging, open apull request.After someone else has reviewed and signed off on the feature, you can
merge it into master.Once it is merged and pushed tomaster, you can andshoulddeploy
immediately.TestingLicensekeysightis released under the MIT license. Please see theLICENSE.txtfile for more information.
Package: keysightosc
Keysight OscilloscopeInterface for Keysight Oscilloscopes.FeaturesBasic support for model DSOX1102AInstallationTo install the Keysight Oscilloscope Interface, run this command in your terminal:$ pip install keysightoscNote that usage in Windows will require theIO Libraries Suiteby Keysight.UsageTo use Keysight Oscilloscope in a project:from keysightosc import Oscilloscope

osc = Oscilloscope()
# Get signal data from first channel
data = osc.get_signal('CHAN1')ChangelogThis project follows the guidelines ofKeep a changelogand adheres toSemantic versioning.0.1.0- 2022-12-01AddedFirst preview release.
Package: keysmith
Generate passphrases by randomly selecting and concatenating words from a list.Note: This project is no longer maintained.Usexkcdpassinstead.InstallationUsepipto install Keysmith.pipinstallkeysmithUsageKeysmith can be invoked from a command-line or imported in Python.CLI$ keysmith --help
usage: keysmith [-h] [--delimiter DELIMITER] [--encoding ENCODING]
                [--nsamples NTEETH] [--population POPULATION] [--stats]
                [--version]

optional arguments:
  -h, --help            show this help message and exit
  --delimiter DELIMITER
                        a delimiter for the samples (teeth) in the key
                        (default: )
  --encoding ENCODING   the encoding of the population file (default: utf-8)
  --nsamples NTEETH, -n NTEETH
                        the number of random samples to take (default: 6)
  --population POPULATION, -p POPULATION
                        alphanumeric, ascii_letters, digits, printable, or a
                        path to a file of line-delimited items (default:
                        /usr/share/dict/words)
  --stats               show statistics for the key (default: False)
  --version             show program's version number and exit$ keysmith -n4
correct horse battery stapleAPI>>>importkeysmith>>>help(keysmith)>>>withopen('/usr/share/dict/words','r')aswords:...keysmith.key(seq=list(words),nteeth=4,delimiter=' ')...'correct horse battery staple'
Package: keyspot
KeySpotSign uphereKeySpot is a tool to help manage environment variables for individuals and teams of developers. The service stores environment variables for your project in a centralized place so you don't have to juggle different .env files for your environements and applications. Once you have signed in atkeyspot.app, you can create new records, share them with your team, and access them in code.See ourusage tutorialon YouTube.Installation$pipinstallkeyspotUsageSign in toKeySpot, and create a record. At the top of each record's page there is an accessKey. Copy the accessKey as you will be using this to access your environment variables in code.Accessing your environment in code:importkeyspotrecord=keyspot.get_record('<accessKey>')Updating your environment in code:importkeyspotnewVariables={"newVar1":"foo","newVar2":"bar"}update_record('<accessKey>',newVariables)note: You will want to supply your program with your access key as your only environement variable or a command line argument.
Package: keyspwgenerator
Keys (Password Generator)Introduction to KeysKeys is a password generator that creates new passwords from uppercase letters, lowercase letters, digits, and special characters all within the Terminal.Installationpip3 install keyspwgenerator --userUsageUsage: keys [OPTIONS]

    CLI app that creates a password for you!

Options:
    -l, --length INTEGER  Length of desired password. Will default to 8
                            if flag is not used
    -r, --remove TEXT     Values or characters to be excluded from the created
                            password (Enter values as a string... ex: 'j9_@Dy]'
    -n, --no_repeats      Ensures there are no duplicate characters
    -c, --check TEXT      Checks string and returns password strength rating
    -s, --strong          Ignores length input and instead returns a strong
                            password
    --help                Show this message and exit.NotesWorks with Python 3.8^
Package: keystok
This tool provides shell access to Keystok from Linux, OS X and other
UNIX-like operating systems. It can be used e.g. inside Docker containers
to access Keystok keys.InstallationTo install the Python client, run this in your shell:pip install keystokYou can do it inside a virtualenv if needed.UsageRun “keystok -h” for help on the available commands and options.Specifying the access tokenTo configure the access token, first run this in the shell:export KEYSTOK_ACCESS_TOKEN=<access token from keystok.com>Alternatively you can also specify the token in each command using:keystok -a <token>In Dockerfiles you might want to use the convenient ENV directive:ENV KEYSTOK_ACCESS_TOKEN <access token from keystok.com>Or to keep it out of the Dockerfile, specify it with docker run instead:docker run -e KEYSTOK_ACCESS_TOKEN=<access token>It’s also possible to place the access token in one of these files:./.keystok/access_token (under current directory)
~/.keystok/access_token (under home directory)CommandsTo list all keys associated with the application:keystok lsTo retrieve a key and output it into stdout:keystok get <keyid>To automatically retrieve ssh keys and generate a ssh configuration:keystok [-f] sshautoconfig
(the -f option will force-overwrite any existing SSH keys)
Package: keystone
OpenStack Keystone provides authentication, authorization and service discovery
mechanisms via HTTP primarily for use by projects in the OpenStack family. It
is most commonly deployed as an HTTP interface to existing identity systems,
such as LDAP.Developer documentation, the source of which is indoc/source/, is
published at:https://docs.openstack.org/keystone/latestThe API reference and documentation are available at:https://docs.openstack.org/api-ref/identityThe canonical client library is available at:https://opendev.org/openstack/python-keystoneclientDocumentation for cloud administrators is available at:https://docs.openstack.org/The source of documentation for cloud administrators is available at:https://opendev.org/openstack/openstack-manualsInformation about our team meeting is available at:https://wiki.openstack.org/wiki/Meetings/KeystoneMeetingRelease notes is available at:https://docs.openstack.org/releasenotes/keystoneBugs and feature requests are tracked on Launchpad at:https://bugs.launchpad.net/keystoneFuture design work is tracked at:https://specs.openstack.org/openstack/keystone-specsContributors are encouraged to join IRC (#openstack-keystoneon OFTC):https://wiki.openstack.org/wiki/IRCSource for the project:https://opendev.org/openstack/keystoneFor information on contributing to Keystone, seeCONTRIBUTING.rst.
Package: keystoneauth1
Team and repository tagskeystoneauthThis package contains tools for authenticating to an OpenStack-based cloud.
These tools include:Authentication plugins (password, token, and federation based)Discovery mechanisms to determine API version supportA session that is used to maintain client settings across requests (based on
the requests Python library)Further information:Free software: Apache licenseDocumentation:https://docs.openstack.org/keystoneauth/latest/Source:https://opendev.org/openstack/keystoneauthBugs:https://bugs.launchpad.net/keystoneauthRelease notes:https://docs.openstack.org/releasenotes/keystoneauth/
Package: keystoneauth-oidc-refreshtoken
# OpenID Connect Access Token Procurement Through Refresh Token for OpenStack Clients[![Build Status](https://travis-ci.org/quinoescobar/keystoneauth-oidc-refreshtoken.svg?branch=master)](https://travis-ci.org/quinoescobar/keystoneauth-oidc-refreshtoken)[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/quinoescobar/keystoneauth-oidc-refreshtoken/master/LICENSE)Description===========This is a plugin for the OpenStack Clients,[keystoneauth1](https://github.openstack/keystoneauth) library,which provides client support Refresh Token for the procurement of the Access Token.---------------## Installation#### PIP* Install it via  pip:pip install keystoneauth-oidc-refreshtoken#### Download* Clone the repository and install it:git clone https://github.com/quinoescobar/keystoneauth-oidc-refreshtoken.gitcd keystoneauth-oidc-refreshtokenpip install .--------## Usage### CLIYou must specify the auth type `v3oidcrefreshtoken` in the `--os-auth-type` option and provide a valid Refresh Token with `--os-refresh-token` :openstack --os-auth-type v3oidcrefreshtoken \--os-auth-url https://keystone.example.org/v4/token \--os-refresh-token <refresh-token> \--os-client-id <client-id> \--os-client-secret <client-secret> \--os-protocol <protocol> \--os-identity-provider <identity-provider> \--os-access-token-endpoint <access-token-endpoint> \token issue--------[keystoneauth-oidc-refreshtoken](https://github.com/quinoescobar/keystoneauth-oidc-refreshtoken)
Package: keystone-engine
Keystone is a lightweight multi-platform, multi-architecture assembler framework.
It offers some unparalleled features:Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Ethereum Virtual Machine, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).Clean/simple/lightweight/intuitive architecture-neutral API.Implemented in C/C++ languages, with bindings for Java, Masm, C#, PowerShell, Perl, Python, NodeJS, Ruby, Go, Rust, Haskell, VB6 & OCaml available.Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed).Thread-safe by design.Open source - with a dual license.Further information is available athttp://www.keystone-engine.orgLicenseKeystone is available under a dual license:Version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.).
License information can be found in the COPYING file EXCEPTIONS-CLIENT file.This combination allows almost all of open source projects to use Keystone without conflicts.For commercial usage in production environments, contact the authors of Keystone to buy a royalty-free license.See LICENSE-COM.TXT for more information.
Package: keystone-engine-rdv
Keystone is a lightweight multi-platform, multi-architecture assembler framework.
It offers some unparalleled features:Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Ethereum Virtual Machine, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).Clean/simple/lightweight/intuitive architecture-neutral API.Implemented in C/C++ languages, with bindings for Java, Masm, C#, PowerShell, Perl, Python, NodeJS, Ruby, Go, Rust, Haskell, VB6 & OCaml available.Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed).Thread-safe by design.Open source - with a dual license.Further information is available athttp://www.keystone-engine.orgLicenseKeystone is available under a dual license:Version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.).
License information can be found in the COPYING file EXCEPTIONS-CLIENT file.This combination allows almost all of open source projects to use Keystone without conflicts.For commercial usage in production environments, contact the authors of Keystone to buy a royalty-free license.See LICENSE-COM.TXT for more information.
Package: keystone-keycloak-backend
Keycloak backend for OpenStack KeystoneThis is a Keycloak backend for OpenStack Keystone, it currently offers the
ability to use Keycloak as the following backends:Identity (users & groups)Soon: Assignment (projects, roles, etc)The way this project is mean to be used is installed alongside Keystone with a
domain configured to use the Keycloak backend.This allows you to use features such as OpenID Connect federation with the same domain but instead relying onlocalusers instead offederatedusersThis means that you can control the enabled/disabled state of a user and update other attributes directly in Keycloak and they will be instantly reflected
inside of Keystone.TestingIn order to test this project, you will need both Docker and Docker Compose
installed on your system.  You can bring up a test environment by running:$dockercomposeup-dThis will bring up a Keycloak instance and a Keystone instance, you can then
login to the Keystone instance with the following credentials:Username:adminPassword:adminYou can then use the Keystone CLI to interact with the Keystone instance:$sourcehack/testrc
$openstackuserlist
Package: keystonemiddleware
Middleware for the OpenStack Identity API (Keystone)This package contains middleware modules designed to provide authentication and
authorization features to web services other thanKeystone
<https://github.com/openstack/keystone>. The most prominent module iskeystonemiddleware.auth_token. This package does not expose any CLI or
Python API features.For information on contributing, seeCONTRIBUTING.rst.License: Apache License, Version 2.0Documentation:https://docs.openstack.org/keystonemiddleware/latest/Source:https://opendev.org/openstack/keystonemiddlewareBugs:https://bugs.launchpad.net/keystonemiddlewareRelease notes:https://docs.openstack.org/releasenotes/keystonemiddleware/For any other information, refer to the parent project, Keystone:https://github.com/openstack/keystone
Package: keystone-oidc-auth-plugin
OpenID Connect plugin for Keystone authenticationThis repository contains an OpenID Connect Implementation for the OpenStack
Identity service (Keystone).InstallationInstall it viapip:pip install keystone_oidc_auth_pluginConfigurationIn order to configure it you must enable it on the authentication methods inkeystone.conf, and then specify to use theifcaplugin, for instance:[auth]

# Allowed authentication methods. Note: You should disable the `external` auth
# method if you are currently using federation. External auth and federation
# both use the REMOTE_USER variable. Since both the mapped and external plugin
# are being invoked to validate attributes in the request environment, it can
# cause conflicts. (list value)
methods = password,token,openid

openid = ifcaThen, you can configure the global OpenID Connect specific options as follows:[openid]

# The prefix to use when setting claims in the HTTP headers/environment
# variables. (string value)
#claim_prefix = OIDC_

# Value to be used to obtain the entity ID of the Identity Provider from the
# environment. Defaults to OIDC_iss. (string value)
#remote_id_attribute = OIDC_iss

# Default duration in seconds after which retrieved JWS should be refreshed.
# (integer value)
#jws_refresh_interval = 3600Finally, you need to add a section for each of the Identity Providers (IdP)
that you want to support. In order to do so, the plugin looks for IdP entries
that are prefixed byopenid_. The IdP name that you use for each of these
entries must match the identity provider's name configured in Keystone,
therefore if you have defined an IdP namedidp-name, you must add an entry as
follows:[openid_idp-name]

# OpenID connect issuer URL. We will use this to build all the required options
# asking the discovery url (i.e. querying the $issuer/.well-known/openid-
# configuration endpoint. This has to correspond to the 'remote-id' parameter
# that is set in the federated identity provider configuration that is
# configured in Keystone. (string value)
#issuer = <None>

# Client identifier used in calls to the OpenID Connect Provider (string value)
#client_id = <None>

# OpenID connect issuer URL. We will use this to build all the in Keystone.
# (string value)
#authorization_endpoint = <None>

# Client identifier only known by the application and Identity provider client
# (string value)
#client_secret = <None>

# Supported OpenID scopes in the Identity provider (string value)
#scope = <None>

# OpenID connect URL to get identity and access tokens (string value)
#token_endpoint = <None>

# Allowed HTTP method for userinfo request. Optional.
#userinfo_method = POST
Package: keystone-tempest-plugin
Tempest plugin keystone_tempest_pluginTempest plugin for functional testing of keystone’s LDAP and federation
features. More information can be found in thekeystone developer
documentation.Free software: Apache licenseDocumentation:https://docs.openstack.org/keystone/latest/Source:http://opendev.org/openstack/keystone-tempest-pluginBugs:http://bugs.launchpad.net/keystone_tempest_plugin
Package: keystone-voms
# Keystone VOMS auth module [![Build Status](https://travis-ci.org/IFCA/keystone-voms.png?branch=stable/icehouse)](https://travis-ci.org/IFCA/keystone-voms)This module is intended to provide VOMS authentication to a Grizzly
OpenStack Keystone. It is designed to be integrated as an external
authentication plugin, so that Keystone will preserve its original
features and users will still be able to authenticate using any of the
Keystone native mechanisms.The documentation (the source is indoc/source/) is online at
[Keystone VOMS documentation](https://keystone-voms.readthedocs.org/en/latest/).If you are using it, it would be nice that you add your site to the
[Sites Using It](https://github.com/IFCA/keystone-voms/wiki/SitesUsingIt) wiki page.## TestingIf you are interested in running the unit tests, check theTESTING.mdfile for instructions.[Build Status]:https://travis-ci.org/IFCA/keystone-voms[BS img]:https://travis-ci.org/IFCA/keystone-voms.png