Updated with real poster data support + poster pass-through gate
Browse files- src/pubguard/__init__.py +17 -0
src/pubguard/__init__.py
CHANGED
|
@@ -33,10 +33,27 @@ Usage:
|
|
| 33 |
|
| 34 |
from .classifier import PubGuard
|
| 35 |
from .config import PubGuardConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
)
|
| 37 |
|
| 38 |
__version__ = "0.1.0"
|
| 39 |
__all__ = [
|
| 40 |
"PubGuard",
|
| 41 |
"PubGuardConfig",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
]
|
|
|
|
| 33 |
|
| 34 |
from .classifier import PubGuard
|
| 35 |
from .config import PubGuardConfig
|
| 36 |
+
from .errors import (
|
| 37 |
+
PubVerseError,
|
| 38 |
+
build_pubguard_error,
|
| 39 |
+
empty_input_error,
|
| 40 |
+
unreadable_pdf_error,
|
| 41 |
+
models_missing_error,
|
| 42 |
+
gate_bypassed,
|
| 43 |
+
format_error_line,
|
| 44 |
+
PIPELINE_ERRORS,
|
| 45 |
)
|
| 46 |
|
| 47 |
__version__ = "0.1.0"
|
| 48 |
__all__ = [
|
| 49 |
"PubGuard",
|
| 50 |
"PubGuardConfig",
|
| 51 |
+
"PubVerseError",
|
| 52 |
+
"build_pubguard_error",
|
| 53 |
+
"empty_input_error",
|
| 54 |
+
"unreadable_pdf_error",
|
| 55 |
+
"models_missing_error",
|
| 56 |
+
"gate_bypassed",
|
| 57 |
+
"format_error_line",
|
| 58 |
+
"PIPELINE_ERRORS",
|
| 59 |
]
|