Adds signature to your files
Project description
Autosign
Add your signature to your files.
Installation
autosign can be installed using pip:
pip install autosign
Uninstalling
autosign can be uninstalled using pip:
pip uninstall autosign
Dependencies
autosign is based on Python 2.7.
Documentation
Signing files
autosign can be used for signing files:
autosign signfile target [options]
Run the following command, for various options:
autosign --help
Removing sign from files
autosign provides a utility, remsign for removing sign from signed files:
remsign target [options]
Run the following command, for various options:
remsign --help
Checking a package
autosign provides a utility, listsign for collecting statistics:
listsign target [options]
Run the following command, for various options:
listsign --help
Signrc
Autosign utilizes signrc to sign, remove and list signed/un-signed files. The meaning of options is as follows.
ext tells the utilities to look for files with only that extension
Start defines the starting character sequence of a signature
line defines the character sequence with whice every line(except start and end) should start of a valid signature
end defines the ending character sequence of a signature
blank (boolean) allows/forbids usage of blank line before start or after end of a signature
allow defines a special regular expression. Matching to which a line can be allowed before the start of a signature.
Examples can be seen in examples directory. All the python files in this package have been signed using examples/templates/template1.txt using examples/signrc/signrc_py.
–init option can be used for generating a very basic signrc
All the utilities look for .signrc first in cwd, then in home directory by default.
Bugs
For filing bugs raise an issue at https://github.com/leosartaj/autosign/issues
Releases
1.0.0
sign files
unsign signed files
Display signed files
Display unsigned files
checks python files only
1.1.0
configurable signature syntax
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.