| 1 |
# vim: set ft=python ts=4 sw=4 expandtab: |
| 2 |
# ruff: file-ignore[unused-import, undefined-export] # ruff does not like the imports here, but I don't want to break the public interface |
| 3 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 4 |
# |
| 5 |
# C E D A R |
| 6 |
# S O L U T I O N S "Software done right." |
| 7 |
# S O F T W A R E |
| 8 |
# |
| 9 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 10 |
# |
| 11 |
# Author : Kenneth J. Pronovici <[email protected]> |
| 12 |
# Language : Python 3 |
| 13 |
# Project : Official Cedar Backup Tools |
| 14 |
# Purpose : Provides package initialization |
| 15 |
# |
| 16 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 17 |
|
| 18 |
######################################################################## |
| 19 |
# Module documentation |
| 20 |
######################################################################## |
| 21 |
|
| 22 |
""" |
| 23 |
Official Cedar Backup Tools |
| 24 |
|
| 25 |
This package provides official Cedar Backup tools. Tools are things that feel |
| 26 |
a little like extensions, but don't fit the normal mold of extensions. For |
| 27 |
instance, they might not be intended to run from cron, or might need to interact |
| 28 |
dynamically with the user (i.e. accept user input). |
| 29 |
|
| 30 |
Tools are usually scripts that are run directly from the command line, just |
| 31 |
like the main ``cback3`` script. Like the ``cback3`` script, the majority of a |
| 32 |
tool is implemented in a .py module, and then the script just invokes the |
| 33 |
module's ``cli()`` function. The actual scripts for tools are distributed in |
| 34 |
the util/ directory. |
| 35 |
|
| 36 |
:author: Kenneth J. Pronovici <[email protected]> |
| 37 |
""" |
| 38 |
|
| 39 |
|
| 40 |
######################################################################## |
| 41 |
# Package initialization |
| 42 |
######################################################################## |
| 43 |
|
| 44 |
# Using 'from CedarBackup3.tools import *' will just import the modules listed |
| 45 |
# in the __all__ variable. |
| 46 |
|
| 47 |
import CedarBackup3.tools.amazons3 |
| 48 |
import CedarBackup3.tools.span |
| 49 |
|
| 50 |
__all__ = ["span", "amazons3"] |