emtl 0.1.4.dev1__tar.gz → 0.1.5.dev1__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.
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.bumpversion.cfg +1 -1
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.cookiecutterrc +2 -2
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/CHANGELOG.rst +10 -4
- {emtl-0.1.4.dev1/src/emtl.egg-info → emtl-0.1.5.dev1}/PKG-INFO +11 -5
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/README.rst +2 -2
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/conf.py +2 -2
- emtl-0.1.5.dev1/docs/requirements.txt +1 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/usage.rst +2 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/setup.py +1 -1
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/__init__.py +1 -1
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/_version.py +2 -2
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/core.py +6 -4
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1/src/emtl.egg-info}/PKG-INFO +11 -5
- emtl-0.1.4.dev1/docs/requirements.txt +0 -2
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.coveragerc +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.editorconfig +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.github/workflows/document.yml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.github/workflows/github-actions.yml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.gitignore +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.pre-commit-config.yaml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.readthedocs.yml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/AUTHORS.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/CONTRIBUTING.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/LICENSE +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/bootstrap.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/requirements.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/templates/.github/workflows/github-actions.yml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/authors.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/changelog.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/contributing.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/index.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/installation.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/readme.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/reference/emtl.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/reference/index.rst +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/spelling_wordlist.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/pyproject.toml +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/pytest.ini +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/setup.cfg +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/__main__.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/cli.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/const.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/__init__.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/test_cli.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/test_core.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/utils.py +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/SOURCES.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/dependency_links.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/entry_points.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/not-zip-safe +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/requires.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/top_level.txt +0 -0
- {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/tox.ini +0 -0
|
@@ -51,10 +51,10 @@ default_context:
|
|
|
51
51
|
sphinx_docs: "yes"
|
|
52
52
|
sphinx_docs_hosting: "https://emtl.readthedocs.io/"
|
|
53
53
|
sphinx_doctest: "no"
|
|
54
|
-
sphinx_theme: "
|
|
54
|
+
sphinx_theme: "alabaster"
|
|
55
55
|
test_matrix_separate_coverage: "yes"
|
|
56
56
|
tests_inside_package: "yes"
|
|
57
|
-
version: "0.1.
|
|
57
|
+
version: "0.1.3"
|
|
58
58
|
version_manager: "bump2version"
|
|
59
59
|
website: "riiy.gihub.io/emtl"
|
|
60
60
|
year_from: "2024"
|
|
@@ -2,17 +2,23 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
0.1.0 (2024-04-14)
|
|
6
7
|
------------------
|
|
7
8
|
|
|
8
|
-
*
|
|
9
|
+
* First release on PyPI.
|
|
9
10
|
|
|
10
11
|
0.1.1 (2024-04-16)
|
|
11
12
|
------------------
|
|
12
13
|
|
|
13
14
|
* Delete python3.8 python3.9 pypy.
|
|
14
15
|
|
|
15
|
-
0.1.
|
|
16
|
+
0.1.2 (2024-04-18)
|
|
16
17
|
------------------
|
|
17
18
|
|
|
18
|
-
*
|
|
19
|
+
* add login && add asset position
|
|
20
|
+
|
|
21
|
+
0.1.3 (2024-04-19)
|
|
22
|
+
------------------
|
|
23
|
+
|
|
24
|
+
* update docs theme
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: emtl
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev1
|
|
4
4
|
Summary: 东方财富自动交易系统
|
|
5
5
|
Home-page: https://github.com/riiy/emtl
|
|
6
6
|
Author: Eastmoney Trade Library
|
|
@@ -84,19 +84,25 @@ Note, to combine the coverage data from all the tox environments run:
|
|
|
84
84
|
Changelog
|
|
85
85
|
=========
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
|
|
88
|
+
0.1.0 (2024-04-14)
|
|
88
89
|
------------------
|
|
89
90
|
|
|
90
|
-
*
|
|
91
|
+
* First release on PyPI.
|
|
91
92
|
|
|
92
93
|
0.1.1 (2024-04-16)
|
|
93
94
|
------------------
|
|
94
95
|
|
|
95
96
|
* Delete python3.8 python3.9 pypy.
|
|
96
97
|
|
|
97
|
-
0.1.
|
|
98
|
+
0.1.2 (2024-04-18)
|
|
98
99
|
------------------
|
|
99
100
|
|
|
100
|
-
*
|
|
101
|
+
* add login && add asset position
|
|
102
|
+
|
|
103
|
+
0.1.3 (2024-04-19)
|
|
104
|
+
------------------
|
|
105
|
+
|
|
106
|
+
* update docs theme
|
|
101
107
|
|
|
102
108
|
|
|
@@ -41,9 +41,9 @@ Overview
|
|
|
41
41
|
:alt: Supported implementations
|
|
42
42
|
:target: https://pypi.org/project/emtl
|
|
43
43
|
|
|
44
|
-
.. |commits-since| image:: https://img.shields.io/github/commits-since/riiy/emtl/v0.1.
|
|
44
|
+
.. |commits-since| image:: https://img.shields.io/github/commits-since/riiy/emtl/v0.1.4.svg
|
|
45
45
|
:alt: Commits since latest release
|
|
46
|
-
:target: https://github.com/riiy/emtl/compare/v0.1.
|
|
46
|
+
:target: https://github.com/riiy/emtl/compare/v0.1.4...master
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -25,7 +25,7 @@ except Exception:
|
|
|
25
25
|
import traceback
|
|
26
26
|
|
|
27
27
|
traceback.print_exc()
|
|
28
|
-
version = release = "0.1.
|
|
28
|
+
version = release = "0.1.4"
|
|
29
29
|
|
|
30
30
|
pygments_style = "trac"
|
|
31
31
|
templates_path = ["."]
|
|
@@ -34,7 +34,7 @@ extlinks = {
|
|
|
34
34
|
"pr": ("https://github.com/riiy/emtl/pull/%s", "PR #%s"),
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
html_theme = "
|
|
37
|
+
html_theme = "alabaster"
|
|
38
38
|
html_theme_options = {
|
|
39
39
|
"githuburl": "https://github.com/riiy/emtl/",
|
|
40
40
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sphinx==7.2.6
|
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '0.1.
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
15
|
+
__version__ = version = '0.1.5.dev1'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 1, 5, 'dev1')
|
|
@@ -94,10 +94,12 @@ def _get_em_validate_key():
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
def login(username: str, password: str, duration: int = 30) -> Optional[str]:
|
|
97
|
-
"""
|
|
98
|
-
|
|
99
|
-
:param
|
|
100
|
-
:param
|
|
97
|
+
"""登录接口.
|
|
98
|
+
|
|
99
|
+
:param str username: 用户名
|
|
100
|
+
:param str password: 密码(明文)
|
|
101
|
+
:param duration: 在线时长(分钟), defaults to 30
|
|
102
|
+
:type duration: int, optional
|
|
101
103
|
:return:
|
|
102
104
|
"""
|
|
103
105
|
if (ret := _get_captcha_code()) is None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: emtl
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev1
|
|
4
4
|
Summary: 东方财富自动交易系统
|
|
5
5
|
Home-page: https://github.com/riiy/emtl
|
|
6
6
|
Author: Eastmoney Trade Library
|
|
@@ -84,19 +84,25 @@ Note, to combine the coverage data from all the tox environments run:
|
|
|
84
84
|
Changelog
|
|
85
85
|
=========
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
|
|
88
|
+
0.1.0 (2024-04-14)
|
|
88
89
|
------------------
|
|
89
90
|
|
|
90
|
-
*
|
|
91
|
+
* First release on PyPI.
|
|
91
92
|
|
|
92
93
|
0.1.1 (2024-04-16)
|
|
93
94
|
------------------
|
|
94
95
|
|
|
95
96
|
* Delete python3.8 python3.9 pypy.
|
|
96
97
|
|
|
97
|
-
0.1.
|
|
98
|
+
0.1.2 (2024-04-18)
|
|
98
99
|
------------------
|
|
99
100
|
|
|
100
|
-
*
|
|
101
|
+
* add login && add asset position
|
|
102
|
+
|
|
103
|
+
0.1.3 (2024-04-19)
|
|
104
|
+
------------------
|
|
105
|
+
|
|
106
|
+
* update docs theme
|
|
101
107
|
|
|
102
108
|
|
|
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
|