prismadata 0.3.1__tar.gz → 0.3.2__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.
- {prismadata-0.3.1 → prismadata-0.3.2}/PKG-INFO +1 -1
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/__init__.py +12 -1
- {prismadata-0.3.1 → prismadata-0.3.2}/pyproject.toml +1 -1
- {prismadata-0.3.1 → prismadata-0.3.2}/LICENSE +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/README.md +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_async_auth.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_async_http.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_auth.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_batch.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_cache.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_columns.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_constants.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_enrich.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_http.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_progress.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_types.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/_validation.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/async_client.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/client.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/exceptions.py +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/py.typed +0 -0
- {prismadata-0.3.1 → prismadata-0.3.2}/prismadata/sklearn.py +0 -0
|
@@ -43,7 +43,18 @@ from .exceptions import (
|
|
|
43
43
|
ValidationError,
|
|
44
44
|
)
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
from importlib.metadata import version as _pkg_version, PackageNotFoundError
|
|
47
|
+
|
|
48
|
+
try:
|
|
49
|
+
__version__ = _pkg_version("prismadata")
|
|
50
|
+
except PackageNotFoundError:
|
|
51
|
+
# Fallback for editable installs or running from source
|
|
52
|
+
from pathlib import Path as _Path
|
|
53
|
+
import re as _re
|
|
54
|
+
|
|
55
|
+
_pyproject = _Path(__file__).resolve().parent.parent / "pyproject.toml"
|
|
56
|
+
_match = _re.search(r'^version\s*=\s*"([^"]+)"', _pyproject.read_text(), _re.MULTILINE)
|
|
57
|
+
__version__ = _match.group(1) if _match else "0.0.0"
|
|
47
58
|
|
|
48
59
|
__all__ = [
|
|
49
60
|
"AsyncClient",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|