TimeFeatures 1.0.13__tar.gz → 1.0.15__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 (18) hide show
  1. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/PKG-INFO +1 -1
  2. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/TimeFeatures.egg-info/PKG-INFO +1 -1
  3. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/setup.py +6 -7
  4. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/owsavetodb.py +6 -28
  5. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/owtimefeaturesconstructor.py +1 -3
  6. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/LICENSE +0 -0
  7. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/README.md +0 -0
  8. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/TimeFeatures.egg-info/SOURCES.txt +0 -0
  9. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/TimeFeatures.egg-info/dependency_links.txt +0 -0
  10. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/TimeFeatures.egg-info/entry_points.txt +0 -0
  11. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/TimeFeatures.egg-info/top_level.txt +0 -0
  12. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/setup.cfg +0 -0
  13. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/__init__.py +0 -0
  14. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/icons/graphgenerator.svg +0 -0
  15. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/icons/savedatadb.svg +0 -0
  16. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/icons/timefeature-xs.svg +0 -0
  17. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/icons/timefeature.svg +0 -0
  18. {TimeFeatures-1.0.13 → TimeFeatures-1.0.15}/timefeatures/widgets/owvardependencygraph.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TimeFeatures
3
- Version: 1.0.13
3
+ Version: 1.0.15
4
4
  Summary: Timefeatures add-on for Orange 3 data mining software.
5
5
  Home-page: https://github.com/alervgr/Orange-TimeFeatures
6
6
  Author: Alejandro Rivas García
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TimeFeatures
3
- Version: 1.0.13
3
+ Version: 1.0.15
4
4
  Summary: Timefeatures add-on for Orange 3 data mining software.
5
5
  Home-page: https://github.com/alervgr/Orange-TimeFeatures
6
6
  Author: Alejandro Rivas García
@@ -2,8 +2,7 @@ from setuptools import setup
2
2
 
3
3
  with open('README.md', 'r', encoding='utf-8') as f:
4
4
  ABOUT = f.read()
5
-
6
-
5
+
7
6
  CLASSIFIERS = [
8
7
  'Development Status :: 4 - Beta',
9
8
  'Environment :: Plugins',
@@ -14,19 +13,19 @@ CLASSIFIERS = [
14
13
  'Intended Audience :: Education',
15
14
  'Intended Audience :: Science/Research',
16
15
  'Intended Audience :: Developers',
17
- ]
18
-
16
+ ]
19
17
 
20
18
  setup(name="TimeFeatures",
21
19
  packages=["timefeatures.widgets"],
22
20
  package_data={"timefeatures.widgets": ["icons/*.svg", "icons/*.png"]},
23
21
  entry_points={"orange.widgets": "Time-Features = timefeatures.widgets"},
24
- version="1.0.13",
22
+ version="1.0.15",
25
23
  author="Alejandro Rivas García",
26
24
  author_email="alejandrorivasgarcia@gmail.com",
27
25
  keywords=[
28
- 'orange3 add-on','timefeatures','graph','time series','data mining','graph visualization','orange','addon', 'synthetic data'
29
- ],
26
+ 'orange3 add-on', 'timefeatures', 'graph', 'time series', 'data mining', 'graph visualization', 'orange',
27
+ 'addon', 'synthetic data'
28
+ ],
30
29
  url="https://github.com/alervgr/Orange-TimeFeatures",
31
30
  license="GPL3+",
32
31
  long_description=ABOUT,
@@ -1,13 +1,11 @@
1
1
  import Orange
2
- from AnyQt.QtWidgets import QComboBox, QTextEdit, QMessageBox, QApplication
3
- from AnyQt.QtGui import QCursor
2
+ from AnyQt.QtWidgets import QComboBox
4
3
  from AnyQt.QtCore import Qt
5
4
  from datetime import datetime
6
5
 
7
6
  from Orange.data import Table
8
7
  from Orange.data.sql.backend import Backend
9
8
  from Orange.data.sql.backend.base import BackendError
10
- from Orange.data.sql.table import SqlTable, LARGE_TABLE, AUTO_DL_LIMIT
11
9
  from Orange.widgets import gui
12
10
  from Orange.widgets.settings import Setting
13
11
  from Orange.widgets.utils.itemmodels import PyListModel
@@ -15,7 +13,6 @@ from Orange.widgets.utils.owbasesql import OWBaseSql
15
13
  from Orange.widgets.utils.sql import check_sql_input
16
14
  from Orange.widgets.utils.widgetpreview import WidgetPreview
