Coverage for watermark / __init__.py: 100.00%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-22 10:24 +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""" 

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

17 

18This package provides watermarking algorithms for diffusion models including: 

19- Tree-Ring (TR) 

20- Gaussian Shading (GS) 

21- RingID (RI) 

22- PRC 

23- ROBIN 

24- Gaussian Marking (GM) 

25- SFW (Stable Few Watermarks) 

26- SEAL 

27- WIND 

28- VideoMark 

29- VideoShield 

30""" 

31 

32__version__ = "0.1.6.post1" 

33__author__ = "THU-BPM MarkDiffusion Team" 

34__license__ = "Apache-2.0" 

35 

36from .base import BaseWatermark, BaseConfig 

37from .auto_watermark import AutoWatermark 

38from .auto_config import AutoConfig 

39 

40__all__ = [ 

41 "__version__", 

42 "BaseWatermark", 

43 "BaseConfig", 

44 "AutoWatermark", 

45 "AutoConfig", 

46]