Skip to main content

A (very) simple file versioning system

Project description

PyPI

A (very) simple file versioning system

Version: 1.1.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:

$ 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.1.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

quicksave-1.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quicksave-1.1.1.tar.gz
Algorithm Hash digest
SHA256 1738125df7b5cd55bb8409bfabd795b28515794dd28f1c21c3b78984fd692f50
MD5 af1577d8fa5282411a035b38a211f1d1
BLAKE2b-256 8f26083b50e734018d9ce8861fc38a46564d8aa8ad2ea80ed303bed63dfc3032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quicksave-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f52455b00c1ce070afdd40c3d65316785b2e0562f819e964e46d27821748a07
MD5 a734f4e7c8399450a8e39c128af1d2f2
BLAKE2b-256 76fef939c2846c3976e8fcc54b3dc514817c3498002552c49f84c84374d0b187

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