capitalcom-cli 0.6.1__tar.gz → 0.6.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.
- {capitalcom_cli-0.6.1/capitalcom_cli.egg-info → capitalcom_cli-0.6.2}/PKG-INFO +17 -1
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/__init__.py +1 -1
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2/capitalcom_cli.egg-info}/PKG-INFO +17 -1
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capitalcom_cli.egg-info/SOURCES.txt +1 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/pyproject.toml +30 -0
- capitalcom_cli-0.6.2/tests/test_packaging_metadata.py +33 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/LICENSE +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/NOTICE +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/README.md +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/__main__.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/__init__.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/account_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/app.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/context.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/doctor_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/live_guard.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/market_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/output.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/runner.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/session_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/stream_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/trade_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/cli/watchlist_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/__init__.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/audit.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/config.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/errors.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/http_client.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/models.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/rate_limit.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/risk.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/session.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/state.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/utils.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/core/websocket_client.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/sdk/__init__.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/sdk/app.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/sdk/config.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/sdk/risk_policy.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/__init__.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/accounts.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/confirmations.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/markets.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/streaming.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/trading.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capital_cli/services/watchlists.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capitalcom_cli.egg-info/dependency_links.txt +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capitalcom_cli.egg-info/entry_points.txt +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capitalcom_cli.egg-info/requires.txt +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/capitalcom_cli.egg-info/top_level.txt +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/setup.cfg +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_account_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_app.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_audit.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_build_broker_request.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_cli_usage_errors.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_config_errors.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_core_port.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_coverage_doc_in_sync.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_credential_cmd.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_doctor.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_errors.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_global_flag_hoist.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_http_client.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_init_state_singletons.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_live_guard.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_market_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_output.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_output_color.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_output_plain.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_redaction.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_risk.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_runner.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_session_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_session_persistence.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_session_reads.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_state.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_stream_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_trade_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_trade_limit.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_tz_datetimes.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_utils.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_version.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_watchlist_cmds.py +0 -0
- {capitalcom_cli-0.6.1 → capitalcom_cli-0.6.2}/tests/test_websocket_parsing.py +0 -0
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capitalcom-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Unofficial command-line client for the Capital.com Open API
|
|
5
5
|
Author: Simon Tarara
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/SimonTarara62/capitalcom-cli
|
|
8
|
+
Project-URL: Documentation, https://github.com/SimonTarara62/capitalcom-cli#readme
|
|
9
|
+
Project-URL: Changelog, https://github.com/SimonTarara62/capitalcom-cli/blob/main/CHANGELOG.md
|
|
10
|
+
Project-URL: Source, https://github.com/SimonTarara62/capitalcom-cli
|
|
8
11
|
Project-URL: Issues, https://github.com/SimonTarara62/capitalcom-cli/issues
|
|
12
|
+
Keywords: capital.com,trading,cfd,broker,fintech,market-data,cli,sdk,async,websocket,finance
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
17
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
24
|
+
Classifier: Topic :: Utilities
|
|
9
25
|
Requires-Python: >=3.10
|
|
10
26
|
Description-Content-Type: text/markdown
|
|
11
27
|
License-File: LICENSE
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capitalcom-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Unofficial command-line client for the Capital.com Open API
|
|
5
5
|
Author: Simon Tarara
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/SimonTarara62/capitalcom-cli
|
|
8
|
+
Project-URL: Documentation, https://github.com/SimonTarara62/capitalcom-cli#readme
|
|
9
|
+
Project-URL: Changelog, https://github.com/SimonTarara62/capitalcom-cli/blob/main/CHANGELOG.md
|
|
10
|
+
Project-URL: Source, https://github.com/SimonTarara62/capitalcom-cli
|
|
8
11
|
Project-URL: Issues, https://github.com/SimonTarara62/capitalcom-cli/issues
|
|
12
|
+
Keywords: capital.com,trading,cfd,broker,fintech,market-data,cli,sdk,async,websocket,finance
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
17
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
24
|
+
Classifier: Topic :: Utilities
|
|
9
25
|
Requires-Python: >=3.10
|
|
10
26
|
Description-Content-Type: text/markdown
|
|
11
27
|
License-File: LICENSE
|
|
@@ -6,6 +6,33 @@ authors = [{name = "Simon Tarara"}]
|
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
requires-python = ">=3.10"
|
|
8
8
|
license = {text = "Apache-2.0"}
|
|
9
|
+
keywords = [
|
|
10
|
+
"capital.com",
|
|
11
|
+
"trading",
|
|
12
|
+
"cfd",
|
|
13
|
+
"broker",
|
|
14
|
+
"fintech",
|
|
15
|
+
"market-data",
|
|
16
|
+
"cli",
|
|
17
|
+
"sdk",
|
|
18
|
+
"async",
|
|
19
|
+
"websocket",
|
|
20
|
+
"finance",
|
|
21
|
+
]
|
|
22
|
+
classifiers = [
|
|
23
|
+
"Development Status :: 4 - Beta",
|
|
24
|
+
"Environment :: Console",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
26
|
+
"Intended Audience :: Financial and Insurance Industry",
|
|
27
|
+
"License :: OSI Approved :: Apache Software License",
|
|
28
|
+
"Operating System :: OS Independent",
|
|
29
|
+
"Programming Language :: Python :: 3",
|
|
30
|
+
"Programming Language :: Python :: 3.10",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
32
|
+
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Topic :: Office/Business :: Financial :: Investment",
|
|
34
|
+
"Topic :: Utilities",
|
|
35
|
+
]
|
|
9
36
|
|
|
10
37
|
dependencies = [
|
|
11
38
|
"typer>=0.12.0",
|
|
@@ -33,6 +60,9 @@ capctl = "capital_cli.cli.app:run_cli"
|
|
|
33
60
|
|
|
34
61
|
[project.urls]
|
|
35
62
|
Homepage = "https://github.com/SimonTarara62/capitalcom-cli"
|
|
63
|
+
Documentation = "https://github.com/SimonTarara62/capitalcom-cli#readme"
|
|
64
|
+
Changelog = "https://github.com/SimonTarara62/capitalcom-cli/blob/main/CHANGELOG.md"
|
|
65
|
+
Source = "https://github.com/SimonTarara62/capitalcom-cli"
|
|
36
66
|
Issues = "https://github.com/SimonTarara62/capitalcom-cli/issues"
|
|
37
67
|
|
|
38
68
|
[build-system]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""The published distribution must carry discovery metadata (classifiers,
|
|
2
|
+
keywords). These feed PyPI search and Libraries.io. Reads the *installed*
|
|
3
|
+
distribution metadata, so run `pip install -e .` after changing pyproject.toml
|
|
4
|
+
to refresh editable metadata before this test will see new fields."""
|
|
5
|
+
|
|
6
|
+
from importlib import metadata
|
|
7
|
+
|
|
8
|
+
DIST = "capitalcom-cli"
|
|
9
|
+
|
|
10
|
+
EXPECTED_CLASSIFIERS = {
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Intended Audience :: Financial and Insurance Industry",
|
|
13
|
+
"Topic :: Office/Business :: Financial :: Investment",
|
|
14
|
+
"Programming Language :: Python :: 3.12",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def test_expected_classifiers_present() -> None:
|
|
19
|
+
classifiers = set(metadata.metadata(DIST).get_all("Classifier") or [])
|
|
20
|
+
missing = EXPECTED_CLASSIFIERS - classifiers
|
|
21
|
+
assert not missing, f"missing classifiers: {sorted(missing)}"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def test_expected_keywords_present() -> None:
|
|
25
|
+
keywords = metadata.metadata(DIST).get("Keywords", "")
|
|
26
|
+
assert "capital.com" in keywords
|
|
27
|
+
assert "trading" in keywords
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def test_expected_project_urls_present() -> None:
|
|
31
|
+
urls = metadata.metadata(DIST).get_all("Project-URL") or []
|
|
32
|
+
labels = {entry.split(",", 1)[0].strip().lower() for entry in urls}
|
|
33
|
+
assert {"documentation", "changelog", "source"} <= labels
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|