Coverage for markdiffusion / __init__.py: 100.00%

8 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-14 19:25 +0000

1# Copyright 2025 THU-BPM MarkDiffusion. 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14 

15"""MarkDiffusion - An Open-Source Toolkit for Generative Watermarking of Latent Diffusion Models.""" 

16 

17__version__ = "1.0.1" 

18__author__ = "THU-BPM MarkDiffusion Team" 

19__license__ = "Apache-2.0" 

20 

21from markdiffusion.watermark.base import BaseWatermark, BaseConfig 

22from markdiffusion.watermark.auto_watermark import AutoWatermark 

23from markdiffusion.watermark.auto_config import AutoConfig 

24from markdiffusion.utils.diffusion_config import DiffusionConfig 

25 

26__all__ = [ 

27 "__version__", 

28 "BaseWatermark", 

29 "BaseConfig", 

30 "AutoWatermark", 

31 "AutoConfig", 

32 "DiffusionConfig", 

33]