mdtomd 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mdtomd/__init__.py ADDED
@@ -0,0 +1,36 @@
1
+ from .config import (
2
+ AppConfig,
3
+ DefaultsConfig,
4
+ DisplayConfig,
5
+ FeaturedModelConfig,
6
+ LLMConfig,
7
+ ProviderOverrideConfig,
8
+ TranslatorConfig,
9
+ load_config,
10
+ )
11
+ from .llm import create_llm_client, list_supported_providers, resolve_runtime_config
12
+ from .pricing import ModelPrice, estimate_cost, lookup_model_price
13
+ from .translator import BatchTokenEstimate, FileTokenEstimate, MarkdownTokenEstimate, MarkdownTranslator, TranslateFilesOptions
14
+
15
+ __all__ = [
16
+ "AppConfig",
17
+ "DefaultsConfig",
18
+ "DisplayConfig",
19
+ "FeaturedModelConfig",
20
+ "BatchTokenEstimate",
21
+ "FileTokenEstimate",
22
+ "LLMConfig",
23
+ "ModelPrice",
24
+ "MarkdownTokenEstimate",
25
+ "MarkdownTranslator",
26
+ "ProviderOverrideConfig",
27
+ "TranslateFilesOptions",
28
+ "TranslatorConfig",
29
+ "create_llm_client",
30
+ "estimate_cost",
31
+ "list_supported_providers",
32
+ "load_config",
33
+ "lookup_model_price",
34
+ "resolve_runtime_config",
35
+ ]
36
+
mdtomd/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .cli import main
2
+
3
+
4
+ if __name__ == "__main__":
5
+ raise SystemExit(main())