deepctl-core 0.1.0__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.
- deepctl_core-0.1.0/PKG-INFO +35 -0
- deepctl_core-0.1.0/README.md +3 -0
- deepctl_core-0.1.0/pyproject.toml +49 -0
- deepctl_core-0.1.0/setup.cfg +4 -0
- deepctl_core-0.1.0/src/deepctl_core/__init__.py +49 -0
- deepctl_core-0.1.0/src/deepctl_core/auth.py +642 -0
- deepctl_core-0.1.0/src/deepctl_core/base_command.py +331 -0
- deepctl_core-0.1.0/src/deepctl_core/base_group_command.py +187 -0
- deepctl_core-0.1.0/src/deepctl_core/client.py +325 -0
- deepctl_core-0.1.0/src/deepctl_core/config.py +292 -0
- deepctl_core-0.1.0/src/deepctl_core/models.py +44 -0
- deepctl_core-0.1.0/src/deepctl_core/output.py +461 -0
- deepctl_core-0.1.0/src/deepctl_core/plugin_manager.py +408 -0
- deepctl_core-0.1.0/src/deepctl_core/py.typed +1 -0
- deepctl_core-0.1.0/src/deepctl_core.egg-info/PKG-INFO +35 -0
- deepctl_core-0.1.0/src/deepctl_core.egg-info/SOURCES.txt +17 -0
- deepctl_core-0.1.0/src/deepctl_core.egg-info/dependency_links.txt +1 -0
- deepctl_core-0.1.0/src/deepctl_core.egg-info/requires.txt +15 -0
- deepctl_core-0.1.0/src/deepctl_core.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: deepctl-core
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Core components for deepctl
|
|
5
|
+
Author-email: Deepgram <devrel@deepgram.com>
|
|
6
|
+
Maintainer-email: Deepgram <devrel@deepgram.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Keywords: deepgram,core,auth,config,client
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
Requires-Dist: click>=8.0.0
|
|
19
|
+
Requires-Dist: deepgram-sdk>=3.0.0
|
|
20
|
+
Requires-Dist: pydantic>=2.0.0
|
|
21
|
+
Requires-Dist: rich>=13.0.0
|
|
22
|
+
Requires-Dist: httpx>=0.24.0
|
|
23
|
+
Requires-Dist: pyjwt>=2.8.0
|
|
24
|
+
Requires-Dist: keyring>=24.0.0
|
|
25
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
26
|
+
Requires-Dist: platformdirs>=3.0.0
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
30
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
31
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
|
|
32
|
+
|
|
33
|
+
# deepctl-core
|
|
34
|
+
|
|
35
|
+
Core components for deepctl. This package is an internal component of deepctl and is not intended for standalone use.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "deepctl-core"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Core components for deepctl"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
authors = [{ name = "Deepgram", email = "devrel@deepgram.com" }]
|
|
12
|
+
maintainers = [{ name = "Deepgram", email = "devrel@deepgram.com" }]
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 3 - Alpha",
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.10",
|
|
18
|
+
"Programming Language :: Python :: 3.11",
|
|
19
|
+
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
21
|
+
]
|
|
22
|
+
keywords = ["deepgram", "core", "auth", "config", "client"]
|
|
23
|
+
requires-python = ">=3.10"
|
|
24
|
+
dependencies = [
|
|
25
|
+
"click>=8.0.0",
|
|
26
|
+
"deepgram-sdk>=3.0.0",
|
|
27
|
+
"pydantic>=2.0.0",
|
|
28
|
+
"rich>=13.0.0",
|
|
29
|
+
"httpx>=0.24.0",
|
|
30
|
+
"pyjwt>=2.8.0",
|
|
31
|
+
"keyring>=24.0.0",
|
|
32
|
+
"pyyaml>=6.0.0",
|
|
33
|
+
"platformdirs>=3.0.0",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.optional-dependencies]
|
|
37
|
+
dev = [
|
|
38
|
+
"pytest>=7.0.0",
|
|
39
|
+
"pytest-asyncio>=0.21.0",
|
|
40
|
+
"pytest-cov>=4.0.0",
|
|
41
|
+
"pytest-mock>=3.10.0",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[tool.setuptools]
|
|
45
|
+
package-dir = { "" = "src" }
|
|
46
|
+
|
|
47
|
+
[tool.setuptools.packages.find]
|
|
48
|
+
where = ["src"]
|
|
49
|
+
include = ["deepctl_core*"]
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Core components for deepctl."""
|
|
2
|
+
|
|
3
|
+
from .auth import AuthenticationError, AuthManager
|
|
4
|
+
from .base_command import BaseCommand
|
|
5
|
+
from .base_group_command import BaseGroupCommand
|
|
6
|
+
from .client import DeepgramClient
|
|
7
|
+
from .config import Config
|
|
8
|
+
from .models import (
|
|
9
|
+
BaseResult,
|
|
10
|
+
ErrorResult,
|
|
11
|
+
PluginInfo,
|
|
12
|
+
ProfileInfo,
|
|
13
|
+
ProfilesResult,
|
|
14
|
+
)
|
|
15
|
+
from .output import (
|
|
16
|
+
OutputFormatter,
|
|
17
|
+
get_console,
|
|
18
|
+
print_error,
|
|
19
|
+
print_info,
|
|
20
|
+
print_output,
|
|
21
|
+
print_success,
|
|
22
|
+
print_warning,
|
|
23
|
+
setup_output,
|
|
24
|
+
)
|
|
25
|
+
from .plugin_manager import PluginManager
|
|
26
|
+
|
|
27
|
+
__all__ = [
|
|
28
|
+
"AuthManager",
|
|
29
|
+
"AuthenticationError",
|
|
30
|
+
"BaseCommand",
|
|
31
|
+
"BaseGroupCommand",
|
|
32
|
+
"BaseResult",
|
|
33
|
+
"Config",
|
|
34
|
+
"DeepgramClient",
|
|
35
|
+
"ErrorResult",
|
|
36
|
+
"OutputFormatter",
|
|
37
|
+
"PluginInfo",
|
|
38
|
+
"PluginManager",
|
|
39
|
+
"ProfileInfo",
|
|
40
|
+
"ProfilesResult",
|
|
41
|
+
"get_console",
|
|
42
|
+
"print_error",
|
|
43
|
+
"print_info",
|
|
44
|
+
"print_output",
|
|
45
|
+
"print_success",
|
|
46
|
+
"print_warning",
|
|
47
|
+
# Output utilities
|
|
48
|
+
"setup_output",
|
|
49
|
+
]
|