Saravanan666/pypi-org huggingface dataset:
Package: keep-dict-sorted
Keep Dict SortedThis package contains the ODict class, which is an ordered dict with the
capability to keep the items sorted not only in insertion order, but in any
order that can be achieved by sorting. Typically this can be sorted on the
keys or on the values, but a general sort key function is also possible.DocumentationJust a small example, with items sorted on the values:fromkeep_dict_sortedimportODictD=ODict({'a':0,'c':1,'b':3,'d':2},sortkey='value')print(D)# {'a': 0, 'c': 1, 'd': 2, 'b': 3}# now change a value:D['c']=4print(D)# {'a': 0, 'd': 2, 'b': 3, 'c': 4}For more: see the docstring of the keep_dict_sorted module and the ODict class.HistoryBack in the old times thepyFormex projecthad its
own ordered dict with the capability to sort the items on request. After
Python's default dict became ordered, it was dropped from pyFormex as its
applications could easily be got with a plane dict and sorting comprehensions.
Triggered by a recent discussion ondiscuss.python.orgI grabbed the old source, updated it to Python3, added some more functionality
(keeping the items sorted at all times, instead of sorting them on request),
and threw the whole thing on PyPi. Enjoy.LicensepyFormex is licensed under theGNU General Public License v3or later (GPLv3+) and so is this package.
Package: keeper
Keeper is a filesystem-based, content-addressable value store for Python 3.Installation$ pip install keeperUsing KeeperKeeper is constructed with a Storage object. This example uses FileStorage:from keeper import FileStorage, KeeperPass a directory path to a FileStorage instance, and then pass the Storage instance to the Keeper:with FileStorage("/some/directory/") as storage:
     with Keeper(storage) as k:
        ...Add string or bytes objects, and get a key in return:key = self.keeper.add("The quick brown fox jumped over the lazy dog")Use the key to retrieve the string:value = keeper[key].as_string()Add another string with some metadata:key = keeper.add(text, mime="text/plain", filename="foo.txt", author="Joe Bloggs")Retrieve metadata:print(keeper[key].meta.mime)Add a binary stream you can write to:with keeper.add_stream() as stream:
     stream.write(b'A large number of bytes')After the stream has closed, retrieve the key:key = stream.keyWrite cacheingOn slow filesystems, such as USB flash drives, it’s possible to buffer writes in RAM, using a
storage intermediary called WriteCacheStorage. Use it like this:from keeper import FileStorage, WriteCacheStorage, Keeper

with FileStorage("/some/directory/") as file_storage:
    with WriteCacheStorage(file_storage) as cached_storage:
        with Keeper(cached_storage) as k:
            ...Closing the WriteCacheStorage instance will block until all pending writes have been committed to
the underlying FileStorage.DeploymentTo build and deploy a package to PyPI:$ bumpversion patch
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
Package: keeper-cnab240
keeper-cnab240CNAB-240 file pattern for brazilian banking financial integration.pip install keeper-cnab240Available BanksBankShipmentReturnSegmentsItau / SispagBetaBetaA, J/J-52RequirementsPython 3.6+Dependency Installationpipinstall-rrequirements.txtPublish new library versionpython3-mpipinstall--user--upgradesetuptoolswheel
python3-mpipinstall--user--upgradetwine

