luxorasap 0.0.1__tar.gz → 0.0.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.
- {luxorasap-0.0.1 → luxorasap-0.0.2}/PKG-INFO +1 -1
- {luxorasap-0.0.1 → luxorasap-0.0.2}/pyproject.toml +20 -4
- luxorasap-0.0.2/src/luxorasap/__init__.py +29 -0
- luxorasap-0.0.2/src/luxorasap/ingest/__init__.py +0 -0
- luxorasap-0.0.2/src/luxorasap/utils/__init__.py +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/PKG-INFO +1 -1
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/SOURCES.txt +2 -0
- luxorasap-0.0.1/src/luxorasap/__init__.py +0 -20
- {luxorasap-0.0.1 → luxorasap-0.0.2}/README.md +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/setup.cfg +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap/datareader/__init__.py +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap/datareader/core.py +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/dependency_links.txt +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/entry_points.txt +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/requires.txt +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/src/luxorasap.egg-info/top_level.txt +0 -0
- {luxorasap-0.0.1 → luxorasap-0.0.2}/tests/test_datareader.py +0 -0
|
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
|
|
|
10
10
|
#############################
|
|
11
11
|
[project]
|
|
12
12
|
name = "luxorasap"
|
|
13
|
-
version
|
|
13
|
+
version = "0.0.2"
|
|
14
14
|
description = "Luxor’s unified toolbox for data ingestion, querying and analytics."
|
|
15
15
|
readme = "README.md"
|
|
16
16
|
requires-python = ">=3.9"
|
|
@@ -70,12 +70,28 @@ exclude = ["tests*"]
|
|
|
70
70
|
# bumpver (sem-ver)
|
|
71
71
|
#############################
|
|
72
72
|
[tool.bumpver]
|
|
73
|
-
current_version = "0.0.
|
|
73
|
+
current_version = "0.0.2"
|
|
74
74
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
75
|
+
|
|
76
|
+
# regex explícito – obrigatório no bumpver 2024+
|
|
77
|
+
version_regex = '''
|
|
78
|
+
(?P<major>[0-9]+)
|
|
79
|
+
\.
|
|
80
|
+
(?P<minor>[0-9]+)
|
|
81
|
+
\.
|
|
82
|
+
(?P<patch>[0-9]+)
|
|
83
|
+
'''
|
|
84
|
+
|
|
85
|
+
commit = true
|
|
86
|
+
tag = true
|
|
87
|
+
push = false
|
|
75
88
|
commit_message = "release: {old_version} → {new_version}"
|
|
76
89
|
tag_message = "v{new_version}"
|
|
77
|
-
|
|
78
|
-
|
|
90
|
+
|
|
91
|
+
[tool.bumpver.file_patterns]
|
|
92
|
+
# ─── Arquivos/linhas onde a versão deve mudar ─────────────────────
|
|
93
|
+
"pyproject.toml" = ['version = "{version}"']
|
|
94
|
+
"src/luxorasap/__init__.py" = ['__version__ = "{version}"']
|
|
79
95
|
|
|
80
96
|
#############################
|
|
81
97
|
# Tooling (black / isort)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""
|
|
2
|
+
LuxorASAP – pacote raiz.
|
|
3
|
+
|
|
4
|
+
• Versão única obtida via importlib.metadata.
|
|
5
|
+
• Lazy-loading dos subpacotes (datareader, ingest, utils).
|
|
6
|
+
• Reexporta LuxorQuery para conveniência: from luxorasap import LuxorQuery
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from importlib import import_module, metadata
|
|
10
|
+
from types import ModuleType
|
|
11
|
+
|
|
12
|
+
# ─── Versão ───────────────────────────────────────────────────────
|
|
13
|
+
try:
|
|
14
|
+
__version__: str = metadata.version(__name__)
|
|
15
|
+
except metadata.PackageNotFoundError: # editable install
|
|
16
|
+
__version__ = "0.0.2"
|
|
17
|
+
|
|
18
|
+
# ─── Lazy loader ─────────────────────────────────────────────────
|
|
19
|
+
def __getattr__(name: str) -> ModuleType:
|
|
20
|
+
if name in {"datareader", "ingest", "utils"}:
|
|
21
|
+
module = import_module(f".{name}", __name__)
|
|
22
|
+
globals()[name] = module # cache no namespace
|
|
23
|
+
return module
|
|
24
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
25
|
+
|
|
26
|
+
# ─── Conveniência: import direto de LuxorQuery ───────────────────
|
|
27
|
+
LuxorQuery = import_module(".datareader", __name__).LuxorQuery # type: ignore[attr-defined]
|
|
28
|
+
|
|
29
|
+
__all__ = ["__version__", "LuxorQuery"]
|
|
File without changes
|
|
File without changes
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
LuxorASAP – pacote principal.
|
|
3
|
-
|
|
4
|
-
Carrega subpacotes e expõe um ponto único de versão.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from importlib.metadata import PackageNotFoundError, version as _pkg_version
|
|
8
|
-
|
|
9
|
-
try:
|
|
10
|
-
__version__: str = _pkg_version(__name__)
|
|
11
|
-
except PackageNotFoundError: # pacote ainda não instalado (editable during dev)
|
|
12
|
-
__version__ = "0.0.0"
|
|
13
|
-
|
|
14
|
-
# Reexporta submódulos principais
|
|
15
|
-
from . import datareader, ingest, utils # noqa: F401
|
|
16
|
-
|
|
17
|
-
# Conveniência opcional – permite: from luxorasap import LuxorQuery
|
|
18
|
-
#from .datareader import LuxorQuery # noqa: F401
|
|
19
|
-
|
|
20
|
-
__all__ = ["__version__", "datareader", "ingest", "utils", "LuxorQuery"]
|
|
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
|