dbx-model-catalog-sync 0.1.8__tar.gz

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.
@@ -0,0 +1,89 @@
1
+ # ---- Secrets / environment ----------------------------------------------
2
+ .env
3
+ .env.*
4
+ *.env
5
+ .envrc
6
+ secrets.*
7
+ *.secret
8
+
9
+ # ---- Lock files (may embed local proxy URLs / creds -- do not commit) -----
10
+ uv.lock
11
+ poetry.lock
12
+ Pipfile.lock
13
+ package-lock.json
14
+ npm-shrinkwrap.json
15
+ yarn.lock
16
+ pnpm-lock.yaml
17
+ bun.lock
18
+ bun.lockb
19
+
20
+ # ---- Python --------------------------------------------------------------
21
+ __pycache__/
22
+ *.py[cod]
23
+ *$py.class
24
+ *.egg
25
+ *.egg-info/
26
+ .eggs/
27
+ build/
28
+ dist/
29
+ wheels/
30
+ .installed.cfg
31
+ .Python
32
+ .venv/
33
+ venv/
34
+ env/
35
+ ENV/
36
+ .python-version
37
+ .pytest_cache/
38
+ .ruff_cache/
39
+ .mypy_cache/
40
+ .dmypy.json
41
+ .pyre/
42
+ .ipynb_checkpoints/
43
+ .coverage
44
+ .coverage.*
45
+ htmlcov/
46
+ .tox/
47
+ .nox/
48
+
49
+ # ---- Node / npm / bun ----------------------------------------------------
50
+ node_modules/
51
+ .npm/
52
+ .bun/
53
+ .pnp.*
54
+ .yarn/
55
+ dist/
56
+ build/
57
+ dist-node/
58
+ *.tsbuildinfo
59
+ packages/js/web/dist/
60
+
61
+ # ---- Databricks ----------------------------------------------------------
62
+ .databricks/
63
+ .databricks-login.json
64
+
65
+ # ---- IDE / editor caches -------------------------------------------------
66
+ .idea/
67
+ .vscode/
68
+ *.swp
69
+ *.swo
70
+ *.sublime-project
71
+ *.sublime-workspace
72
+ .history/
73
+
74
+ # ---- Temp / scratch ------------------------------------------------------
75
+ .kanna/
76
+ tmp/
77
+ temp/
78
+ *.tmp
79
+ *.temp
80
+ *.log
81
+ *.bak
82
+ *.cache
83
+
84
+ # ---- OS cruft ------------------------------------------------------------
85
+ .DS_Store
86
+ .DS_Store?
87
+ ._*
88
+ Thumbs.db
89
+ desktop.ini
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.5
2
+ Name: dbx-model-catalog-sync
3
+ Version: 0.1.8
4
+ Summary: Source ingestion and normalization for dbx-model-catalog
5
+ Requires-Python: >=3.12
6
+ Requires-Dist: beautifulsoup4<5,>=4.14
7
+ Requires-Dist: dbx-model-catalog
8
+ Requires-Dist: diskcache<6,>=5.6
9
+ Requires-Dist: huggingface-hub<2,>=1.0
10
+ Requires-Dist: pyarrow<24,>=22
11
+ Requires-Dist: python-dateutil<3,>=2.9
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.28,<2"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "dbx-model-catalog-sync"
7
+ version = "0.1.8"
8
+ description = "Source ingestion and normalization for dbx-model-catalog"
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ "beautifulsoup4>=4.14,<5",
12
+ "dbx-model-catalog",
13
+ "diskcache>=5.6,<6",
14
+ "huggingface-hub>=1.0,<2",
15
+ "pyarrow>=22,<24",
16
+ "python-dateutil>=2.9,<3",
17
+ ]
18
+
19
+ [project.scripts]
20
+ dbx-model-catalog-sync = "dbx_model_catalog_sync.cli:main"
21
+
22
+ [dependency-groups]
23
+ dev = ["pytest>=8.4,<9"]
24
+
25
+ [tool.hatch.build.targets.wheel]
26
+ packages = ["src/dbx_model_catalog_sync"]
27
+
28
+ [tool.pytest.ini_options]
29
+ testpaths = ["tests"]
30
+
31
+ [tool.uv.sources]
32
+ dbx-model-catalog = { workspace = true }
@@ -0,0 +1,84 @@
1
+ from .catalog import (
2
+ CatalogSync,
3
+ CatalogSyncSources,
4
+ build_model_catalog,
5
+ normalize_model_identity,
6
+ serialize_sources,
7
+ )
8
+ from .clients import (
9
+ DATABRICKS_CLOUD_PROVIDERS,
10
+ LIVEBENCH_DATASET,
11
+ LM_ARENA_DATASET,
12
+ MODEL_PARAMS_URL,
13
+ MODELS_DEV_URL,
14
+ DatabricksSyncClient,
15
+ JsonSyncClient,
16
+ LMArenaSyncClient,
17
+ LiveBenchSyncClient,
18
+ ModelParamsSyncClient,
19
+ ModelsDevSyncClient,
20
+ SyncClient,
21
+ SyncClientOptions,
22
+ parse_databricks_capabilities,
23
+ parse_databricks_pricing_catalog,
24
+ parse_databricks_rate_limits,
25
+ parse_databricks_retired_models,
26
+ parse_databricks_supported_models_page,
27
+ parse_model_latency_benchmark,
28
+ sync_client_cache_path,
29
+ )
30
+ from .models import (
31
+ DatabricksCatalogData,
32
+ DatabricksCloudProviderData,
33
+ DatabricksPricingCatalog,
34
+ DatabricksSupportedModel,
35
+ DatabricksSupportedModelsPage,
36
+ LMArenaCatalogData,
37
+ LiveBenchCatalogData,
38
+ ModelParamsData,
39
+ ModelsDevData,
40
+ SyncResult,
41
+ )
42
+ from .utilities import parse_flexible_date, stringify_json
43
+ from .publishing import publish_catalog
44
+
45
+ __all__ = [
46
+ "CatalogSync",
47
+ "CatalogSyncSources",
48
+ "DATABRICKS_CLOUD_PROVIDERS",
49
+ "DatabricksCatalogData",
50
+ "DatabricksCloudProviderData",
51
+ "DatabricksPricingCatalog",
52
+ "DatabricksSupportedModel",
53
+ "DatabricksSupportedModelsPage",
54
+ "DatabricksSyncClient",
55
+ "JsonSyncClient",
56
+ "LIVEBENCH_DATASET",
57
+ "LM_ARENA_DATASET",
58
+ "LMArenaCatalogData",
59
+ "LMArenaSyncClient",
60
+ "LiveBenchCatalogData",
61
+ "LiveBenchSyncClient",
62
+ "MODEL_PARAMS_URL",
63
+ "MODELS_DEV_URL",
64
+ "ModelParamsData",
65
+ "ModelParamsSyncClient",
66
+ "ModelsDevData",
67
+ "ModelsDevSyncClient",
68
+ "SyncClient",
69
+ "SyncClientOptions",
70
+ "SyncResult",
71
+ "build_model_catalog",
72
+ "normalize_model_identity",
73
+ "parse_databricks_capabilities",
74
+ "parse_databricks_pricing_catalog",
75
+ "parse_databricks_rate_limits",
76
+ "parse_databricks_retired_models",
77
+ "parse_databricks_supported_models_page",
78
+ "parse_model_latency_benchmark",
79
+ "parse_flexible_date",
80
+ "publish_catalog",
81
+ "serialize_sources",
82
+ "stringify_json",
83
+ "sync_client_cache_path",
84
+ ]
@@ -0,0 +1,3 @@
1
+ from .cli import main
2
+
3
+ raise SystemExit(main())