This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Keepuppy is a Python package and associated scripts to keep a Keepass database file in sync between the local filesystem of multiple clients and an SFTP server. Optionally a command can be executed if the local file is updated. An example script is provided to restart KeePassX.

Scripts

keepuppy_sync.py is a script to perform the file synchronisation. keepuppy_restart.py is a script to restart an application, KeePassX by default, which can be called by keepuppy_sync.py when the local file is updated.

Configuration values are set via environment variables. I recommend using a tool such as envdir.

keepuppy_sync.py
  • KEEPUPPY_CACHE_FILE: File to store file hashes (default ‘~/.keepuppy_cache.json’)
  • KEEPUPPY_LOCAL_FILE: Path to the local file (required)
  • KEEPUPPY_REMOTE_FILE: Path on the SFTP server to the file (required)
  • KEEPUPPY_RESTART_COMMAND: Script or shell command to execute when the local file is updated
  • KEEPUPPY_SFTP_USER_NAME: SFTP user name
  • KEEPUPPY_SFTP_PASSWORD: SFTP password
  • KEEPUPPY_SFTP_HOST_NAME: SFTP server name (default ‘localhost’)
  • KEEPUPPY_SFTP_HOST_PORT: SFTP server port (default ‘22’)

If the KEEPUPPY_RESTART_COMMAND value contains [file_name] it with be replaced with the name of the updated local file.

keepuppy_restart.py
  • KEEPUPPY_RESTART_PROCESS_NAME: name of the process to restart (default ‘KeePassX’)
  • KEEPUPPY_RESTART_TIMEOUT: time in seconds to wait for the process to stop (default ‘30’)
  • KEEPUPPY_RESTART_START_COMMAND: script or shell command to execute to start the new process (default ‘open -a “KeePassX”’)

Note

To work with KeePassX, and not lose data when restarted by script, check Preferences -> General (2) -> Automatically save database after every change.

License

Copyright (c) 2014 Warren Moore

This software may be redistributed under the terms of the MIT License. See the file LICENSE for details.

Contact

      @wamonite     - twitter
       \_______.com - web
warren____________/ - email
Release History

Release History

1.0.9

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.8

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.7

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
keepuppy-1.0.9.tar.gz (7.9 kB) Copy SHA256 Checksum SHA256 Source Mar 1, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting