Commit graph

231 commits

Author SHA1 Message Date
Paul Müller
44e44971f7 Update README.md 2015-01-24 11:57:10 +01:00
cimatosa
f54eb0c447 some changed to make the test run with python2.7, and some more tests, still not done jet 2015-01-23 15:15:18 +01:00
cimatosa
643197eef7 fixed typo in jobmanager.py and added some debug info -> still neede because there is some touble with python2.7 and multiprocessing 2015-01-23 15:13:38 +01:00
cimatosa
01e589bd02 fixed bug in merge_arg_... when there is no 'args' at all, which is also valid as args beeing an empty tuple 2015-01-23 15:11:38 +01:00
cimatosa
7f3411b4ea some intermed state 2015-01-22 15:27:13 +01:00
Paul Müller
4a747ac9e6 moved script to new tests folder 2015-01-21 19:42:20 +01:00
Paul Müller
91395ac5d4 "python setup.py test" now works 2015-01-21 19:42:20 +01:00
Paul Müller
050a108e83 Update README.md 2015-01-21 19:14:11 +01:00
Paul Müller
065b00154e gitignore update 2015-01-21 19:06:00 +01:00
Paul Müller
5a0dc656a2 - added runtests.py (blob of pytest)
- html output with aha uses runtests.py
- renamed test directory
2015-01-21 19:06:00 +01:00
cimatosa
48831754f8 catch persistentData import Error when sqlitedict is not there 2015-01-21 15:03:46 +01:00
cimatosa
937617de75 minor changes to run the teste for the new_decorator branch using python2.7 and python3.4 2015-01-21 14:48:52 +01:00
cimatosa
913bf22be4 added test_servers.py 2015-01-21 14:31:45 +01:00
cimatosa
ce2ccfb41b better error message when the number of subprocesses spawned by the client in non positive, some comments in the code 2015-01-21 14:30:54 +01:00
cimatosa
3594d67c12 minor change to make python 3.4 compatible. Changed default behavior of progressBar decorator. The functions to be decorated NEEDS (c,m) in their definition. made it also possible to call the decorated functions with c or/and m as positional agruments. Added test for that, moved existing tests to test/test_decorators.py. This closes #11 2015-01-21 14:27:42 +01:00
cimatosa
0301665936 fixed some errors in PersistentDataStructur 2015-01-20 17:12:09 +01:00
cimatosa
6c78fc07cb Merge branch 'cima_working' 2015-01-19 17:50:38 +01:00
cimatosa
f9edd904c0 persistent Data can now assign other persistentDataStructures as values, testing for that included 2015-01-19 17:40:25 +01:00
Richard Hartmann
5b5e6eac9d made const_arg beeing copied from client (seems more robust), fixed some trouble with catching 'Addresse in use error' 2015-01-15 16:17:58 +01:00
cimatosa
ba967893f7 intermed work on const_arg copy vs shared, handling port used Error, some highlighting 2015-01-14 15:07:01 +01:00
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