├── .github └── workflows │ └── run-tests.yml ├── .gitignore ├── README.md ├── dcp ├── __init__.py ├── api │ ├── __init__.py │ ├── add_slices.py │ ├── compute_do.py │ ├── compute_for.py │ ├── fetch_results.py │ ├── job.py │ ├── job_env.py │ ├── job_fs.py │ ├── job_modules.py │ ├── job_serializers.py │ ├── pyodide_work_function.py │ └── result_handle.py ├── dry │ ├── __init__.py │ ├── aio.py │ ├── class_manager.py │ └── class_registry.py ├── initialization.py ├── js │ ├── __init__.py │ ├── load_dcp_client.py │ ├── package.json │ └── utils.py └── resources │ ├── __init__.py │ └── pyodide-lock.json ├── examples ├── async-simple-job-deploy.py ├── job-args.py ├── map-basic-job-deploy.py ├── numpy-matrix.py ├── open-jobs-job-deploy.py └── simple-job-deploy.py ├── post-install-hook.py ├── pyproject.toml └── tests ├── __init__.py ├── loop.sh ├── test_api ├── test_compute_for.py ├── test_job.py ├── test_job_fs.py ├── test_job_serializers.py ├── test_misc_api_existence.py └── test_wallet.py ├── test_init.py └── test_js_wrappers ├── __init__.py ├── test_class_registry.py ├── test_js_object.py └── test_wrapping_on_proxy.py /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/README.md -------------------------------------------------------------------------------- /dcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/__init__.py -------------------------------------------------------------------------------- /dcp/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/__init__.py -------------------------------------------------------------------------------- /dcp/api/add_slices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/add_slices.py -------------------------------------------------------------------------------- /dcp/api/compute_do.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/compute_do.py -------------------------------------------------------------------------------- /dcp/api/compute_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/compute_for.py -------------------------------------------------------------------------------- /dcp/api/fetch_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/fetch_results.py -------------------------------------------------------------------------------- /dcp/api/job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/job.py -------------------------------------------------------------------------------- /dcp/api/job_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/job_env.py -------------------------------------------------------------------------------- /dcp/api/job_fs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/job_fs.py -------------------------------------------------------------------------------- /dcp/api/job_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/job_modules.py -------------------------------------------------------------------------------- /dcp/api/job_serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/job_serializers.py -------------------------------------------------------------------------------- /dcp/api/pyodide_work_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/pyodide_work_function.py -------------------------------------------------------------------------------- /dcp/api/result_handle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/api/result_handle.py -------------------------------------------------------------------------------- /dcp/dry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/dry/__init__.py -------------------------------------------------------------------------------- /dcp/dry/aio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/dry/aio.py -------------------------------------------------------------------------------- /dcp/dry/class_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/dry/class_manager.py -------------------------------------------------------------------------------- /dcp/dry/class_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/dry/class_registry.py -------------------------------------------------------------------------------- /dcp/initialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/initialization.py -------------------------------------------------------------------------------- /dcp/js/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/js/__init__.py -------------------------------------------------------------------------------- /dcp/js/load_dcp_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/js/load_dcp_client.py -------------------------------------------------------------------------------- /dcp/js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/js/package.json -------------------------------------------------------------------------------- /dcp/js/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/js/utils.py -------------------------------------------------------------------------------- /dcp/resources/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/resources/__init__.py -------------------------------------------------------------------------------- /dcp/resources/pyodide-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/dcp/resources/pyodide-lock.json -------------------------------------------------------------------------------- /examples/async-simple-job-deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/async-simple-job-deploy.py -------------------------------------------------------------------------------- /examples/job-args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/job-args.py -------------------------------------------------------------------------------- /examples/map-basic-job-deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/map-basic-job-deploy.py -------------------------------------------------------------------------------- /examples/numpy-matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/numpy-matrix.py -------------------------------------------------------------------------------- /examples/open-jobs-job-deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/open-jobs-job-deploy.py -------------------------------------------------------------------------------- /examples/simple-job-deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/examples/simple-job-deploy.py -------------------------------------------------------------------------------- /post-install-hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/post-install-hook.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/loop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/loop.sh -------------------------------------------------------------------------------- /tests/test_api/test_compute_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_compute_for.py -------------------------------------------------------------------------------- /tests/test_api/test_job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_job.py -------------------------------------------------------------------------------- /tests/test_api/test_job_fs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_job_fs.py -------------------------------------------------------------------------------- /tests/test_api/test_job_serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_job_serializers.py -------------------------------------------------------------------------------- /tests/test_api/test_misc_api_existence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_misc_api_existence.py -------------------------------------------------------------------------------- /tests/test_api/test_wallet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_api/test_wallet.py -------------------------------------------------------------------------------- /tests/test_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_init.py -------------------------------------------------------------------------------- /tests/test_js_wrappers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_js_wrappers/test_class_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_js_wrappers/test_class_registry.py -------------------------------------------------------------------------------- /tests/test_js_wrappers/test_js_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_js_wrappers/test_js_object.py -------------------------------------------------------------------------------- /tests/test_js_wrappers/test_wrapping_on_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distributive-Network/bifrost2/HEAD/tests/test_js_wrappers/test_wrapping_on_proxy.py --------------------------------------------------------------------------------