Metadata-Version: 2.1
Name: mult
Version: 1.0.0
Summary: Parallel Computing Tools
Home-page: https://github.co.jp/
Author: bib_inf
Author-email: contact.bibinf@gmail.com
License: CC0 v1.0
Description: 
        Parallel Computing Tools
        (This is a tool to achieve clear and safe management of memory and other resources by separating parallel computations in units of files.)
        
        並列計算ツール
        (ファイルの単位で並列計算を実施することで、メモリ等の管理を明快かつ安全に実現するツールです。)
        
        This description is under construction.
        
        ## マスター側
        ```python
        from mult import master
        
        input_ls = [i for i in range(10)]
        output_ls = master.call(
        	"path_to_slave/slave.py",	# スレーブファイル名
        	input_ls,	# 入力のリスト (ジョブごと)
        	n = 4,	# 並列数
        	job_order = "ordered",	# ジョブ実行順序 (random, ordered)
        	progress = True	# 進捗表示
        )
        print(output_ls)	# 結果の確認
        ```
        
        ## スレーブ側 (slave.py)
        ```python
        import time, random
        from mult import slave
        
        # 実行したい処理
        def heavy_process(num):
        	time.sleep(random.random()*3)
        	return 2**num
        
        num = slave.get_input()
        result = heavy_process(num)
        slave.send_output(result)
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Description-Content-Type: text/markdown
