ratio1 3.4.40__tar.gz → 3.4.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ratio1-3.4.40 → ratio1-3.4.41}/PKG-INFO +1 -1
- {ratio1-3.4.40 → ratio1-3.4.41}/pyproject.toml +1 -1
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/_ver.py +1 -1
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/generic_session.py +9 -1
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex02_part1_deploy_webapi.py +26 -19
- {ratio1-3.4.40 → ratio1-3.4.41}/.devcontainer/Dockerfile +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/.devcontainer/devcontainer.json +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/.gitattributes +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/.github/workflows/python-publish.yml +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/.gitignore +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/.vscode/launch.json +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/LICENSE +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/README.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/TODOs.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/r1ctl.MD +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/distributed_custom_code_presets.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/instance.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/payload/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/payload/payload.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/pipeline.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/plugin_template.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/responses.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/transaction.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base/webapp_pipeline.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/base_decentra_object.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/bc/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/bc/base.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/bc/chain.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/bc/ec.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/bc/evm.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/certs/51.15.142.167.crt +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/certs/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/certs/a0d9818f.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/certs/r9092118.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/certs/s624dbd4.ala.us-east-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/README.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/cli.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/cli_commands.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/nodes.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/oracles.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/cli/package_update.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/code_cheker/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/code_cheker/base.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/code_cheker/checker.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/comm/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/comm/amqp_wrapper.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/comm/base_comm_wrapper.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/comm/mqtt_wrapper.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/README.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/apps.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/base.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/comms.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/environment.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/evm_net.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/formatter.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/heartbeat.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/misc.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/payload.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/const/plugins/deeploy_const.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/chain_dist_custom_job_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/custom_webapi_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/generic_http_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/net_mon_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/telegram_basic_bot_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/telegram_conversational_bot_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/view_scene_01_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/session/mqtt_session.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/base/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/base/base_formatter.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/default/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/default/a_dummy.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/default/aixp1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/default/default.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/io_formatter/io_formatter_manager.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ifps_keygen +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/ipfs.service +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/launch_service.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/restart.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/run.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/setup.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/show.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/ipfs_setup/write_key.sh +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/ipfs/r1fs.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/base_logger.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/class_instance_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/computer_vision_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/datetime_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/download_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/general_serialization_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/json_serialization_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/machine_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/pickle_serialization_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/process_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/resource_size_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/timers_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/upload_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/logger_mixins/utils_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/small_logger.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/tzlocal/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/tzlocal/unix.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/tzlocal/utils.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/tzlocal/win32.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/logging/tzlocal/windows_tz.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/plugins_manager_mixin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/utils/__init__.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/utils/comm_utils.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/utils/config.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/utils/dotenv.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/ratio1/utils/oracle_sync/oracle_tester.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/requirements.txt +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/template.env +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/.example_env +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/8. custom_code_fastapi_assets/index.html +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/9. code_sandbox_from_scratch_assets/index.html +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/_example_pk_sdk.pem +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/eth2025/deploy_home_safety.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/eth2025/deploy_maintenance_monitoring.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex01_part1_connect.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex01_part2_filter.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex01_part3_adv_filter.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex02_part2_deploy_plugin.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex02_part3_deploy_r1fs_test.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex03_custom_code_on_one_remote__example_1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex04_custom_code_on_one_remote__example_2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex05_custom_code_on_one_remote__example_3.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex07_custom_code_on_multiple_remotes__example_2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex08_custom_webapi.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex09_code_sandbox_from_scratch.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex10_telegram_echo_bot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex11_telegram_blackjack_bot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex12_telegram_smart_bot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex13_launch_repo_based_webapp.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex14_wallets.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex15_telegram_rogue_style_game.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex16_launch_repo_based_http_server.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex17_launch_repo_based_balanced_webapp.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex18_deploy_container_webapi.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex19_deeploy_container_example.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex20_deeploy_telegram_bot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex21_telegram_community_bot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex22_deeploy_custom_code.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/tutorials/video_presentation/1. hello_world.ipynb +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/winrun.bat +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/README.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/_show_config_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/cstore_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/dauth_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/keys_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/node_info_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/ora_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/ora_intervals.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/ora_sign_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/owner_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/payload_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/session_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/w3_auth_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/w3_nodes_licenses.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/w3_oracles_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/whitelist_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/_checks/workload_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/dates/check_date.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/debug/close_pipeline.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/decentralized/chain_dist_example.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/decentralized/chain_dist_example_initiator.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/decentralized/chain_dist_example_worker.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/deeploy/checker.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/deeploy/checker2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/deeploy/create_request.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/enc_dec/enc_dec_test.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/balance.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/eth_sign.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/info.md +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/send.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/send_many.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/eth/sign.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/log.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/logger/run.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/lp/lp_checker.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/multi-enc-dec/multi_test1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/multi-enc-dec/multi_test2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/pipelines/start.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/pipelines/stop.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/scripts/monitoring/collect_messages.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/scripts/monitoring/get_hb_distribution.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/scripts/monitoring/multithreaded_network_sniffer.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/sign/simple_payload_checker.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/sign/test_sign1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/sign/test_sign2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/test.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/tokens/get_check.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/utils/get_documentation.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/various/attach_example.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/various/ex1.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/various/hello.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/various/remote_exec.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/various/save_images.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/wl/wl_add.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/_tutorials/8. chatbot.py +0 -0
- {ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.41
|
|
4
4
|
Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
|
|
5
5
|
Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
|
|
@@ -2883,10 +2883,14 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
2883
2883
|
A list of dictionaries defining the endpoint configuration. Defaults to None.
|
|
2884
2884
|
"""
|
|
2885
2885
|
ngrok_kwargs = {}
|
|
2886
|
-
cloudflare_kwargs = {}
|
|
2886
|
+
cloudflare_kwargs = {}
|
|
2887
2887
|
|
|
2888
2888
|
if tunnel_engine_enabled:
|
|
2889
2889
|
if tunnel_engine == "ngrok":
|
|
2890
|
+
if ngrok_edge_label is None:
|
|
2891
|
+
ngrok_edge_label = os.environ.get("EE_NGROK_EDGE_LABEL", None)
|
|
2892
|
+
if ngrok_edge_label is not None:
|
|
2893
|
+
self.P("Using ngrok edge label from environment variable EE_NGROK_EDGE_LABEL", color='g')
|
|
2890
2894
|
if not isinstance(ngrok_edge_label, str):
|
|
2891
2895
|
ngrok_edge_label = None
|
|
2892
2896
|
warn_msg = f"WARNING! Without a pre-defined `ngrok_edge_label`, the URL will be generated automatically, "
|
|
@@ -2899,6 +2903,10 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
2899
2903
|
"ngrok_use_api": ngrok_use_api,
|
|
2900
2904
|
}
|
|
2901
2905
|
elif tunnel_engine == "cloudflare":
|
|
2906
|
+
if cloudflare_token is None:
|
|
2907
|
+
cloudflare_token = os.environ.get("EE_CLOUDFLARE_TOKEN", None)
|
|
2908
|
+
if cloudflare_token is not None:
|
|
2909
|
+
self.P("Using Cloudflare token from environment variable EE_CLOUDFLARE_TOKEN", color='g')
|
|
2902
2910
|
if not isinstance(cloudflare_token, str):
|
|
2903
2911
|
raise ValueError(f"`cloudflare` must be a string when using cloudflare tunnel engine. {type(cloudflare_token)} provided.")
|
|
2904
2912
|
cloudflare_kwargs = {
|
|
@@ -12,6 +12,7 @@ def run_predict(plugin: CustomPluginTemplate, inputs: list[int], nr_steps: int)
|
|
|
12
12
|
"""
|
|
13
13
|
Here we use the Ratio1 build in basic ML internal API
|
|
14
14
|
"""
|
|
15
|
+
|
|
15
16
|
preds = plugin.basic_ts_fit_predict(inputs, nr_steps)
|
|
16
17
|
# now we apply some simple heuristic to get the lower and upper bounds
|
|
17
18
|
lower_bound = []
|
|
@@ -22,6 +23,7 @@ def run_predict(plugin: CustomPluginTemplate, inputs: list[int], nr_steps: int)
|
|
|
22
23
|
upper_bound.append(int(pred + abs(pred * heuristic_factor)))
|
|
23
24
|
#endfor
|
|
24
25
|
result = {
|
|
26
|
+
"server" : plugin.e2_addr,
|
|
25
27
|
"predictions": [round(x,1) for x in preds],
|
|
26
28
|
"lower_bound": lower_bound,
|
|
27
29
|
"upper_bound": upper_bound
|
|
@@ -31,30 +33,35 @@ def run_predict(plugin: CustomPluginTemplate, inputs: list[int], nr_steps: int)
|
|
|
31
33
|
|
|
32
34
|
if __name__ == '__main__':
|
|
33
35
|
|
|
34
|
-
session = Session(silent=
|
|
36
|
+
session = Session(silent=False)
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
my_nodes = [
|
|
39
|
+
"0xai_A74xZKZJa4LekjvJ6oJz29qxOOs5nLClXAZEhYv59t3Z",
|
|
40
|
+
"0xai_AgnygSlY8BwnmaCj6mItg36JHlG_Lh3UqqFaTPbuNzy0",
|
|
41
|
+
]
|
|
37
42
|
|
|
38
43
|
# NOTE: When working with SDK please use the nodes internal addresses. While the EVM address of the node
|
|
39
44
|
# is basically based on the same sk/pk it is in a different format and not directly usable with the SDK
|
|
40
45
|
# the internal node address is easily spoted as starting with 0xai_ and can be found
|
|
41
46
|
# via `docker exec r1node get_node_info` or via the launcher UI
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
for i, node in enumerate(my_nodes):
|
|
48
|
+
app, _ = session.create_custom_webapi(
|
|
49
|
+
node=node,
|
|
50
|
+
name="ratio1_simple_predict_webapp",
|
|
51
|
+
tunnel_engine="cloudflare", # set this to "cloudflare" or "ngrok"
|
|
52
|
+
# assume tokens are either
|
|
53
|
+
endpoints=[
|
|
54
|
+
{
|
|
55
|
+
"function": run_predict,
|
|
56
|
+
"method": "post",
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
)
|
|
60
|
+
try:
|
|
61
|
+
url = app.deploy()
|
|
62
|
+
print(f"Webapp deployed on node {i+1}/{len(my_nodes)} at: {url}")
|
|
63
|
+
except Exception as e:
|
|
64
|
+
print("Error deploying webapp: ", e)
|
|
58
65
|
|
|
59
66
|
# Observation:
|
|
60
67
|
# next code is not mandatory - it is used to keep the session open and cleanup the resources
|
|
@@ -63,7 +70,7 @@ if __name__ == '__main__':
|
|
|
63
70
|
# in production, you would not need this code as the script can close
|
|
64
71
|
# after the pipeline will be sent
|
|
65
72
|
session.wait(
|
|
66
|
-
seconds=
|
|
73
|
+
seconds=300, # we wait the session for 60 seconds
|
|
67
74
|
close_pipelines=True, # we close the pipelines after the session
|
|
68
75
|
close_session=True, # we close the session after the session
|
|
69
76
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/ratio1/default/instance/telegram_conversational_bot_01_plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py
RENAMED
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/tutorials/ex07_custom_code_on_multiple_remotes__example_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/xperimental/scripts/monitoring/multithreaded_network_sniffer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py
RENAMED
|
File without changes
|
{ratio1-3.4.40 → ratio1-3.4.41}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|