Saravanan666/pypi-org huggingface dataset:
Package: keep2roam
Google Keep to Roam Daily NotesConvert a Takeout of Google Keep to Roam Daily Notes for the day that each
snippet was written. If multiple notes were written on the same day, they are
merged together.InstallationFirst, go toGoogle Takeoutand
request a dump of your Google Keep data. Then unzip the folder that Google sends
you.The following steps work well on Unix systems but on Windows it would be quite
similar.$cd~/Downloads$tar-xvftakeout-{ID}.zip$pipinstallkeep2roam$mkdirmarkdown$k2r-hUsage: k2r [OPTIONS] SRC DESTConvert SRC Google Keep Takeout dump and write to DEST folder.Assumes SRC exists and creates DEST folder if it does not exist.Options:--version   Prints the CLI version-h, --help  Show this message and exit.$k2rTakeout/KeepmarkdownFound X Google Keep json files...Upload LimitNow take these files and upload them to Roam. To upload more than 10 files at a
time, usethis workaround.
Package: keepActive
This library keeps the computer from going idle. It can also keep the user active in apps like MS Teams, Zoom, Slack, etc...Disclaimer: This package is still under development and effectiveness may vary between OS.Installationpip install keepActiveFunctions.start(time_in_minutes=None)Will start keeping the computer active. The.start()function has an optional input parameter,time_in_minutes, which can specify the length of time for which the function will run.
If no length of time is specified, the function will run until stopped by the.stop()function.stop()Will stop the ongoing iterationQuick Startfrom keepActive import keepActive
keepActive.start(1) # keep the computer active for 1min 
keepActive.stop() # end the iterationChange Log0.0.1 (28/02/2023)First Release
Package: keepalive-socket
keepaliveUsing keepaliveBased on a stackoverflow post (https://stackoverflow.com/questions/12248132/how-to-change-tcp-keepalive-timer-using-python-script)importsocket,keepalive# keepalive.set(socket, after_idle_sec=60, interval_sec=60, max_fails=5)client_socket=socket.socket(socket.AF_INET,socket.SOCK_STREAM)keepalive.set(client_socket)Changelog0.0.1: initial release (2023-07-12)
Package: keepaneyeon
Monitor URLs for changesQuick Startkeepaneyeonis configured with YAML. The following configuration will
download the URLshttp://httpbin.org/htmlandhttp://httpbin.org/bytes/128. It will store the results in S3.storage:-&aws!storage/s3access_key:<...>secret_access_key:<...>path:'s3://bucket/path'downloaders:-&http!downloader/http{}targets:-!targetname:staticdownloader:*httpurl:'http://httpbin.org/html'store:*aws-!targetname:dynamicdownloader:*httpurl:'http://httpbin.org/bytes/128'store:*awsIfconfig.yamlcontains the above configuration, you can execute the
download with:keepaneyeon config.yaml
Package: keepass
# keepassc and python-keepassThis provides command line and Python (both 2 and 3) interfaces for operating onfiles in KeePass format v3 (used by [KeePass](http://keepass.info/)1.x, and [KeePassX](http://www.keepassx.org/)).  Note, this is not theformat used by the KeePass application version 2.x.## Notes of cautionBefore using this code, understand the its (known) securityand correctness limitations:* Unlike the KeePass/KeePassX GUI applications this code makes noattempt to secure its memory.  Input files read in are stored inmemory fully decrypted.* It is quite easy to display the stored passwords in plain text,although the defaults try to avoid this.* Specifying the master key on the command line will leave traces inyour shells history and in the process list.* While input files are treated as read-only, keep backups of anyfiles written by KeePass/KeePassX until you are assured that fileswritten by this code are usable.* Key files are not currently supported.## Prerequisites and InstallationYou will need to install the python-crypto package (providing the"Crypto" module).  On a well behaved system do:```shellsudo apt-get install python-crypto```If installing into a [virtualenv](http://www.virtualenv.org) this prerequisite will be installed for you:```shellvirtualenv /path/to/venvsource /path/to/venv/bin/activatecd python-keepasspython setup.py install```## Command lineThe command line interface is run like:```shellkeepassc [general_options] [command command_options] ...```Multiple commands can be specified and will be executed in order.They operate on an in-memory instance of the database file.  Anexample,```shellkeepass open -m secret file.kdb \dump -p -f '%(username)s password is: %(password)s' \save -m newsecret backup.kdb```Online help:```shellkeepass -h      # short usagekeepass help    # full usage```## Python Modules### Low level file access```pythonfrom keepass import kpdbdb = kpdb.Database(filename,masterkey)print db   # warning: displayed passwords in plaintext!```# References and Credits## PyCrypto help* Main page is found through <http://pycrypto.org/>.  The documentation there is a start, but not enough.* This blog post is useful for the basics: <http://eli.thegreenplace.net/2010/06/25/aes-encryption-of-files-in-python-with-pycrypto/>## The giants on whose shoulders this works standsFirst, thanks to the original authors, contributors and communitybehind KeePass and KeePassX. I am merely a user of KeePassX.A big credit is due to rudi & shirou (same hacker?) for the following:* <http://d.hatena.ne.jp/rudi/20101003/1286111011>* <http://github.com/shirou/kptool>Looking through KeePass/KeePassX source made my head swim.  Only afterreviewing their work could I get started.## LicenseThis package is Free Software licensed to you under the GPL v2 orlater at your discretion. See the [LICENSE.txt](LICENSE.txt) file for details.
Package: keepassdb
keepassdb is a Python library that provides functionality for reading and writing
KeePass 1.x (and KeePassX) password databases.This library brings together work by multiple authors, including:Karsten-Kai König <kkoenig@posteo.de>Brett Viren <brett.viren@gmail.com>Wakayama Shirou <shirou.faw@gmail.com>Changes in 0.2.1Added zip_safe=False as workaround for 2to3/distribute bug.
Package: keepass-dropbox-sync
If like me you are using keepass with dropbox to use one DB across multiple devices, this tool is designed to get the conflict entries back to the main DB.When many users use keepass in the save time (or if one user forget to close it), conflict can arise and dropbox create a side db. This tool has been developed to merge the duplicate item to the main DB.## Installation instructionsrename secrets_template.toml into secrets.toml and set your passworddefine folder and main db paths into settings.tomlAdd external packages :`pip install-rrequirements.txt`## UsageJust run main.pyKeywords: python
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Package: keepass-env
docskeepass-envRead key-value pairs from.kdbxfile and set them as environment variables or return as dict..kdbxentries can store key-value attributes. This tool takes a path to entry and loads it's attributes.installpip install keepass-envusageimportkeepass_envdb_filename='my_database.kdbx'password='secure-af'entry_path=['group0','subgroup1','my_entry']# load to os.environkeepass_env.load_env(db_filename,entry_path,password=password)# return as dictkeepass_env.env_values(db_filename,entry_path,password=password){'KEY_0':'value-0','KEY_1':'value-1'}# write envkeepass_env.write_env(db_filename,entry_path,password=password,env={'MY_KEY_0':'my-value-0','MY_KEY_1':'my-value-1',})entry referencesThis tool supports entry references. For example some entry have following key-value attributes:KEY_0 value-0
KEY_1 ref@group5/entry42:API_TOKENValue forKEY_1will be loaded from another entry with path['group5', 'entry42']and will be taken from its attributeAPI_TOKEN.Format of references is prefixref@, path separator/attribute separator:.Multiple references are supported. (If referenced value is also reference and so on, it will be looked up recursively)You can also reference to title, username, password, url of an entry with using following format:ref@group5/entry42:__title__ref@group5/entry42:__username__ref@group5/entry42:__password__ref@group5/entry42:__url__username, password, url can also be a refernces. title can't be a referenceprint to stdoutThis package comes with console scriptkeepass-env(It will be accessible after pip installation).keepass-env--dbmydb.kdbx--passwordsecure-af--entry-pathgroup0/subgroup1/my_entryKEY_0=value-0KEY_1=value-1# to print in shell format, use --format shellkeepass-env--dbmydb.kdbx--passwordsecure-af--entry-pathgroup0/subgroup1/my_entry--formatshellexportKEY_0=value-0exportKEY_1=value-1# --format dockerkeepass-env--dbmydb.kdbx--passwordsecure-af--entry-pathgroup0/subgroup1/my_entry--formatdocker
-eKEY_0=value-0-eKEY_1=value-1# configuration via env variables are also available:KEEPASS_DB=mydb.kdbxKEEPASS_PASSWORD=secure-afKEEPASS_ENTRY_PATH=group0/subgroup1/my_entryKEEPASS_FORMAT=shellexportKEY_0=value-0exportKEY_1=value-1If you do not specify--passwordargument orKEEPASS_PASSWORDvariable, you will be asked to enter a password in the command line.Printing variables can be used to load them before running some command in the shell:eval"$(keepass-env--dbmy.kdbx--password1234--entry-pathmain/project-x)"pythonmain.pyOr you can put in Makefile like this:.PHONY:runrun:eval"$$(keepass-env --db my.kdbx --password 1234 --entry-path main/project-x)"pythonmain.py# another example:.PHONY:run_fastapi_apprun_fastapi_app:eval"$$(keepass-env --db my.kdbx --password 1234 --format shell --entry-path main/project-x)";\uvicornserver:app
Package: keepasshttp
KeePassHTTPPython client forKeePassHTTPto interact withKeePass's credentials.Install$ pip install keepasshttpUsageimport keepasshttp

# get single credential
credential = keepasshttp.get("my_credential_name_or_url")
print(credential.login)
print(credential.password)

# find all credentials's name
credentials = keepasshttp.list()

# fetch all partiall matching credentials
credentials = keepasshttp.search("my_credential_name_or_url")

# create a new keepasshttp entry
keepasshttp.create("login", "password", "url")

# update a keepasshttp entry
credential.password = "new password"
# or
keepasshttp.update("login", "password", "url", "uuid")Command lineKeePassHTTP can also be called from command line:$ python -m keepasshttp --help
usage: keepasshttp [-h] [-c CONFIG_PATH] [-u URL]
               [-f {python,text,table,json,csv}]
               credential [credential ...]

Fetch credentials from keepass

positional arguments:
  credential            Url or name to match credentials from keepass database

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG_PATH, --config CONFIG_PATH
                        alternative path for keepasshttp's AES exchange key
                        (default: ~/.python_keepass_http)
  -u URL, --url URL     alternative url for keepasshttp server (default:
                        'http://localhost:19455/')
  -f {python,text,table,json,csv}, --format {python,text,table,json,csv}
                        output format for credentials

$ python -m keepathhttp my_credential_name_or_url
my_credential_name_or_url
  - login: login
  - password: password
  - name: test
  - url: my_credential_name_or_url
  - id: ABCDEF1234567890ABCDEF1234567890
  - fields: []ConfigurationBy default, this module will write AES association key to~/.python_keepass_httpand usehttp://localhost:19455/to connect to theKeePassHTTPserver.To change theses parameters, instantiatekeepasshttp.KeePassHTTPclass with different values.from keepasshttp import KeePassHTTP
kph = KeePassHTTP(
    storage="./keepasshttp_key",
    url="https://example.com:1337/")
kph.get("...")
...TestingYou can simply run the tests using:python -m unittest discoverKeePassHTTPcalls are mocked, to run the tests against a real server, you need to:opentests/test_database.kdbxinKeePasspassword istestsetTEST_WITH_KEEPASSenvironment variablerun test normallyCoverageTo run tests with coverage:pip install pytest-cov
pytest --cov
Package: keepass_http
DescriptionInstallationon ArchlinuxUseYaourtto installpython-keepass-httpd. If it is installed you can installpython-keepass-httpdwith:$yaourt-Spython-keepass-httpd-gitYaourt will install the package and its dependencies.on all other Unix/Linux systemsUsepipto install:$pipinstall'keepass_http[GUI]'--use-mirrorsor without GUI support:$pipinstallkeepass_http--use-mirrorsUsageYou can see the usage with:$python-keepass-httpd--helpThe output should be look like this:Usage:
  python-keepass-httpd run <database_path> [options]
  python-keepass-httpd (-h | --help)
  python-keepass-httpd --version

Options:
  --help                    Show this screen.
  -v --version              Show version.
  -d --daemon               Start as daemon
  -p --port PORT            Specify a port [default: 19455]
  -h --host HOST            Specify a host [default: 127.0.0.1]
  -l --loglevel LOGLEVEL    Loglevel to use [default: INFO]
  --gui                     Use QT (PySide) for a graphical interfaceStarting the server$python-keepass-httpdrun/home/kiwisauce/Dropbox/test.kdb2014-03-0713:28:04,534[INFO]keepass_http_script:Serverstartedon127.0.0.1:19455The server was started. Now we have to setup ChromeIPass.Setting upChromeIPass
Package: keepassx
Python KeepassX===============.. image:: https://secure.travis-ci.org/jamesls/python-keepassx.png?branch=master:target: http://travis-ci.org/jamesls/python-keepassx.. image:: https://coveralls.io/repos/jamesls/python-keepassx/badge.png?branch=master:target: https://coveralls.io/r/jamesls/python-keepassx?branch=master`KeePassX`_ is a cross platform password manager.  However, KeePassX is a desktopGUI application.  That's where ``python-keepassx`` comes in.  By using``python-keepassx``, you can access your passwords using a command lineinterface to KeePassX.  You can also use the python library directly in yourown python applications.Python-keepassx: **simple**, command line interface to your passwords.::$ kp -d password.kdb listPassword:+---------+----------------------------------+-----------+| Title   |               Uuid               | GroupName |+---------+----------------------------------+-----------+| mytitle | c4d301502050cd695e353b16094be4a7 | Internet  |+---------+----------------------------------+-----------+$ kp -d demo.kdb get GithubPassword:title:     Githubusername:  githubuserurl:       github.com/githubusernotes:Password has been copied to clipboard.Aren't there similar projects already?--------------------------------------Yes.  This project is different because it has:* A simple, straightforward API.* Full support for key files.* Both a command line interface and a python API.* Support for python 2.7, 3.3, and 3.4 (and higher).Documentation=============Check out the `docs`_ and the `getting started guide`_ for more info.Check out the `changelog`_ to see what's in the latest release... _docs: http://keepassx.readthedocs.org/.. _getting started guide: http://keepassx.readthedocs.org/en/latest/gettingstarted.html.. _changelog: http://keepassx.readthedocs.org/en/latest/#changelog
Package: keepassxc-async
keepassxc-asyncAsyncio-compatible client for theKeePassXC browser protocol.Tested with KeePassXC 2.7.6. Please open an issue if there is an incompatibility with a different version.UsageMinimal example to connect to a database for the first time:importasynciofromkeepassxc.databaseimportClient,generate_identification_keyasyncdefmain():asyncwithawaitClient.create()asclient:awaitclient.wait_unlocked()identification_key=generate_identification_key()assoc,meta=awaitclient.associate(identification_key)print(f"Connected to KeePassXC{meta.version}with ID{assoc.id!r}.")if__name__=='__main__':asyncio.run(main())For a complete example with different operations and including error handling, seeexamples/example.py.LicenseMIT License. Copyright © 2024 Max Lang. SeeLICENSEfor details.
Package: keepassxc-proxy-client
keepassxc_proxy_clientA small library as well as CLI tool to fetch information from a running keepassxc instance.CLISeekeepassxc_proxy_client --helpfor usage.LibraryYou can use it like this:importkeepassxc_proxy_clientimportkeepassxc_proxy_client.protocolconnection=keepassxc_proxy_client.protocol.Connection()connection.connect()print(connection.get_databasehash())# This will open a keepassxc dialogueprint(connection.associate())print(connection.test_associate())print(connection.dump_associate())print(connection.get_logins("https://github.com"))Please always use a URL with http or https for retreiving logins, otherwise no logins will be found.
You can useconnection.get_logins("https://github.com")when you actually stored URL just as "github.com"
within KeepassXC. This will work.
However it won't work using get_logins("github.com") even if you have stored URL as "github.com".To connect and retreive logins from KeepassXC Browser integration has to be enabled in settings.
Checkboxes for different Browser don't need to be checked. Enabled browser integration is enough
for keepassxc_proxy_client to work.If you want to dump and later read in the associate information you can do this
as follows:importkeepassxc_proxy_clientimportkeepassxc_proxy_client.protocolconnection=keepassxc_proxy_client.protocol.Connection()connection.connect()connection.associate()name,public_key=connection.dump_associate()print("Got connection named '",name,"' with key",public_key)# save it and read it in again for later#Later usageconnection=keepassxc_proxy_client.protocol.Connection()connection.connect()connection.load_associate(name,public_key)print(connection.test_associate())It is recommended to store the private key in a secure location since it basically acts
as a key file to all your passwords that are associated with a URL, since get_logins() can only fetch
passwords that are associated with one.Version 0.1.4Added support for Windows
Package: keepassxc-pwned
KeepassXC-PwnedThis checks aKeePassXCdatabase against previously crackedhaveibeenpwnedpasswords.Requirementskeepassxc-clibinary (typically installed with KeePassXC)python 3.6 or aboveInstallpip3 install keepassxc-pwnedRunRun:keepassxc_pwned ~/database.kdbxUsage: keepassxc_pwned [OPTIONS] DATABASE

  Check a keepassxc database against previously cracked haveibeenpwned
  passwords

Options:
  -p, --plaintext       Print breached passwords in plaintext; defaults to
                        sha1 hashes.

  -k, --key-file PATH   Key file for the database
  -v, --verbose         Print debug messages
  -q, --quiet           Don't print status messages, just the summary
  --keepassxc-cli PATH  Specify a different location for the keepassxc-cli
                        binary

  --help                Show this message and exit.Sample Run:$ keepassxc_pwned ~/Documents/updated_database.kdbx
Insert password for /home/sean/Documents/updated_database.kdbx:
Checking password for Amazon...
Checking password for Github...
Checking password for Netflix...
Checking password for Steam...
Checking password for letterboxd...
Checking password for linkedin...
Checking password for minecraft...
Found password for 'minecraft' 3 times in the dataset!
Checking password for soundcloud...
Checking password for stackoverflow...
Checking password for wikipedia...
Found 1 previously breached password:
minecraft:5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8:3You can also import this to use in python code...from keepassxc_pwned import check_password
check_password("password")Note:check_passworddoesn't attempt to do any rate limiting.... or enter the password manually...$ python3 -m keepassxc_pwned
Password to check:
Found password 1054 times!Privacy concernsThis tool only transmits the first 5 characters of the SHA-1 hash of your passwords.
You can read more about thathere.TroubleshootingIfkeepassxc-cliis named something else on your installation of KeepassXC, specify the full path by providing the--keepassxc-cliflag, like:keepassxc_pwned --keepassxc-cli "$(which keepassxc.cli)" ~/Documents/updated_database.kdbxIf you get the following error while usingkeepassxc-cli:dyld: Library not loaded: /usr/local/opt/quazip/lib/libquazip.1.dylib
  Referenced from: /usr/local/bin/keepassxc-cli
  Reason: image not found
Abort trap: 6... installingquazipshould fix that:brew install quazip(Mac)sudo apt install libquazip-dev(Linux)Ifkeepassxc-clifails with an error message like "Invalid Command extract.", the command was changed in KeePassXC 2.5.0, and is now calledexport. Upgrade KeePassXC to the latest version, and try again.TestsClone this repositoryInstall dev dependencies:pip3 install -r requirements-dev.txtmypy keepassxc_pwnedpytest
Package: keepcli
# keepcliA simple and unofficial interactive command line interpreter client for [Google Keep](https://keep.google.com/).It uses the nice unofficial API client [gkeepapi](https://github.com/kiwiz/gkeepapi)As described also in that repository,keepcliis not supported nor endorsed by Google.## DevelopmentI wanted a simple cli tool that can easily be in sync with multiple devices and although there are alternatives like [todo.txt](http://todotxt.org/) which is an awesome tool, I prefered to keep my quick TODO’s and notes in Google Keep, however there is not a public API for it nor a similar cli (given my shallow search).As a very active [Google Keep](https://keep.google.com/) user (among other Notes-taking tools) I developed this for my own needs during some free time, mainly to add, check/uncheck  TODO items from various lists  and add notes quickly when working from a terminal screen which is very often. It’s been very productive to get things done and have multiple TODO list up to date and move items between them among others, it has a nice TAB autocompletion for some of the useful commands. Might be useful for others in a similar situation.Some offline features have not tested in too much detail and there might be some hidden issues, this is note a production-grade tool and is distributed ‘as is’.## InstallationFor development version:pip install git+https://github.com/mgckind/keepcli.gitor latest version:pip install keepcliIts better to set up the App Password for Keep [here](https://myaccount.google.com/apppasswords) to authenticate.## UsageFrom a terminal window:keepcliInsidekeepcliyou can typehelpto see a list of useful commands:keepcli [] ~> help## Some FeaturesTAB autocompletionKeep constant sync with Google KeepCreate list/note withcreateChange card coloradd/check/uncheck/delete items from a TODO listmove items from a TODO list to anotherdump/load Google Keep entries for offline workadd text to Notesuseful shorcutsshow checked/unchecked items from lists
Package: keep-cli
Keep-CLIKeep-cli is a cli Google Keep client. You can add, delete, and manage your Google Keep notes.SetupInstallationpipinstallkeep-cliConfigurationIn order to make a note you must have the$EDITORenvironment variable set to a text editor.UsageRun keep-cli visually:keep-cliSkip the intro animation (quick mode):keep-cli--quickMake a list or note:For a note:keep-cli--noteFor a list:keep-cli--list