Commit graph

122 commits

Author SHA1 Message Date
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
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
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
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