Skip to content

Commit

Permalink
Merge pull request #29 from soda480/0.3.1
Browse files Browse the repository at this point in the history
Update reference to mpmq
  • Loading branch information
soda480 authored Apr 4, 2021
2 parents 22a26d0 + 151ce92 commit 761466e
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 785 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ The main features are:

Refer to documentation here: https://soda480.github.io/mpcurses/

Mpcurses is a subclass of `mpmq`, see [mpmq](https://pypi.org/project/mpmq/) for more information.

### Installation ###
```bash
pip install mpcurses
Expand Down
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
authors = [Author('Emilio Reyes', 'emilio.reyes@intel.com')]
summary = 'Mpcurses is an abstraction of the Python curses and multiprocessing libraries providing function execution and runtime visualization capabilities'
url = 'https://github.com/soda480/mpcurses'
version = '0.3.0'
version = '0.3.1'
default_task = [
'clean',
'analyze',
Expand Down Expand Up @@ -71,6 +71,6 @@ def set_properties(project):
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
'Topic :: System :: Systems Administration'])
project.set_property('radon_break_build_average_complexity_threshold', 3.6)
project.set_property('radon_break_build_average_complexity_threshold', 4)
project.set_property('radon_break_build_complexity_threshold', 14)
project.set_property('bandit_break_build', True)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mpmq
3 changes: 0 additions & 3 deletions src/main/python/mpcurses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.


from .handler import queue_handler
from .mpcurses import MPcurses
from .mpcontroller import MPcontroller
90 changes: 0 additions & 90 deletions src/main/python/mpcurses/handler.py

This file was deleted.

224 changes: 0 additions & 224 deletions src/main/python/mpcurses/mpcontroller.py

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/python/mpcurses/mpcurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
from .screen import update_screen_status
from .screen import blink

from .mpcontroller import MPcontroller
from .mpcontroller import NoActiveProcesses
from mpmq import MPmq
from mpmq.mpmq import NoActiveProcesses

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -69,8 +69,8 @@ def pop(self, *args):
return value


class MPcurses(MPcontroller):
""" a subclass of mpcurses.MPcontroller providing multi-processing (MP) capabilities for a curses screen
class MPcurses(MPmq):
""" a subclass of MPmq providing multi-processing (MP) capabilities for a curses screen
"""
def __init__(self, *args, **kwargs):
""" MPcurses constructor
Expand Down
Loading

0 comments on commit 761466e

Please sign in to comment.