Coverage for privacyforms_pdf/__init__.py: 100%

1"""privacyforms-pdf: Python library for PDF form operations using pypdf."""

2

3 from .extractor import (

4 FieldGeometry,

5 FieldNotFoundError,

6 FormField,

7 FormValidationError,

8 # Backwards compatibility aliases (deprecated, will be removed in a future version)

9 PDFCPUError,

10 PDFCPUExecutionError,

11 PDFCPUNotFoundError,

12 PDFField,

13 PDFFormData,

14 PDFFormError,

15 PDFFormExtractor,

16 PDFFormNotFoundError,

17 get_available_geometry_backends,

18 has_geometry_support,

19)

20

21 __version__ = "0.1.3"

22 __all__ = [

23 # Main classes

24 "PDFFormExtractor",

25 "PDFFormData",

26 "PDFField",

27 "FieldGeometry",

28 # Legacy compatibility

29 "FormField",

30 # Exceptions

31 "PDFFormError",

32 "PDFFormNotFoundError",

33 "FormValidationError",

34 "FieldNotFoundError",

35 # Backwards compatibility - old exception names (deprecated)

36 "PDFCPUError",

37 "PDFCPUExecutionError",

38 "PDFCPUNotFoundError",

39 # Utility functions

40 "get_available_geometry_backends",

41 "has_geometry_support",

42]