Commit graph

111 commits

Author SHA1 Message Date
cimatosa
9d42345970 test working again, removed const_arg check for dict -> don't know why I implemented it in the first place 2015-01-14 11:13:37 +01:00
Paul Müller
2eb06686ab better solution for max_count_value == 0 2015-01-13 19:35:02 +01:00
Paul Müller
4e711d4336 Fixed zero division error if max_count_value is zero. 2015-01-13 19:29:15 +01:00
cimatosa
fc7993d589 examine interchangeability of dict and namedtuple 2015-01-13 17:49:24 +01:00
cimatosa
638f487bc3 fixed PersistentData_Server, seems to work now 2015-01-13 17:47:57 +01:00
cimatosa
3d7ba46369 named special escape sequences in global variables, return bold identifier by default 2015-01-13 17:47:17 +01:00
cimatosa
370dc11c7a added doc string (or rather a note about dics as sqlitedict blob keys) 2015-01-13 17:45:47 +01:00
cimatosa
d0650108d4 start server with no jobs will NOT raise en Exception anymore -> simply show note, modified allignment of JobmanagerServer.show_statistics 2015-01-13 17:44:51 +01:00
cimatosa
c1704a8b6e made is possible to pass args and const_args as namedtuple to Integration_Clients, updated doc strings, modified kwargs update order, so args will overwrite const_args 2015-01-13 17:43:04 +01:00
cimatosa
51e8483b57 extending the PersistentData_Server, and some testing 2015-01-12 17:02:49 +01:00
cimatosa
149fc38b26 added __contain__ to PersistentDataStructure 2015-01-12 17:01:40 +01:00
cimatosa
9fbcf64d13 use new PersitentDataStructure class in PersistentData_Server, which will simple store all new gathered data in a sqlitedict, using 'arg' as key, and 'result' as value 2015-01-12 15:00:45 +01:00
cimatosa
4a5738620e see how sqlitedict manages to write and read from same db using different processes 2015-01-12 14:58:57 +01:00
cimatosa
53ab312243 added example using FunctionCall_Client, which enabled to pass the function to call in parallel via const_arg of the jobmanagerServer 2015-01-07 15:02:08 +01:00
cimatosa
9653bdca06 minor changed: PREPEND local path to sys.path in examples, removed some debug info 2015-01-07 15:01:00 +01:00
cimatosa
9efffd943b set default verbose = 1 2015-01-07 14:59:28 +01:00
cimatosa
879d89d36d persistentData seems to work, including some testing 2015-01-07 14:23:55 +01:00
Paul Müller
94f2149716 simple example fix
ALWAYS USE `WITH` STATEMENT FOR SERVER.
2015-01-06 19:59:20 +01:00
cimatosa
bcad5d53d4 working on persistentData, seems to work now on first glance, including some tests 2015-01-06 19:11:02 +01:00
cimatosa
b104c46e83 removed call_back in integration_client (was bad idea because of the shared memory), added persistent data structure classes using sqlitedict in a directory manner to achieve tree like structures (will be used to implement a persistent data client), some minor changes 2015-01-06 17:51:27 +01:00
Paul Müller
7fec46fd13 added readme 2015-01-06 17:19:28 +01:00
Paul Müller
44c2917d3a Merge pull request #9 from cimatosa/pypi-setup-files
Added verbose messages.
2015-01-06 17:14:26 +01:00
Richard Hartmann
1e6e5ae0fb Merge pull request #7 from cimatosa/pypi-setup-files
Pypi setup files
2015-01-06 17:06:05 +01:00
Paul Müller
62036022b4 Added verbose messages. 2015-01-06 12:52:46 +01:00
Paul Müller
5a4a3c0798 minor change 2014-12-29 21:41:02 +01:00
Paul Müller
b858de51a3 doc 2014-12-29 15:32:13 +01:00
Paul Müller
52c1672c8f allowing nested wrapped functions 2014-12-29 15:03:28 +01:00
Paul Müller
78d3df0e72 Added module ProgressBar wrapper. 2014-12-29 14:20:25 +01:00
Paul Müller
0a7e850963 - improved support ofr wrapped functions:
- counter arguments are automatically found
  - support for different or user-defined counter arguments
- more examples
2014-12-29 13:23:16 +01:00
Paul Müller
d84bfc95c0 cleanup test functions and example 2014-12-29 11:42:52 +01:00
Paul Müller
48fecabc21 Moved testing scripts to separate directory. 2014-12-28 13:29:21 +01:00
Paul Müller
6805b0cc62 all test scripts now use the repository jobmanager (not the pip-installed) - realized with sys.path variable 2014-12-28 13:16:18 +01:00
Paul Müller
e6369af50e test_clients.py now works with python2 and new repo structure 2014-12-28 13:06:11 +01:00
Paul Müller
1da1e36dc5 simple decorator for single method. 2014-12-27 02:21:18 +01:00
Paul Müller
14cf4ffd2d problem with python3 relative import 2014-12-26 18:37:58 +01:00
Paul Müller
b4ac929b31 These are the promised setup files. 2014-12-22 20:16:22 +01:00
Paul Müller
c16d7a13a5 correct version number and included examples in pypi package 2014-12-22 20:14:46 +01:00
Paul Müller
e6d00038ad verbose = 1 reduces verbosity and does not confuse user. 2014-12-22 19:43:27 +01:00
Paul Müller
81e30ff5c4 - fixed bug "pbc not defined"
- finished setup files
2014-12-22 19:40:47 +01:00
Paul Müller
03ea0fee66 Added usage/testing information. 2014-12-22 18:56:36 +01:00
Paul Müller
bc2e40992b working pypi setup files. 2014-12-22 18:39:55 +01:00
cimatosa
0f87e08990 testing the new functionality -> no unit test so far\! 2014-12-17 16:06:13 +01:00
cimatosa
3ba7480485 added pause functionality for loop, and an information querry via sigint for jobmanager_client 2014-12-17 16:05:33 +01:00
Richard Hartmann
2430037421 NOW really fixed the statistics (maybe) 2014-12-04 19:43:37 -02:00
Richard Hartmann
0bf3801289 fixed error in FuntionCall_Client -> must not pop 'f' away 2014-12-04 19:42:49 -02:00
Richard Hartmann
1c2b744918 fixed bug in jobmanager show_statistics 2014-12-04 17:48:23 -02:00
Richard Hartmann
b1359caa99 added Client, that get the function to call from the const_args 2014-12-04 17:43:38 -02:00
Richard Hartmann
3fe3afd428 just like clients.py, this file should have some preconfigured servers. Added sqldict behavior to store data 2014-12-04 17:39:07 -02:00
Richard Hartmann
33bc591adc added some debug information for unhashable dicts 2014-12-04 17:37:57 -02:00
Richard Hartmann
d7efd4022a fill rest of the line in progressCounter with space characers 2014-12-03 15:53:50 -02:00