analyser_hj3415 2.9.1__tar.gz → 2.9.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/.DS_Store +0 -0
  2. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/PKG-INFO +2 -4
  3. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/.DS_Store +0 -0
  4. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/tsa.py +3 -0
  5. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/pyproject.toml +15 -9
  6. analyser_hj3415-2.9.1/.gitattributes +0 -2
  7. analyser_hj3415-2.9.1/.gitignore +0 -3
  8. analyser_hj3415-2.9.1/.idea/.gitignore +0 -3
  9. analyser_hj3415-2.9.1/.idea/analyser-hj3415.iml +0 -10
  10. analyser_hj3415-2.9.1/.idea/inspectionProfiles/profiles_settings.xml +0 -7
  11. analyser_hj3415-2.9.1/.idea/misc.xml +0 -7
  12. analyser_hj3415-2.9.1/.idea/modules.xml +0 -8
  13. analyser_hj3415-2.9.1/.idea/vcs.xml +0 -6
  14. analyser_hj3415-2.9.1/LICENSE +0 -21
  15. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/README.md +0 -0
  16. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/__init__.py +0 -0
  17. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/cli.py +0 -0
  18. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/eval.py +0 -0
  19. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/workroom/__init__.py +0 -0
  20. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/workroom/mysklearn.py +0 -0
  21. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/workroom/mysklearn2.py +0 -0
  22. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/workroom/score.py +0 -0
  23. {analyser_hj3415-2.9.1 → analyser_hj3415-2.9.3}/analyser_hj3415/workroom/trash.py +0 -0
@@ -1,10 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: analyser_hj3415
3
- Version: 2.9.1
3
+ Version: 2.9.3
4
4
  Summary: Stock analyser and database processing programs
5
- Author-email: Hyungjin Kim <hj3415@gmail.com>
5
+ Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
7
- Classifier: License :: OSI Approved :: MIT License
8
7
  Requires-Dist: utils-hj3415>=2.9.2
9
8
  Requires-Dist: db-hj3415>=4.0.3
10
9
  Requires-Dist: scikit-learn>=1.5.2
@@ -13,7 +12,6 @@ Requires-Dist: yfinance>=0.2.44
13
12
  Requires-Dist: prophet>=1.1.6
14
13
  Requires-Dist: kaleido>=0.2.1
15
14
  Requires-Dist: matplotlib>=3.9.2
16
- Project-URL: Home, https://www.hyungjin.kr
17
15
 
18
16
  ### analyser-hj3415
19
17
 
@@ -93,6 +93,9 @@ class MyProphet:
93
93
  df = self.raw_data[['Close', 'Volume']].reset_index()
94
94
  df.columns = ['ds', 'y', 'volume'] # Prophet의 형식에 맞게 열 이름 변경
95
95
 
96
+ # ds 열에서 타임존 제거
97
+ df['ds'] = df['ds'].dt.tz_localize(None)
98
+
96
99
  # 추가 변수를 정규화
97
100
  df['volume_scaled'] = self.scaler.fit_transform(df[['volume']])
98
101
  return df
@@ -1,15 +1,24 @@
1
1
  [build-system]
2
- requires = ["flit_core >=3.2,<4"]
2
+ # 3.4 이상이어야 pip install -e 가 가능하다
3
+ requires = ["flit_core >=3.7"]
3
4
  build-backend = "flit_core.buildapi"
4
5
 
5
6
  [project]
6
7
  name = "analyser_hj3415"
7
- version = "2.9.1"
8
- authors = [{name = "Hyungjin Kim", email = "hj3415@gmail.com"}]
8
+ version = "2.9.3"
9
9
  description = "Stock analyser and database processing programs"
10
10
  readme = "README.md"
11
- license = {file = "LICENSE"}
12
- classifiers = ["License :: OSI Approved :: MIT License"]
11
+ requires-python = ">=3.6"
12
+ #license = {text = "MIT"}
13
+ #authors = [
14
+ # {name = "Hyungjin Kim", email = "hj3415@gmail.com"}
15
+ #]
16
+ #keywords = ["keyword1", "keyword2", "keyword3"]
17
+ #classifiers = [
18
+ # "Programming Language :: Python :: 3",
19
+ # "License :: OSI Approved :: MIT License",
20
+ # "Operating System :: OS Independent"
21
+ #]
13
22
  dependencies = [
14
23
  "utils-hj3415>=2.9.2",
15
24
  "db-hj3415>=4.0.3",
@@ -24,11 +33,8 @@ dependencies = [
24
33
  [project.scripts]
25
34
  analyser = "analyser_hj3415.cli:analyser_manager"
26
35
 
27
- [project.urls]
28
- Home = "https://www.hyungjin.kr"
29
-
30
36
  [tool.flit.sdist]
31
37
  exclude = [
32
38
  'tests/',
33
39
  'analyser_hj3415/settings.json'
34
- ]
40
+ ]
@@ -1,2 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
@@ -1,3 +0,0 @@
1
-
2
- .DS_Store
3
- /dist/
@@ -1,3 +0,0 @@
1
- # 디폴트 무시된 파일
2
- /shelf/
3
- /workspace.xml
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="PYTHON_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.venv" />
6
- </content>
7
- <orderEntry type="jdk" jdkName="Python 3.12 (venv)" jdkType="Python SDK" />
8
- <orderEntry type="sourceFolder" forTests="false" />
9
- </component>
10
- </module>
@@ -1,7 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <settings>
3
- <option name="PROJECT_PROFILE" value="Default" />
4
- <option name="USE_PROJECT_PROFILE" value="false" />
5
- <version value="1.0" />
6
- </settings>
7
- </component>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Black">
4
- <option name="sdkName" value="Python 3.11 (analyser-hj3415)" />
5
- </component>
6
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (venv)" project-jdk-type="Python SDK" />
7
- </project>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/analyser-hj3415.iml" filepath="$PROJECT_DIR$/.idea/analyser-hj3415.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2024 Hyungjin Kim
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.