Skip to main content

A (very) simple file versioning system

Project description

PyPI Build Status Coverage Status

A (very) simple file versioning system

Version: 1.5.1

Detailed documentation on the available commands can be found on the quicksave wiki

Getting started:

The first thing you’ll need to do is create a new database where quicksave can store its data:

$ quicksave init <path>

That will setup the new database so it’s ready to use.

After that, you’re good to go. You can register new files so they’re tracked by quicksave, save new states of registered files, and revert to previously saved states. There are several other commands which modify the database itself, but I’m only covering those three listed commands in this guide (and none of their various options). For detailed documentation on all of the available commands, check out the wiki page.

To track (AKA register) a new file in quicksave use:

$ quicksave register <filepath>

Which will copy the initial state of the file, and provide the names of the file and state keys you’ll need use this file. For a brief description of file and state keys, see this note on the wiki.

To then save a new state of the file, use the save command:

$ quicksave save <filepath>

Quicksave will use the the absolute path and the base file name derived from filepath to automatically decide which file key to use.

Lastly, to get the file back into a previously saved state, use the revert command:

$ quicksave revert <filepath> <state>

Again, quicksave will attempt to determine which file key to use based on the absolute path and the file name. Quicksave will lookup the provided state key and revert the file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quicksave-1.5.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

quicksave-1.5.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file quicksave-1.5.1.tar.gz.

File metadata

  • Download URL: quicksave-1.5.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for quicksave-1.5.1.tar.gz
Algorithm Hash digest
SHA256 9f3db3c01a964acb0f00e9ec7b13d343d5b2a030ca149c9af6a3b522cfce1736
MD5 98afd27e521383afd2586a9e73fbe04e
BLAKE2b-256 f31e3e3a1eced7b7223e9ab67dc0decfd8349b99b4715ec52224a2d5807453ef

See more details on using hashes here.

File details

Details for the file quicksave-1.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for quicksave-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3392638ea3627c3ff0749b722e0d83af5ba9d359c33c8790f07f37587f8e0883
MD5 cce91593bfaf7c049a078a44045d3325
BLAKE2b-256 30e20bc9fa76c6df1fdf7bcb9b5d4975999dc763b1dcfb17ee9bfc792c49ea97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page