shareddata 3.9.5__tar.gz → 3.9.7__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 (35) hide show
  1. {shareddata-3.9.5/src/shareddata.egg-info → shareddata-3.9.7}/PKG-INFO +1 -1
  2. {shareddata-3.9.5 → shareddata-3.9.7}/setup.cfg +1 -1
  3. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/Schedule.py +4 -4
  4. {shareddata-3.9.5 → shareddata-3.9.7/src/shareddata.egg-info}/PKG-INFO +1 -1
  5. {shareddata-3.9.5 → shareddata-3.9.7}/LICENSE +0 -0
  6. {shareddata-3.9.5 → shareddata-3.9.7}/README.md +0 -0
  7. {shareddata-3.9.5 → shareddata-3.9.7}/pyproject.toml +0 -0
  8. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/AWSKinesis.py +0 -0
  9. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/AWSS3.py +0 -0
  10. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/DataFrame.py +0 -0
  11. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Defaults.py +0 -0
  12. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Logger.py +0 -0
  13. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Metadata.py +0 -0
  14. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/MultiProc.py +0 -0
  15. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/RealTime.py +0 -0
  16. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/ReadLogs.py +0 -0
  17. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/Scheduler.py +0 -0
  18. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/SendCommand.py +0 -0
  19. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/Server.py +0 -0
  20. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/Worker.py +0 -0
  21. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/WorkerLib.py +0 -0
  22. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Routines/__init__.py +0 -0
  23. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/SharedData.py +0 -0
  24. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/SharedNumpy.py +0 -0
  25. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Table.py +0 -0
  26. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/TableIndex.py +0 -0
  27. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/TableIndexJit.py +0 -0
  28. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/TimeSeries.py +0 -0
  29. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/TimeseriesContainer.py +0 -0
  30. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/Utils.py +0 -0
  31. {shareddata-3.9.5 → shareddata-3.9.7}/src/SharedData/__init__.py +0 -0
  32. {shareddata-3.9.5 → shareddata-3.9.7}/src/shareddata.egg-info/SOURCES.txt +0 -0
  33. {shareddata-3.9.5 → shareddata-3.9.7}/src/shareddata.egg-info/dependency_links.txt +0 -0
  34. {shareddata-3.9.5 → shareddata-3.9.7}/src/shareddata.egg-info/requires.txt +0 -0
  35. {shareddata-3.9.5 → shareddata-3.9.7}/src/shareddata.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shareddata
3
- Version: 3.9.5
3
+ Version: 3.9.7
4
4
  Summary: Shared Memory Database with S3 repository
5
5
  Home-page: https://github.com/jcarlitooliveira/SharedData
6
6
  Author: Jose Carlito de Oliveira Filho
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = shareddata
3
- version = 3.9.5
3
+ version = 3.9.7
4
4
  author = Jose Carlito de Oliveira Filho
5
5
  author_email = jcarlitooliveira@gmail.com
6
6
  description = Shared Memory Database with S3 repository
@@ -172,7 +172,7 @@ class Schedule:
172
172
  if idx.any():
173
173
  ids = idx[::-1].idxmax()
174
174
  sched.loc[ids, 'status'] = 'ERROR'
175
- idx = sched.loc[idx, 'status'] == 'nan'
175
+ idx = (sched.loc[idx, 'status'] == 'nan') | (sched.loc[idx, 'status'].isnull())
176
176
  idx = idx.index[idx]
177
177
  sched.loc[idx, 'status'] = 'EXPIRED'
178
178
 
@@ -187,14 +187,14 @@ class Schedule:
187
187
  if idx.any():
188
188
  ids = idx[::-1].idxmax()
189
189
  sched.loc[ids, 'status'] = 'COMPLETED'
190
- idx = sched.loc[idx, 'status'] == 'nan'
190
+ idx = (sched.loc[idx, 'status'] == 'nan') | (sched.loc[idx, 'status'].isnull())
191
191
  idx = idx.index[idx]
192
192
  sched.loc[idx, 'status'] = 'EXPIRED'
193
193
 
194
194
  # PENDING ROUTINES
195
195
  idx = now >= sched['runtimes']
196
- idx = (idx) & ((sched['status'] == 'nan') | (sched['isrealtime'])
197
- | (sched['status'] == 'WAITING DEPENDENCIES'))
196
+ idx = (idx) & ((sched['status'] == 'nan') | (sched['status'].isnull()) |(sched['isrealtime']))
197
+ idx = (idx) | (sched['status'] == 'WAITING DEPENDENCIES')
198
198
  dfpending = sched[idx]
199
199
 
200
200
  # EXPIRED ROUTINES
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shareddata
3
- Version: 3.9.5
3
+ Version: 3.9.7
4
4
  Summary: Shared Memory Database with S3 repository
5
5
  Home-page: https://github.com/jcarlitooliveira/SharedData
6
6
  Author: Jose Carlito de Oliveira Filho
File without changes
File without changes
File without changes