hpde-analytics-cli 6.0.4__tar.gz → 6.0.7__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.
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/PKG-INFO +14 -2
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/README.md +13 -1
- hpde_analytics_cli-6.0.7/hpde_analytics_cli/__init__.py +10 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/integrations/google_sheets.py +1 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/main.py +7 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/PKG-INFO +14 -2
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/pyproject.toml +99 -99
- hpde_analytics_cli-6.0.4/hpde_analytics_cli/__init__.py +0 -4
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/LICENSE +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/api/__init__.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/api/client.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/auth/__init__.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/auth/credentials.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/auth/oauth.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/integrations/__init__.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/integrations/email_populator.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/__init__.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/data_export.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/field_discovery.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/report_generator.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/SOURCES.txt +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/dependency_links.txt +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/entry_points.txt +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/requires.txt +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/top_level.txt +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/setup.cfg +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_client.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_credentials.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_data_export.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_email_populator.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_google_sheets.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_main.py +0 -0
- {hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/tests/test_report_generator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hpde-analytics-cli
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.7
|
|
4
4
|
Summary: Data analysis and reporting tool for HPDE and Time Trials programs
|
|
5
5
|
Author-email: Kevin Homan <homan13@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -282,7 +282,19 @@ This project uses [Semantic Versioning (SemVer)](https://semver.org/):
|
|
|
282
282
|
- **MINOR** version for new functionality in a backward compatible manner
|
|
283
283
|
- **PATCH** version for backward compatible bug fixes
|
|
284
284
|
|
|
285
|
-
|
|
285
|
+
Releases are automated by [release-please](https://github.com/googleapis/release-please)
|
|
286
|
+
from [Conventional Commit](https://www.conventionalcommits.org/) messages on `main`.
|
|
287
|
+
Version numbers are owned by that automation and should never be edited by hand.
|
|
288
|
+
|
|
289
|
+
To see the version you have installed:
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
hpde-analytics-cli --version
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
For the current release and full history, see
|
|
296
|
+
[Releases](https://github.com/Homan13/hpde-analytics-cli/releases) and
|
|
297
|
+
[CHANGELOG.md](CHANGELOG.md).
|
|
286
298
|
|
|
287
299
|
## Authors
|
|
288
300
|
|
|
@@ -236,7 +236,19 @@ This project uses [Semantic Versioning (SemVer)](https://semver.org/):
|
|
|
236
236
|
- **MINOR** version for new functionality in a backward compatible manner
|
|
237
237
|
- **PATCH** version for backward compatible bug fixes
|
|
238
238
|
|
|
239
|
-
|
|
239
|
+
Releases are automated by [release-please](https://github.com/googleapis/release-please)
|
|
240
|
+
from [Conventional Commit](https://www.conventionalcommits.org/) messages on `main`.
|
|
241
|
+
Version numbers are owned by that automation and should never be edited by hand.
|
|
242
|
+
|
|
243
|
+
To see the version you have installed:
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
hpde-analytics-cli --version
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
For the current release and full history, see
|
|
250
|
+
[Releases](https://github.com/Homan13/hpde-analytics-cli/releases) and
|
|
251
|
+
[CHANGELOG.md](CHANGELOG.md).
|
|
240
252
|
|
|
241
253
|
## Authors
|
|
242
254
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""HPDE Analytics CLI: Event Registration API integration for HPDE and Time Trials programs."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
__app_name__ = "hpde-analytics-cli"
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = version(__app_name__)
|
|
9
|
+
except PackageNotFoundError: # pragma: no cover - source tree without an install
|
|
10
|
+
__version__ = "0.0.0+unknown"
|
|
@@ -14,6 +14,7 @@ from typing import Any, Dict, Optional
|
|
|
14
14
|
|
|
15
15
|
from dotenv import load_dotenv
|
|
16
16
|
|
|
17
|
+
from hpde_analytics_cli import __version__
|
|
17
18
|
from hpde_analytics_cli.api.client import create_client_from_oauth
|
|
18
19
|
from hpde_analytics_cli.auth.credentials import CredentialManager
|
|
19
20
|
from hpde_analytics_cli.auth.oauth import MSROAuth, create_oauth_from_env
|
|
@@ -327,6 +328,12 @@ Examples:
|
|
|
327
328
|
""",
|
|
328
329
|
)
|
|
329
330
|
|
|
331
|
+
parser.add_argument(
|
|
332
|
+
"--version",
|
|
333
|
+
action="version",
|
|
334
|
+
version=f"%(prog)s {__version__}",
|
|
335
|
+
help="Show the installed version and exit",
|
|
336
|
+
)
|
|
330
337
|
parser.add_argument(
|
|
331
338
|
"--configure",
|
|
332
339
|
action="store_true",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hpde-analytics-cli
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.7
|
|
4
4
|
Summary: Data analysis and reporting tool for HPDE and Time Trials programs
|
|
5
5
|
Author-email: Kevin Homan <homan13@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -282,7 +282,19 @@ This project uses [Semantic Versioning (SemVer)](https://semver.org/):
|
|
|
282
282
|
- **MINOR** version for new functionality in a backward compatible manner
|
|
283
283
|
- **PATCH** version for backward compatible bug fixes
|
|
284
284
|
|
|
285
|
-
|
|
285
|
+
Releases are automated by [release-please](https://github.com/googleapis/release-please)
|
|
286
|
+
from [Conventional Commit](https://www.conventionalcommits.org/) messages on `main`.
|
|
287
|
+
Version numbers are owned by that automation and should never be edited by hand.
|
|
288
|
+
|
|
289
|
+
To see the version you have installed:
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
hpde-analytics-cli --version
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
For the current release and full history, see
|
|
296
|
+
[Releases](https://github.com/Homan13/hpde-analytics-cli/releases) and
|
|
297
|
+
[CHANGELOG.md](CHANGELOG.md).
|
|
286
298
|
|
|
287
299
|
## Authors
|
|
288
300
|
|
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=64.0", "wheel"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "hpde-analytics-cli"
|
|
7
|
-
version = "6.0.
|
|
8
|
-
description = "Data analysis and reporting tool for HPDE and Time Trials programs"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
license = {text = "MIT"}
|
|
11
|
-
requires-python = ">=3.9"
|
|
12
|
-
authors = [
|
|
13
|
-
{name = "Kevin Homan", email = "homan13@gmail.com"}
|
|
14
|
-
]
|
|
15
|
-
keywords = [
|
|
16
|
-
"motorsports",
|
|
17
|
-
"hpde",
|
|
18
|
-
"time-trials",
|
|
19
|
-
"motorsportreg",
|
|
20
|
-
"analytics",
|
|
21
|
-
"reporting"
|
|
22
|
-
]
|
|
23
|
-
classifiers = [
|
|
24
|
-
"Development Status :: 4 - Beta",
|
|
25
|
-
"Environment :: Console",
|
|
26
|
-
"Intended Audience :: End Users/Desktop",
|
|
27
|
-
"License :: OSI Approved :: MIT License",
|
|
28
|
-
"Operating System :: OS Independent",
|
|
29
|
-
"Programming Language :: Python :: 3",
|
|
30
|
-
"Programming Language :: Python :: 3.9",
|
|
31
|
-
"Programming Language :: Python :: 3.10",
|
|
32
|
-
"Programming Language :: Python :: 3.11",
|
|
33
|
-
"Programming Language :: Python :: 3.12",
|
|
34
|
-
"Programming Language :: Python :: 3.13",
|
|
35
|
-
"Programming Language :: Python :: 3.14",
|
|
36
|
-
"Topic :: Utilities",
|
|
37
|
-
]
|
|
38
|
-
dependencies = [
|
|
39
|
-
"requests>=2.28.0",
|
|
40
|
-
"requests-oauthlib>=1.3.0",
|
|
41
|
-
"python-dotenv>=1.0.0",
|
|
42
|
-
"openpyxl>=3.1.0",
|
|
43
|
-
"keyring>=24.0.0",
|
|
44
|
-
"gspread>=6.0.0",
|
|
45
|
-
"google-auth>=2.22.0",
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
[project.optional-dependencies]
|
|
49
|
-
dev = [
|
|
50
|
-
"pytest>=7.0.0",
|
|
51
|
-
"pytest-cov>=4.0.0",
|
|
52
|
-
"black>=23.0.0",
|
|
53
|
-
"flake8>=6.0.0",
|
|
54
|
-
"mypy>=1.0.0",
|
|
55
|
-
"isort>=5.12.0",
|
|
56
|
-
"bandit>=1.7.0",
|
|
57
|
-
"safety>=2.3.0",
|
|
58
|
-
"pre-commit>=3.5.0",
|
|
59
|
-
]
|
|
60
|
-
|
|
61
|
-
[project.urls]
|
|
62
|
-
Homepage = "https://github.com/Homan13/hpde-analytics-cli"
|
|
63
|
-
Documentation = "https://github.com/Homan13/hpde-analytics-cli#readme"
|
|
64
|
-
Repository = "https://github.com/Homan13/hpde-analytics-cli.git"
|
|
65
|
-
Issues = "https://github.com/Homan13/hpde-analytics-cli/issues"
|
|
66
|
-
|
|
67
|
-
[project.scripts]
|
|
68
|
-
hpde-analytics-cli = "hpde_analytics_cli.main:main"
|
|
69
|
-
|
|
70
|
-
[tool.setuptools.packages.find]
|
|
71
|
-
where = ["."]
|
|
72
|
-
include = ["hpde_analytics_cli*"]
|
|
73
|
-
|
|
74
|
-
[tool.black]
|
|
75
|
-
line-length = 100
|
|
76
|
-
target-version = ["py39", "py310", "py311", "py312", "py313"]
|
|
77
|
-
|
|
78
|
-
[tool.pytest.ini_options]
|
|
79
|
-
testpaths = ["tests"]
|
|
80
|
-
python_files = ["test_*.py"]
|
|
81
|
-
addopts = "-v --cov=hpde_analytics_cli --cov-report=term-missing"
|
|
82
|
-
|
|
83
|
-
[tool.mypy]
|
|
84
|
-
python_version = "3.9"
|
|
85
|
-
warn_return_any = false
|
|
86
|
-
warn_unused_configs = true
|
|
87
|
-
ignore_missing_imports = true
|
|
88
|
-
check_untyped_defs = false
|
|
89
|
-
no_implicit_optional = false
|
|
90
|
-
|
|
91
|
-
[tool.isort]
|
|
92
|
-
profile = "black"
|
|
93
|
-
line_length = 100
|
|
94
|
-
known_first_party = ["hpde_analytics_cli"]
|
|
95
|
-
skip = ["venv", ".venv", "build", "dist"]
|
|
96
|
-
|
|
97
|
-
[tool.bandit]
|
|
98
|
-
exclude_dirs = ["tests", "venv"]
|
|
99
|
-
skips = ["B101"] # Skip assert warnings in tests
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "hpde-analytics-cli"
|
|
7
|
+
version = "6.0.7" # x-release-please-version
|
|
8
|
+
description = "Data analysis and reporting tool for HPDE and Time Trials programs"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Kevin Homan", email = "homan13@gmail.com"}
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"motorsports",
|
|
17
|
+
"hpde",
|
|
18
|
+
"time-trials",
|
|
19
|
+
"motorsportreg",
|
|
20
|
+
"analytics",
|
|
21
|
+
"reporting"
|
|
22
|
+
]
|
|
23
|
+
classifiers = [
|
|
24
|
+
"Development Status :: 4 - Beta",
|
|
25
|
+
"Environment :: Console",
|
|
26
|
+
"Intended Audience :: End Users/Desktop",
|
|
27
|
+
"License :: OSI Approved :: MIT License",
|
|
28
|
+
"Operating System :: OS Independent",
|
|
29
|
+
"Programming Language :: Python :: 3",
|
|
30
|
+
"Programming Language :: Python :: 3.9",
|
|
31
|
+
"Programming Language :: Python :: 3.10",
|
|
32
|
+
"Programming Language :: Python :: 3.11",
|
|
33
|
+
"Programming Language :: Python :: 3.12",
|
|
34
|
+
"Programming Language :: Python :: 3.13",
|
|
35
|
+
"Programming Language :: Python :: 3.14",
|
|
36
|
+
"Topic :: Utilities",
|
|
37
|
+
]
|
|
38
|
+
dependencies = [
|
|
39
|
+
"requests>=2.28.0",
|
|
40
|
+
"requests-oauthlib>=1.3.0",
|
|
41
|
+
"python-dotenv>=1.0.0",
|
|
42
|
+
"openpyxl>=3.1.0",
|
|
43
|
+
"keyring>=24.0.0",
|
|
44
|
+
"gspread>=6.0.0",
|
|
45
|
+
"google-auth>=2.22.0",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[project.optional-dependencies]
|
|
49
|
+
dev = [
|
|
50
|
+
"pytest>=7.0.0",
|
|
51
|
+
"pytest-cov>=4.0.0",
|
|
52
|
+
"black>=23.0.0",
|
|
53
|
+
"flake8>=6.0.0",
|
|
54
|
+
"mypy>=1.0.0",
|
|
55
|
+
"isort>=5.12.0",
|
|
56
|
+
"bandit>=1.7.0",
|
|
57
|
+
"safety>=2.3.0",
|
|
58
|
+
"pre-commit>=3.5.0",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[project.urls]
|
|
62
|
+
Homepage = "https://github.com/Homan13/hpde-analytics-cli"
|
|
63
|
+
Documentation = "https://github.com/Homan13/hpde-analytics-cli#readme"
|
|
64
|
+
Repository = "https://github.com/Homan13/hpde-analytics-cli.git"
|
|
65
|
+
Issues = "https://github.com/Homan13/hpde-analytics-cli/issues"
|
|
66
|
+
|
|
67
|
+
[project.scripts]
|
|
68
|
+
hpde-analytics-cli = "hpde_analytics_cli.main:main"
|
|
69
|
+
|
|
70
|
+
[tool.setuptools.packages.find]
|
|
71
|
+
where = ["."]
|
|
72
|
+
include = ["hpde_analytics_cli*"]
|
|
73
|
+
|
|
74
|
+
[tool.black]
|
|
75
|
+
line-length = 100
|
|
76
|
+
target-version = ["py39", "py310", "py311", "py312", "py313"]
|
|
77
|
+
|
|
78
|
+
[tool.pytest.ini_options]
|
|
79
|
+
testpaths = ["tests"]
|
|
80
|
+
python_files = ["test_*.py"]
|
|
81
|
+
addopts = "-v --cov=hpde_analytics_cli --cov-report=term-missing"
|
|
82
|
+
|
|
83
|
+
[tool.mypy]
|
|
84
|
+
python_version = "3.9"
|
|
85
|
+
warn_return_any = false
|
|
86
|
+
warn_unused_configs = true
|
|
87
|
+
ignore_missing_imports = true
|
|
88
|
+
check_untyped_defs = false
|
|
89
|
+
no_implicit_optional = false
|
|
90
|
+
|
|
91
|
+
[tool.isort]
|
|
92
|
+
profile = "black"
|
|
93
|
+
line_length = 100
|
|
94
|
+
known_first_party = ["hpde_analytics_cli"]
|
|
95
|
+
skip = ["venv", ".venv", "build", "dist"]
|
|
96
|
+
|
|
97
|
+
[tool.bandit]
|
|
98
|
+
exclude_dirs = ["tests", "venv"]
|
|
99
|
+
skips = ["B101"] # Skip assert warnings in tests
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/auth/credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/integrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/data_export.py
RENAMED
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/field_discovery.py
RENAMED
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli/utils/report_generator.py
RENAMED
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/requires.txt
RENAMED
|
File without changes
|
{hpde_analytics_cli-6.0.4 → hpde_analytics_cli-6.0.7}/hpde_analytics_cli.egg-info/top_level.txt
RENAMED
|
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
|