17
15
  from Orange.widgets.widget import Msg, OWWidget
18
- from PyQt5.QtGui import QPixmap, QStandardItem
19
16
  from PyQt5.QtWidgets import QGridLayout, QLineEdit, QPushButton, QSizePolicy, QLabel
20
17
  from orangewidget.utils.signals import Input
21
18
 
@@ -32,14 +29,6 @@ def is_postgres(backend):
32
29
  return getattr(backend, 'display_name', '') == "PostgreSQL"
33
30
 
34
31
 
35
- class TableModel(PyListModel):
36
- def data(self, index, role=Qt.DisplayRole):
37
- row = index.row()
38
- if role == Qt.DisplayRole:
39
- return str(self[row])
40
- return super().data(index, role)
41
-
42
-
43
32
  class BackendModel(PyListModel):
44
33
  def data(self, index, role=Qt.DisplayRole):
45
34
  row = index.row()
@@ -62,20 +51,9 @@ class owsavetodb(OWBaseSql, OWWidget):
62
51
  pass
63
52
 
64
53
  settings_version = 2
65
-
66
54
  buttons_area_orientation = None
67
-
68
55
  selected_backend = Setting(None)
69
- table = Setting(None)
70
56
  sql = Setting("")
71
- guess_values = Setting(True)
72
- download = Setting(False)
73
-
74
- materialize = Setting(False)
75
- materialize_table_name = Setting("")
76
-
77
- class Information(OWBaseSql.Information):
78
- data_sampled = Msg("Data description was generated from a sample.")
79
57
 
80
58
  class Warning(OWBaseSql.Warning):
81
59
  missing_extension = Msg("Database is missing extensions: {}")
@@ -265,7 +243,7 @@ class owsavetodb(OWBaseSql, OWWidget):
265
243
 
266
244
  def send_mail(self, mail, time_elapsed):
267
245
 
268
- # Configuración de la connexión
246
+ # Configuración de la conexión
269
247
  sender = 'savetodbodm@gmail.com'
270
248
  password = 'arnj lakd lyol rakg'
271
249
  server = 'smtp.gmail.com'
@@ -274,7 +252,7 @@ class owsavetodb(OWBaseSql, OWWidget):
274
252
  # Configuración del destinatario
275
253
  to = mail
276
254
 
277
- # configuración de las cabeceras y del mensaje
255
+ # Configuración de las cabeceras y del mensaje
278
256
  message = MIMEMultipart("alternative")
279
257
 
280
258
  current_datetime = datetime.now()
@@ -301,13 +279,13 @@ class owsavetodb(OWBaseSql, OWWidget):
301
279
  <li>Table name: {str(self.tableName.text())}.</li>
302
280
  <li>{str(self.rows_label.text())}.</li>
303
281
  <li>{str(self.cols_label.text())}.</li>
304
- <li>Class name: {str(class_name)}</li>
282
+ <li>Class name: {str(class_name)}.</li>
305
283
  <li>{str(self.target_label.text())}.</li>
306
284
  </ul>
307
285
  <p>-Connection information:</p>
308
286
  <ul>
309
- <li>Server name: {str(self.servertext.text())}</li>
310
- <li>Database name: {str(self.databasetext.text())}</li>
287
+ <li>Server: {str(self.servertext.text())}.</li>
288
+ <li>Database name: {str(self.databasetext.text())}.</li>
311
289
  <li>Time Elapsed: {str(time_elapsed)}s.</li>
312
290
  </ul>
313
291
  </body>
@@ -147,7 +147,7 @@ def modificar_expression(expression):
147
147
  mean_value1 = match.group(2)
148
148
  mean_value2 = match.group(3)
149
149
 
150
- new_mean = f'mean{match_counter_sum}({variable_name},{mean_value1},{mean_value2})'
150
+ new_mean = f'mean{match_counter_mean}({variable_name},{mean_value1},{mean_value2})'
151
151
 
152
152
  modified_expression = modified_expression.replace(match.group(0), new_mean, 1)
153
153
 
@@ -846,8 +846,6 @@ class owtimefeaturesconstructor(OWWidget, ConcurrentWidgetMixin):
846
846
  transform_error = Msg("{}")
847
847
 
848
848
  class Warning(OWWidget.Warning):
849
- renamed_var = Msg("Recently added variable has been renamed, "
850
- "to avoid duplicates.\n")
851
849
  table_warning = Msg("You need a configuration table (Variable-Expression).")
852
850
 
853
851
  def __init__(self):
File without changes
File without changes
File without changes