python3setup.pysdistbdist_wheel
python3-mtwineuploaddist/*
Package: keepercommander
About Keeper CommanderKeeper Commander is a command-line and SDK interface to Keeper® Password Manager. Commander can be used to access and control your Keeper vault, perform administrative functions (such as end-user onboarding and data import/export), launch remote sessions, rotate passwords, eliminate hardcoded passwords and more. Keeper Commander is an open source project with contributions from Keeper's engineering team and partners.DocumentationTo read the Keeper Commander documentation please click here:https://docs.keeper.io/secrets-manager/commander-cli/overviewAbout Keeper SecurityKeeper is the leading cybersecurity platform for preventing password-related data breaches and cyberthreats.Learn More at:https://keepersecurity.com
Package: keepersdk
Keeper-Security/keeper-sdk-pythonKeeper SDK for PythonInstallationpipinstallkeepersdkClone source code$gitclonehttps://github.com/Keeper-Security/keeper-sdk-pythonExampleimportosfromloginimportauth,configuration,endpointfromvaultimportsqlite_storage,vault_online,vault_recordconfig_filename=os.path.join(os.path.dirname(__file__),'config.json')config=configuration.JsonConfigurationStorage(file_name=config_filename)keeper_endpoint=endpoint.KeeperEndpoint(config)login_auth=auth.LoginAuth(keeper_endpoint)login_auth.login('username@company.com')whilenotlogin_auth.login_step.is_final():ifisinstance(login_auth.login_step,auth.LoginStepPassword):password=input('Enter password: ')login_auth.login_step.verify_password(password)ifisinstance(login_auth.login_step,auth.LoginStepTwoFactor):channel=login_auth.login_step.get_channels()[0]code=input(f'Enter 2FA code for{channel.channel_name}: ')login_auth.login_step.send_code(channel.channel_uid,code)else:raiseNotImplementedError()ifisinstance(login_auth.login_step,auth.LoginStepConnected):keeper_auth=login_auth.login_step.keeper_auth()vault_storage=sqlite_storage.SqliteVaultStorage(file_name=':memory:',vault_owner=keeper_auth.auth_context.username)vault=vault_online.VaultOnline(keeper_auth,vault_storage)vault.sync_down()# List recordsforrecordinvault.records():print(f'Title:{record.title}')ifrecord.version==2:legacy_record=vault.load_record(record.record_uid)ifisinstance(legacy_record,vault_record.PasswordRecord):print(f'Username:{legacy_record.login}')
Package: keeper-secrets-manager-ansible
Keeper Secrets Manager AnsibleThis module contains plugins that allow your Ansible automations to use Keeper Secrets Manager.keeper_cache_records- Generate a cache to use with other actions.keeper_copy- Similar toansible.builtin.copy. Uses the KSM vault for the source/content.keeper_get- Retrieve secrets from a record.keeper_get_record- Retrieve records as a dictionary.keeper_set- Update an existing record from Ansible information.keeper_init- Initialize a KSM configuration from a one-time access token.keeper_cleanup- Remove the cache file, if being used.keeper_lookup- Retrieve secrets from a record using Ansible's lookup.keeper_redact- Stdout Callback plugin to redact secrets from logs.keeper_password- Generate a random password.keeper_info- Display information about plugin, record and field types.keeper_remove- Remove secrets from the Keeper Vault.For more information see our official documentation pagehttps://docs.keeper.io/secrets-manager/secrets-manager/integrations/ansible-pluginChanges1.2.2Add actionkeeper_get_recordto return record as a dictionary.Clean up comments.Update pinned KSM SDK version to 16.6.3.1.2.1Add actionkeeper_removeto remove secrets from the Keeper VaultUpdate pinned KSM SDK version to 16.6.2.1.2.0Added actionkeeper_cache_recordsto cache Keeper Vault records to reduce API calls.Added ability to get records by title for some actions.Addedarray_indexandvalue_keyto access individual values in complex values. Alternative tonotation.Update pinned KSM SDK version.1.1.5Update pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786.1.1.4Move check for custom record type inkeeper_createplugin.Keeper Secret Manager SDK version pinned to 16.3.5 or greater. Allows extra field parameters
that come from Keeper Commander.1.1.3Per PEP 263, added# -*- coding: utf-8 -*-to top of file to prevent errors on system that are not UTF-8.1.1.2Addedkeeper_create,keeper_password,keeper_infoaction plugins.Fixed complex strings not regular expressions escaping properly forkeeper_redact.Addedkeeper_app_owner_public_keyto thekeeper_initplugin configuration
generation.keeper_app_owner_public_keyalso added to Ansible variables.1.1.1Fixed misspelled collection name inREADME.md1.1.0First Ansible Galaxy release
Package: keeper-secrets-manager-cli
Keeper Secrets Manager CLIThe Keeper Secrets Manager command line interfaceFor more information see our official documentation pagehttps://docs.keeper.io/secrets-manager/secrets-manager/secrets-manager-command-line-interfaceChange History1.1.1KSM-429 - Add--profile-nametoksm profile importcommand1.1.0KSM-395 - New feature to load configurations from AWS Secrets Manager1.0.17KSM-392 - Ability to update fields where the label is a blank string ("")Pinned KSM Core version to 16.5.11.0.16KSM-362 - Synchronize secrets to GCPDropped support for Python 3.6 (EOL 2021-12-23)1.0.15Update pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which fixes CVE-2022-3602, CVE-2022-3786.1.0.14Accept JSON via the KSM_CONFIG environmental variable. K8S secrets will show up as JSON in the environmental variable.Add--rawparameter tosecret getcommand. When using--querythis flag will remove the double quotes around
the value, if a string.Addsynccommand to sync Vault secrets to AWS and Azure secret managers.1.0.13For the Windows and macOS application create the keeper.ini file in the user's "HOME" directory.1.0.12Fix problem with the same temp file being opened when exporting profile. Was causing aPermission deniederror.1.0.11Fix missing linefeed when selectingimmutablefor k8s token init.1.0.10Prevent keeper.ini from being created when using config from environment variables.Fixed problem with params that use '=' from converting the value to lowercase.Throw exception is record(s) do not exist forget1.0.9Fixed environment variables starting with "keeper", that are not notation, from throwing an error.
Package: keeper-secrets-manager-core
Keeper Secrets Manager Python SDKFor more information see our official documentation pagehttps://docs.keeper.io/secrets-manager/secrets-manager/developer-sdk-library/python-sdkChange Log16.6.3KSM-479 - Remove dependency ondistutilsdue to Python 3.12 removing it16.6.2KSM-463 - Python SDK - Fix a bug when fields is nullKSM-458 - Python SDK - Remove core's dependency on the helper module. Fixesissue 48816.6.1KSM 444 - Python - Added folderUid and innerFolderUid to Record16.6.0KSM-413 - Added support for FoldersKSM-434 - Improved Passkey field type support16.5.4KSM-405 - Added new script field type and oneTimeCode to PAM record typesKSM-410 - New field type: PasskeyKSM-394 - Ability to load configuration from AWS Secrets Manager using AWS AIM role in EC2 instance or AWS IAM userKSM-416 - Fix OS detection bugKSM-400 - Unpinned few dependencies16.5.3KSM-393 - Fix file permissions on localized Windows OS16.5.2KSM-375 - Make HTTPError to be more informativeKSM-376 - Support for PAM record typesKSM-381 - TransactionsFixedIssue 441- Bug caused by space in username16.5.1KSM-371 - Fix Windows Config file permissions issueKSM-370 - Upgrade to latest cryptography>=39.0.1 library16.5.0KSM-313 - Improved Keeper Notations. New parser, new escape characters, Notation URI, search records by title and other meta data values in the recordKSM-319 -KEY_CLIENT_KEYin configurations is missing in certain situationsKSM-356 - Ability to create of the new custom field16.4.2Fix to support dynamic client version16.4.1Upgrading and pinningcryptographydependency to 38.0.316.4.0Record deletionKSM-305 - Support for Canada and Japan data centersKSM-308 - Improve password generation entropyKSM-240 - Config file permission checking (Create new client-config.json with locked down permission/ACL mode. Print STDERR warning if client-config.json ACL mode is too
open. To disable ACL mode checking and setting, set environmental variableKSM_CONFIG_SKIP_MODEtoTRUE. To prevent
warnings of the client-config.json being too open, set environmental variableKSM_CONFIG_SKIP_MODE_WARNINGtoTRUE.
For Unix,client-config.jsonis set to0600mode. For Windows,client-config.jsonhas only the user that created
theclient-config.jsonand theAdministratorgroup.)16.3.5Removed non-ASCII characters from source code. Added Python comment flag to allow non-ASCII to source code, just in
case.AllowenforceGeneration,privacyScreen, andcomplexityin record fields when creating a record.Record creation validation. Making sure that only legitimate record field types, notes section, and title of the record can be saved16.3.4Provide better exception messages when the config JSON file is not utf-8 encoded.
Package: keeper-secrets-manager-storage
Keeper Secrets Manager StorageThe Keeper Secrets Manager Storage module for working with custom key-value storages, creating and managing configuration files. To be used with keeper-secrets-manager-core.For more information see our official documentation pagehttps://docs.keeper.io/secrets-manager/secrets-managerChange Log1.0.1Added new storage type storage type for AWS Secrets Manager1.0.0Initial release
Package: keepfresh
KeepFreshA command line interface for polling changes in a directory and either logging or triggering a termination and restart of a provided command.
Watchdogs' utility tool watchmedo should be used as opposed to this. This was created due to lack of Watchdog documentation regarding running the tool in CLI with the polling mode.This was developed for the usecase of hot-reloading in a Docker container where the host has a volume mount in the container.Currently the provided directory is searched recursively for all file types, with the ability to ignore certain directories, and to consider either all file types, or specific file types.Installationpip install keepfreshWhich will installkeepfreshas a command.Usageusage: keepfresh [-h] [-d D] [-e E [E ...]] [-x X [X ...]]
                 {log,auto-restart} ...

optional arguments:
  -h, --help          show this help message and exit
  -d D                Directory (if not specified, defaults to current directory)
  -e E [E ...]        Excluded directories
  -x X [X ...]        File extensions to watch (if not specified, all are watched)

actions:
  {log,auto-restart}
    log               Run the logging monitor
    auto-restart      Run the command auto-restarterExamplesUsage for logging event changes:
(This example logs any changes in the current directory ('.') at a 1 second polling interval, we haven't specified filetypes or excluded directories, so all are watched)$ keepfresh log -i 1 -d .Usage for auto-restarting a command:
(This example polls the current directory. No directory is specified, so it defaults to the current directory. -c is the command to terminate and restart when changes are detected)$ keepfresh auto-restart -c echo "Hello World"If you only want to consider certain file types, use thexparameter
(This example polls every second in the current directory with logging, but only looks at .py and .txt files$ keepfresh log -i 1 -x py txt
Package: keepify-py
This is the official Keepify Python library. This library allows for server-side intergration of Keepify from your python application.InstallationThe library can be installed using pip::pip install keepify-pyUsage#!/usr/bin/env python
from keepify import Keepifykp = Keepify(YOUR_TOKEN)# tracks an event with certain properties
kp.track(”user@email.com”,’item purchase’, {‘item_id’ : ‘113’, ‘size’: ‘large’})
Package: keepit
KEEP ITThis is aWORK IN PROGRESS.keepitprovides advanced memoization to disk for functions.
In other words, it records the results of important functions between executions.keepitsaves the results of calling a function to disk, so calling the function with the exact same parameters will re-use the stored copy of the results, leading to much faster times.Example usage:import pandas as pd
from keepit import keepit

@keepit('myresults.tsv')
def expensive_function(number=1):
    df = pd.DataFrame()
    # Perform a really expensive operation, maybe access to disk?
    return df

# When a results file for the function does not exist
# this may take a long time
expensive_function(number=1)
# Now a myresults.tsv_{some hash) has been generated

# This is almost instantaneous:
expensive_function(number=1)

# Files are specific to each parameter execution, 
# so this will again take a long time:
expensive_function(number=42)
# After this, we should have two files, one for number=1, 
# and another one for number=42.
Package: keepitfresh
A simpler way to freshen up your frozen applicationskeepitfreshserves as an auto-updater for frozen applications[1].
Inspired byuscan,
it’s incredibly modular giving you full control over every step.See below for a quick tutorial![1]While it was made with frozen application is mind it can be applied
to anything executable really.DocumentationFor more information check outkeepitfresh’s documentation atkeepitfresh.rtfd.io
Package: keepitrunning
keepitrunningA simple python library that can be used for hosting your python project 24/7.InstallationpipinstallkeepitrunningExamplefromkeepitrunningimportHostapi=Host()api.keep_running(80)# port, default: 8080Making it 24/7 (repl.it)Execute the codeCopy the link on "Web" tabGo to uptimerobot.com and register or loginCreate a new ping and paste the link
It should be working 24/7 now.NoteThis only works for few IDE like repl.it.
Package: keep-it-secret
Keep It Secret by BTHLabsKeep It Secretis a small Python library for declarative management
of app secrets.Docs|Source repositoryInstallation$ pip install keep_it_secretUsageKeep It Secretgives a developer API needed to declare secrets used
by the app and access them in a secure, uniform manner.Consider the following example:from secrets_manager import (
    AbstractField, EnvField, LiteralField, Secrets, SecretsField,
)
from secrets_manager.ext.aws import AWSSecrets, AWSSecretsManagerField

class AppSecrets(Secrets):
    secret_key: str = AbstractField.new()
    db_password: str = EnvField.new('APP_DB_PASSWORD', required=True)
    pbkdf2_iterations_count: int = EnvField(
        'APP_PBKDF2_ITERATIONS_COUNT',
        default=16384,
        required=False,
        as_type=int,
    )

class DevelopmentSecrets(AppSecrets):
    secret_key: str = LiteralField.new('thisisntsecure')

class ProductionSecrets(AppSecrets):
    aws: AWSSecrets = SecretsField.new(AWSSecrets)
    secret_key: str = AWSSecretsManagerField(
        'app/production/secret_key', required=True,
    )
    db_password: str = AWSSecretsManagerField(
        'app/production/db_password', required=True,
    )TheAppSecretsclass serves as base class for environment specific classes.
The environment specific classes can overload any field, add new fields and
extend the base class to provide custom behaviour.TheDevelopmentSecretsclass uses environment variables and literal values
to provide secrets suitable for the development environment:>>> development_secrets = DevelopmentSecrets()
>>> development_secrets.secret_key
'thisisntsecure'
>>> development_secrets.db_password
'spam'
>>> development_secrets.pbkdf2_iterations_count
1024TheProductionSecretsclass uses environment variables and AWS Secrets
Manager to provide secrets suitable for the development environment:>>> production_secrets = ProductionSecrets()
>>> production_secrets.aws.access_key_id
'anawsaccesskey'
>>> production_secrets.secret_key
'asecuresecretkey'
>>> production_secrets.db_password
'asecuredbpassword'
>>> production_secrets.pbkdf2_iterations_count
16384AuthorKeep It Secretis developed byTomek Wójcik.LicenseKeep It Secretis licensed under the MIT License.
Package: keepmenu
KeepmenuFully featuredBemenu/Dmenu/Fuzzel/Rofi//Wofi/Yofifrontend for
autotype and managing of Keepass databases.Inspired in part byPasshole, but more dmenu and less command line focused.Installationpip install --user keepmenuEnsure~/.local/binis in your$PATH. Runkeepmenuand enter your database
path, keyfile path, and password.For full installation documention see the [installation docs][docs/install.md].Full DocumentationInstallation-Configuration-UsageRequirementsPython 3.7+Pykeepass>= 4.0.0 andpynputBemenu, Dmenu, Fuzzel, Rofi, Wofi, or Yofixsel or wl-copy(optional) Pinentry(optional) xdotool (for X),ydotoolorwtype(for Wayland),dotool(X or Wayland).FeaturesSupports .kdbx databases, not .kdb.Auto-type username and/or password on selection. Select to clipboard if
desired (clears clipboard after 30s).Background process allows selectable time-out for locking the database.Multiple databases can be unlocked and switched on the fly.Use a customKeepass 2.x style auto-type sequence.Type, view or edit any field.Open the URL in the default web browser.Edit notes using terminal or gui editor.Add and Delete entries.Add, delete, rename and move groups.Hide selected groups from the default and 'View/Type Individual entries' views.Configure the characters and groups of characters used during password
generation.Optional Pinentry support for secure passphrase entry.Keepass field referencesare supported.Display and manage expired passwords.Add, edit and type TOTP codes.Add, edit, type and delete custom attributes.LicenseGPLv3Usagekeepmenu [-h] [-a AUTOTYPE] [-c CONF_FILE] [-C] [-d DATABASE] [-k KEY_FILE] [-t]Runkeepmenuor bind to keystroke combination.Enter database path on first run.Start typing to match entries.Configureconfig.ini as desired.More detailedusage information.TestsTo run tests in a venv:make testDevelopmentTo install keepmenu in a venv:makeBuild man page from Markdown source:make manUsinghatch:hatch shell: provies venv with editable installation.hatch build&&hatch publish: build and publish to Pypi.Usingnix:nix develop path:.: Provides development shell with all dependencies.
Edit and run similar topip install -e .orhatch shell.
Package: keep-presence
Keep PresenceThis programmoves the mouseor presses a key when it detects that you areawayfrom your computer.It does nothing if you are using your computer, making it useful fortricking your machine into thinking you are still using it.DemoInstall from Pypipython3 -m pip install keep_presencehttps://pypi.org/project/keep-presence/Runkeep-presence

# or

python3 -m keep_presenceInstall with Snapsudo snap install keep-presenceRunkeep-presenceManual installationgit clone https://github.com/carrot69/keep-presence.git

cd keep-presence

python3 -m pip install pynput

python3 src/keep-presence.pyOptional arguments-h, --help                        show this help message and exit
            
-s SECONDS, --seconds SECONDS     Define in seconds how long to wait after a user is
                                  considered idle. Default 300.

-p PIXELS, --pixels PIXELS        Set how many pixels the mouse should move. Default 1.

-c, --circular                    Move mouse in a circle. Default move diagonally.

-m MODE, --mode MODE              Available options: keyboard, mouse, both (mouse & keyboard) and scroll. 
                                  Default is mouse. 
                                  This is the action that will be executed when the user is idle. 
                                  If keyboard is selected, the program will press the shift key. 
                                  If mouse is selected, the program will move the mouse. 
                                  If both is selected, the program will do both actions.

-r RANDOM RANDOM, --random RANDOM RANDOM
                                  Usage: two numbers (ex. -r 3 10). Execute actions based on a 
                                  random interval between start and stop seconds. 
                                  Note: Overwrites the seconds argument.Donations:If you've found Keep Presence to be helpful, you can buy me a coffee, thanks!