tiramisu/tiramisu/__init__.py

49 lines
1.7 KiB
Python
Raw Normal View History

2019-02-12 06:55:47 +01:00
# Copyright (C) 2012-2019 Team tiramisu (see AUTHORS for all contributors)
2013-09-22 22:33:09 +02:00
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2019-04-05 23:47:18 +02:00
"""Configuration management library written in python
"""
from .function import Params, ParamOption, ParamValue, ParamContext, \
2019-03-09 13:28:15 +01:00
tiramisu_copy, calc_value
2017-10-22 09:48:08 +02:00
from .option import *
from .error import APIError
2018-10-31 18:26:20 +01:00
from .api import Config, MetaConfig, GroupConfig, MixConfig
2017-10-22 09:48:08 +02:00
from .option import __all__ as all_options
from .setting import owners, undefined
2019-02-23 12:25:20 +01:00
from .storage import default_storage, Storage, list_sessions, \
delete_session
2017-10-22 09:48:08 +02:00
allfuncs = ['Params',
'ParamOption',
'ParamValue',
'ParamContext',
'MetaConfig',
2018-10-31 18:26:20 +01:00
'MixConfig',
2018-01-03 21:07:51 +01:00
'GroupConfig',
2018-04-04 16:47:28 +02:00
'Config',
'APIError',
2018-12-24 09:30:58 +01:00
'undefined',
2019-02-23 12:25:20 +01:00
'default_storage',
'Storage',
'list_sessions',
'delete_session',
2019-03-09 13:28:15 +01:00
'tiramisu_copy',
'calc_value']
2017-10-22 09:48:08 +02:00
allfuncs.extend(all_options)
del(all_options)
__all__ = tuple(allfuncs)
del(allfuncs)
2019-04-05 23:47:18 +02:00
__version__ = "3.0rc5"