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.
Files changed (53) hide show
  1. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.bumpversion.cfg +1 -1
  2. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.cookiecutterrc +2 -2
  3. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/CHANGELOG.rst +10 -4
  4. {emtl-0.1.4.dev1/src/emtl.egg-info → emtl-0.1.5.dev1}/PKG-INFO +11 -5
  5. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/README.rst +2 -2
  6. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/conf.py +2 -2
  7. emtl-0.1.5.dev1/docs/requirements.txt +1 -0
  8. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/usage.rst +2 -0
  9. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/setup.py +1 -1
  10. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/__init__.py +1 -1
  11. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/_version.py +2 -2
  12. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/core.py +6 -4
  13. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1/src/emtl.egg-info}/PKG-INFO +11 -5
  14. emtl-0.1.4.dev1/docs/requirements.txt +0 -2
  15. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.coveragerc +0 -0
  16. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.editorconfig +0 -0
  17. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.github/workflows/document.yml +0 -0
  18. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.github/workflows/github-actions.yml +0 -0
  19. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.gitignore +0 -0
  20. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.pre-commit-config.yaml +0 -0
  21. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/.readthedocs.yml +0 -0
  22. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/AUTHORS.rst +0 -0
  23. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/CONTRIBUTING.rst +0 -0
  24. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/LICENSE +0 -0
  25. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/bootstrap.py +0 -0
  26. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/requirements.txt +0 -0
  27. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/ci/templates/.github/workflows/github-actions.yml +0 -0
  28. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/authors.rst +0 -0
  29. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/changelog.rst +0 -0
  30. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/contributing.rst +0 -0
  31. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/index.rst +0 -0
  32. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/installation.rst +0 -0
  33. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/readme.rst +0 -0
  34. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/reference/emtl.rst +0 -0
  35. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/reference/index.rst +0 -0
  36. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/docs/spelling_wordlist.txt +0 -0
  37. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/pyproject.toml +0 -0
  38. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/pytest.ini +0 -0
  39. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/setup.cfg +0 -0
  40. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/__main__.py +0 -0
  41. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/cli.py +0 -0
  42. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/const.py +0 -0
  43. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/__init__.py +0 -0
  44. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/test_cli.py +0 -0
  45. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/tests/test_core.py +0 -0
  46. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl/utils.py +0 -0
  47. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/SOURCES.txt +0 -0
  48. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/dependency_links.txt +0 -0
  49. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/entry_points.txt +0 -0
  50. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/not-zip-safe +0 -0
  51. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/requires.txt +0 -0
  52. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/src/emtl.egg-info/top_level.txt +0 -0
  53. {emtl-0.1.4.dev1 → emtl-0.1.5.dev1}/tox.ini +0 -0
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.1.3
2
+ current_version = 0.1.4
3
3
  commit = True
4
4
  tag = True
5
5
 
@@ -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: "furo"
54
+ sphinx_theme: "alabaster"
55
55
  test_matrix_separate_coverage: "yes"
56
56
  tests_inside_package: "yes"
57
- version: "0.1.2"
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
- 0.1.2 (2024-04-18)
5
+
6
+ 0.1.0 (2024-04-14)
6
7
  ------------------
7
8
 
8
- * add login && add asset position
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.0 (2024-04-14)
16
+ 0.1.2 (2024-04-18)
16
17
  ------------------
17
18
 
18
- * First release on PyPI.
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.4.dev1
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
- 0.1.2 (2024-04-18)
87
+
88
+ 0.1.0 (2024-04-14)
88
89
  ------------------
89
90
 
90
- * add login && add asset position
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.0 (2024-04-14)
98
+ 0.1.2 (2024-04-18)
98
99
  ------------------
99
100
 
100
- * First release on PyPI.
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.3.svg
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.3...master
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.3"
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 = "furo"
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
@@ -8,3 +8,5 @@ To use the project:
8
8
 
9
9
  import emtl
10
10
  emtl.emt(...)
11
+ emtl.login(...)
12
+ emtl.query_asset_and_position(...)
@@ -16,7 +16,7 @@ setup(
16
16
  use_scm_version={
17
17
  "local_scheme": "dirty-tag",
18
18
  "write_to": "src/emtl/_version.py",
19
- "fallback_version": "0.1.3",
19
+ "fallback_version": "0.1.4",
20
20
  },
21
21
  license="MIT",
22
22
  description="东方财富自动交易系统",
@@ -1,4 +1,4 @@
1
- __version__ = "0.1.3"
1
+ __version__ = "0.1.4"
2
2
 
3
3
  from .core import emt
4
4
  from .core import login
@@ -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.4.dev1'
16
- __version_tuple__ = version_tuple = (0, 1, 4, 'dev1')
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
- """Login.
98
- :param username: 用户名
99
- :param password: 密码(明文)
100
- :param duration: 在线时长(分钟)
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.4.dev1
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
- 0.1.2 (2024-04-18)
87
+
88
+ 0.1.0 (2024-04-14)
88
89
  ------------------
89
90
 
90
- * add login && add asset position
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.0 (2024-04-14)
98
+ 0.1.2 (2024-04-18)
98
99
  ------------------
99
100
 
100
- * First release on PyPI.
101
+ * add login && add asset position
102
+
103
+ 0.1.3 (2024-04-19)
104
+ ------------------
105
+
106
+ * update docs theme
101
107
 
102
108
 
@@ -1,2 +0,0 @@
1
- sphinx>=1.3
2
- furo
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