pyplaykit 1.44.3__tar.gz → 1.46.0__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.
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/CHANGELOG.md +38 -0
- {pyplaykit-1.44.3/pyplaykit.egg-info → pyplaykit-1.46.0}/PKG-INFO +6 -3
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/README.md +5 -2
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/devices.yaml +63 -3
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/demo/device_lab/README.md +48 -11
- pyplaykit-1.46.0/demo/reader_lab/README.md +46 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/device_automation/GUIDE.md +49 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/cli.py +16 -2
- pyplaykit-1.46.0/pyplaykit/config/devices.yaml +93 -0
- pyplaykit-1.46.0/pyplaykit/devices/demo_examples.py +420 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/introspect.py +5 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/__init__.py +14 -3
- pyplaykit-1.46.0/pyplaykit/devices/sim/twins/badge_access.py +232 -0
- pyplaykit-1.46.0/pyplaykit/devices/sim/twins/barcode_scanner.py +161 -0
- pyplaykit-1.46.0/pyplaykit/devices/sim/twins/fingerprint_scanner.py +198 -0
- pyplaykit-1.46.0/pyplaykit/devices/sim/twins/payment_terminal.py +244 -0
- pyplaykit-1.46.0/pyplaykit/devices/sim/twins/rfid_reader.py +207 -0
- pyplaykit-1.46.0/pyplaykit/docs/DEVICE_AUTOMATION_GUIDE.md +1064 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0/pyplaykit.egg-info}/PKG-INFO +6 -3
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit.egg-info/SOURCES.txt +8 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyproject.toml +1 -1
- pyplaykit-1.44.3/pyplaykit/config/devices.yaml +0 -42
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/.github/copilot-instructions.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/.github/prompts/review-execution-plan-and-implement-next-task.prompt.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/.github/prompts/run-unit-tests-and-coverage.prompt.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/.github/prompts/security-audit-and-consolidated-report.prompt.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/CHOOSE_YOUR_STRUCTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/CLAUDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/COLUMN_MAPPING_AND_IGNORE_FIELDS_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/COMMANDS_FOR_YOUR_PROJECTS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/COMMIT_SUMMARY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/CONTRIBUTING.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/CORRECTED_PROJECT_NAMES.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/DATABASE_IMPLEMENTATION_SUMMARY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/DELIVERABLES_SUMMARY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/ENTERPRISE_TEST_STRUCTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/FINAL_PROJECT_SETUP.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/GAP_TRACKER.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/HOW_TO_ACCESS_DOCS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/INIT_COMMAND_EXAMPLES.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/KEY_BASED_MATCHING_SOLUTION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/MANIFEST.in +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/MIGRATION_COMPLETE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/MIGRATION_PLAN.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/PYPLAYKIT_CLIENT_OVERVIEW.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/QUICK_DB_REFERENCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/QUICK_REFERENCE_COMPARISON_FEATURES.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/QUICK_START_QE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/STRUCTURE_COMPARISON.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/TEST_LOCATION_CHEATSHEET.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/VISUAL_COMPARISON.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/WINDOWS_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/YOUR_PROJECTS_IMPLEMENTATION_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/YOUR_SETUP_SUMMARY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/bin/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/components/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/config.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/data_comparison_profiles.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/environments.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/projects/customs_modernization.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/projects/device_lab.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/projects/dispatcho.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/config/projects/timelyquote.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/core/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/data_validation_dashboard.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/docker-compose.yml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/engineering_dashboard.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/executive_qe_dashboard.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/grafana-provisioning/dashboards/pyplaykit.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/prometheus.yml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/release_quality_dashboard.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dashboards/test_health_dashboard.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/demo/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/demo/functional/database/file_comparison/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/demo/functional/database/postgres_src_tgt/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/dist_pkg/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/AGENT_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/API_TESTING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/ARCHITECTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/CI_INTEGRATION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/CLI_REFERENCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/COMPETITIVE_ANALYSIS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/COVERAGE_IMPROVEMENTS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/CUSTOMER_SCENARIOS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/DATABASE_SUPPORT.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/DATA_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/DELIVERABLES_INDEX.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/DEVICE_AUTOMATION_WBS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/EXAMPLE_TESTS_SUMMARY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/Enterprise-Framework-Assessment-REVISED.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/Enterprise-Readiness-Assessment.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/Example-Tests-Guide.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/Execution-Plan-Backlog-and-Closure-Tracker.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/FRAMEWORK_CONTRIBUTION_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/01_ARCHITECTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/02_DEPLOYMENT_RUNBOOK.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/03_ACCESS_MATRIX.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/04_CLIENT_CONTACT_MATRIX.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/05_OPEN_RISKS_REGISTER.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/06_PENDING_ENHANCEMENTS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/07_PRODUCT_ROADMAP.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/08_ENVIRONMENT_DETAILS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/09_OPERATIONAL_SOPS.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/10_ESCALATION_MATRIX.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/11_KT_RECORDINGS_INDEX.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/12_REVERSE_KT_SIGNOFF.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/13_LEADERSHIP_SIGNOFF.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/KT/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/MCP_SERVER_DESIGN.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/MULTI_DB_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/OBSERVABILITY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/PyPlayKit-Framework-Overview.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/PyPlayKit-Usage-Scenarios.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENTS_CAPABILITY_INVENTORY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENTS_DESIGN.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENTS_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENTS_SPIKES.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENTS_THREAT_MODEL.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_AGENT_PLATFORM_EXPANSION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QE_VISUAL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/QUALITY_GATE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/RESILIENCE_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/SECRETS_AND_GOVERNANCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/TEST_CREATION_PLAYGROUND.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/TEST_ORGANIZATION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/Usage-Scenarios-Feasibility-Analysis.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0001-sync-device-api-with-background-io.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0002-devices-subpackage-and-layering.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0003-dut-naming-for-cli-config-and-fixtures.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0004-optional-dependencies-and-import-guards.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0005-single-source-device-pytest-plugin.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0006-agent-runtime-transport.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0007-agent-autonomy-and-scm-boundaries.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0008-agent-contract-and-versioning.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0009-host-mediation-and-enforcement-model.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0010-target-stack-adapters-and-result-normalization.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0011-generation-capability-registry.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0012-regression-test-selection-safety.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0013-agent-telemetry-and-data-handling.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0014-agents-adopt-vs-build.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0015-agent-release-lifecycle-and-registry.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0016-review-driven-amendments.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0017-agent-evaluation-baseline-then-threshold.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0018-change-intelligence-without-product-source.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/0019-test-creation-from-test-cases-on-sandbox-branches.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/adr/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/device_automation/DESIGN.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/docs/device_automation/SPIKES.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/evals/conformance_fake/judges/summary_quality.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/integrations/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/mcp_server/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/orchestration/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pages/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/plugins/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/_aliases.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/__main__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/assignments.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/audit.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/budgets.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/RELEASES.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/_common.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/agent.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/agent.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/conformance.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/impact.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/prompts/change_semantics.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/prompts/regression_additions.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/risk.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/schemas/input.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/schemas/output.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/change_intelligence/selection.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/agent.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/agent.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/planning.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/input.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/output.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/agent.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/agent.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/assemble.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/layout.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/prompts/generate_tests.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_api.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_db.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_device.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_ui.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/schemas/input.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/schemas/output.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_creation/testcases.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/agent.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/agent.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/prompts/test_intent.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/rules.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/schemas/input.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/builtin/test_review/schemas/output.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/cli.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/agent.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/agent.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/conformance.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/schemas/input.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/fake_agent/schemas/output.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/conformance/suite.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/contract.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/enforcement.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/errors.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/evals/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/evals/dataset.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/evals/gate.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/evals/harness.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/evals/scorers.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/host_tools.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/impact_map.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/anthropic.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/base.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/cache.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/fake.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/ollama.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/openai_compat.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/pricing.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/recording.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/llm/routing.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/output.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/policy.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/read_tools.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/redaction.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/references.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/registry.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/release_checklist.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/releases.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/reports.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/runner.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/sandbox.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/schemas/1/agent-manifest.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/schemas/1/change-proposal.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/schemas/1/run-result.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/schemas/1/task-envelope.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/session.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/settings.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stacks/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stacks/base.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stacks/environment.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stacks/junit.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stacks/python_pytest.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stdio.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/stdio_runner.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/telemetry.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/agents/tools.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/components/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/components/base_component.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/components/data_table.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/components/form_field.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/components/modal.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/config/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/config/config.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/config/environments.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/constraints.txt +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/base_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/base_test.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/browser_factory.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/playwright_manager.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/core/quality_gate.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/_extras.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/assertions.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/buffer.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/candb.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/channel.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/clock.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/commands.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/components.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/config.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/console.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/device.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/editor.html +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/editor.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/errors.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/events.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/factory.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/fault_proxy.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/faults.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/fidelity.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/gatt.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/inventory.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/leasing.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/matching.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/messages.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/parsers.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/pool.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/power.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/provider.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/pytest_plugin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/recording.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/recovery.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/registers.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/ble.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/components.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/base.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/ble.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/can.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/http.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/modbus.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/mqtt.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/serial.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/endpoints/ssh.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/host.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/modbus.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/replay.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/scheduler.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/seed.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/sensor_faults.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/serve.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/signals.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/subprocess_twin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/templating.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/energy_meter.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/engine.dbc +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/engine_ecu.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/environment_sensor.yaml +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/heart_rate.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/smart_plug.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/twins/thermostat.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/sim/yaml_twin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/snmp.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/terminal.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/testing.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transcript.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transport.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/_async_bridge.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/adb.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/ble.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/can.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/coap.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/http.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/modbus.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/mqtt.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/serial.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/ssh.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/transports/telnet.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/waiting.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/devices/yamlutil.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/dist_pkg/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/dist_pkg/distribution.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/AGENT_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/API_TESTING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/ARCHITECTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/CI_INTEGRATION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/CLI_REFERENCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/DATABASE_SUPPORT.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/DATA_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/MCP_SERVER_DESIGN.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/OBSERVABILITY.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/QE_AGENTS_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/QE_VISUAL_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/QUICK_START_QE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/RESILIENCE_GUIDE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/SECRETS_AND_GOVERNANCE.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/TEST_CREATION_PLAYGROUND.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/TEST_ORGANIZATION.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/api_posts.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/custom_columns.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/db_employees.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/device_thermostat.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/mixed_checkout.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/steps_per_row.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs/examples/testcases/ui_login.csv +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/docs_export.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/extras.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/integrations/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/integrations/adapters.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/_ast_utils.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/_config_utils.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/cli.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/server.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/agent_tools.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/device_tools.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/package_discovery.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/project_introspection.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/mcp_server/tools/project_state.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/orchestration/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/orchestration/enforcer.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/orchestration/planner.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/orchestration/selection.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/dashboard_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/login_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/orangehrm_login_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/saucedemo_inventory_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/pages/saucedemo_login_page.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/_observer.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/_reference.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/api_plugin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/base.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/data_plugin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/manifest.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/registry.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/plugins/security_plugin.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/resilience/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/resilience/locator_recovery.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/show_docs.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/api_client.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/api_test_helper.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/assertion_helper.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/auth_manager.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/comparison_config_loader.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/contract/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/contract/pact_consumer.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/dashboard.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/data_comparison_report.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/data_comparison_utils.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/data_loader.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/data_source.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/data_validator.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/database_clients.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_client.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/db2.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/informix.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/mongodb.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/mysql.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/oracle.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/snowflake.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/sqlite.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_drivers/sqlserver.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_factory.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_fixtures.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_pool.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/db_validation_helper.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/environment_validator.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/file_reader.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/governance.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/graphql_client.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/logger.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/observability.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/observability_report.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/org_governance.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/project_config.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/response_validator.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/screenshot_helper.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secret_redaction.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/aws_provider.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/azure_provider.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/base.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/env_provider.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/secrets/vault_provider.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/soap_client.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/tdm.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/telemetry.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/telemetry_schema.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/transformation_validator.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/ui_db_validator.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/version_checker.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit/utils/yaml_config_reader.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit.egg-info/dependency_links.txt +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit.egg-info/entry_points.txt +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit.egg-info/requires.txt +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/pyplaykit.egg-info/top_level.txt +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/resilience/__init__.py +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/setup.cfg +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/spikes/device_automation/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/spikes/qe_agents/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/api/ecom/auth_payloads.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/api/ecom/product_payloads.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/api_test_data.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/data_validation_test_data.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/login_test_data.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/orangehrm_login_data.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/pacts/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/test_data/ui_test_data.json +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/customs_modernization/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/demo/functional/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/demo/functional/api/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/demo/functional/database/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/demo/functional/ui/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/demo/integration/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/dispatcho/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/tests/projects/timelyquote/README.md +0 -0
- {pyplaykit-1.44.3 → pyplaykit-1.46.0}/utils/__init__.py +0 -0
|
@@ -11,6 +11,44 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## [1.46.0] — 2026-10-26
|
|
15
|
+
|
|
16
|
+
The device automation guide is now part of the package (`pyplaykit docs devices`), and `pyplaykit init` scaffolds the five reader twins with an example test file for each. In the repository, the Device Lab Studio lists every test on the left and runs each one against its twin with or without an injected fault, and each reader has a detailed Studio suite.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **`pyplaykit docs devices`: the device automation guide is bundled.** A new "Device & embedded automation" category in `pyplaykit docs` (and in the docs that `pyplaykit init` and `pyplaykit docs --save` copy to `docs/pyplaykit/`): DUTs, the eleven reference twins including the five readers, faults, record/replay, the device pool. Until now the guide was only in the repository.
|
|
21
|
+
- **`pyplaykit init` scaffolds the reader twins and example tests.** The bundled `config/devices.yaml` adds `demo-barcode`, `demo-rfid`, `demo-fingerprint`, `demo-badge` and `demo-payment` (bench `readers`), and `tests/demo/functional/device/` gets `test_demo_<reader>.py` for each (33 tests): a connection test, the happy path, the refusals (misprinted barcode, tag out of range, fake finger, expired or non-employee badge, declined cards) and a powered-off reader. They use the raw channel API, so they run in any project and serve as templates. A project that already has `config/devices.yaml` keeps it; copy the reader DUTs from `pyplaykit/config/devices.yaml`.
|
|
22
|
+
- **`scripts/run_device_lab.bat --both` (and `.sh`)** runs every Virtual Device Lab stage, then opens the Device Lab Studio, in one command. Other options go to the lab; `--no-open` applies to both.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **The Device Lab Studio lists the tests on the left and shows the twin on the right.** Every test that runs in hardware mode against the Studio's devices (23) is listed by device; pick one to see its twin with its fault buttons, and run it without a fault or with one the Studio injects for the run (power cut, brownout, slow or cut link, sensor dropout) and clears afterwards. Each test keeps its last result both ways. The list is collected from the test files, so new tests appear on their own; `studio.py --check` still runs the suites.
|
|
27
|
+
- **Each reader has a full set of Studio tests** (`demo/device_lab/studio/test_studio_<reader>.py`, 59 tests, a new "Readers in detail" suite): a connection test, the happy paths, every refusal and a powered-off reader that must recover. The employee ID card reader covers a valid card, a newly issued card, expired, not-yet-valid, deactivated and revoked cards, a card that is not an employee card, office hours, lockdown, the access log and a forced door; the card terminal covers chip and PIN, contactless under and over the limit, swipe, five decline reasons, cancel, a busy terminal, refunds and a power cut mid-sale. The tests act out the physical side through the Studio, so each runs from the page with or without a fault. The device list is collapsible.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## [1.45.0] — 2026-10-26
|
|
32
|
+
|
|
33
|
+
Five new reference twins for identification and payment readers (barcode, RFID, fingerprint, employee badge, payment card), a reader lab that tests them, and the readers on the Virtual Device Lab bench and in the Device Lab Studio. Existing twins and APIs are unchanged.
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- **Reader twins: barcode scanner, RFID reader, fingerprint scanner, employee badge reader and payment card terminal.** Five reference twins for identification and payment readers, with a new reader lab (`demo/reader_lab`, bench `reader-lab` in `config/devices.yaml`; 30 tests, including a working-day scenario across four readers) that runs in the Device Lab workflow.
|
|
38
|
+
- `BarcodeScannerTwin` (serial): reads go out led by their AIM symbology identifier (`]E0` EAN-13, `]C0` Code 128, `]Q1` QR, ...). Auto trigger decodes a label as soon as it is presented, host trigger on `scan`; symbologies can be switched off; a wrong EAN/UPC check digit or a damaged label is not decoded, and the same label is reported once per `same_code_delay`.
|
|
39
|
+
- `RfidReaderTwin` (serial): UHF EPC Gen2 reader with four antennas. In continuous mode tags are reported as they enter (`TAG epc=… rssi=… ant=…`) and leave (`LOST epc=…`) the field, in trigger mode through `inventory`. The signal falls with distance and rises with transmit power (about 7 m of range at 27 dBm, 1 m at 10 dBm); tag user memory can be read and written, and locked tags refuse writes.
|
|
40
|
+
- `FingerprintScannerTwin` (serial): enrol (three captures of the same finger), verify 1:1 and identify 1:N, with seeded match scores, a liveness check that rejects fake fingers, low-quality retries and timeouts. Fingers are labels; no biometric data is involved. Templates survive a power loss.
|
|
41
|
+
- `BadgeAccessTwin` (HTTP + MQTT): an employee badge reader on a door access controller. An HTTP admin API enrols and revokes badges (employee id, validity dates, office hours) and switches lockdown; every decision is published on `access/<reader>/event` with its reason (`unknown_badge`, `inactive`, `not_yet_valid`, `expired`, `outside_hours`, `lockdown`). A grant unlocks the door strike for `unlock_s`; a forced or held-open door raises an alarm; a power loss locks the door.
|
|
42
|
+
- `PaymentTerminalTwin` (HTTP): a debit/credit card terminal driven like a till drives a PIN pad. Chip cards ask for a PIN, contactless only above `cvm_limit`, swipe never; authorisation takes `auth_delay_s` of simulated time. Declines: Luhn failure, expired card, wrong PIN, power loss and test cards in `DECLINE_CARDS` (insufficient funds, ...). Also cancel, timeout, refunds limited to what is left of the sale, and settlement totals. Full card numbers are never kept or returned, only the brand, last four digits and a masked number.
|
|
43
|
+
- Tests act out the physical side through the twin (`present`, `place_tag`, `place_finger`, `present_badge`, `open_door`, `present_card`, `enter_pin`), so they are `sim_only`. GUIDE section 2.5 lists the methods.
|
|
44
|
+
- **The Virtual Device Lab and the Device Lab Studio include the readers.** The `device-lab` bench has eleven devices on six protocols: `run_demo.py` adds the readers to the stage 1 roll-call, runs the reader-lab suites in stage 2, and serves the barcode scanner and card terminal as separate processes in the stage 4 live lab. The Studio shows the five readers under **Readers**, with buttons that act out the physical side (scan a label, move a tag, place a finger, badge in, force the door, start a sale and tap a card), and a new **Readers** suite whose tests wait for you to act on the page and otherwise act themselves through the Studio (`studio.py --check` runs it unattended).
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- **The Virtual Device Lab showed no release recommendation.** `run_demo.py` ran `python -m mcp_server.cli`, the module name from before 1.43.0, which fails through the compatibility alias under `python -m`; it now runs `pyplaykit.mcp_server.cli`.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
14
52
|
## [1.44.3] — 2026-10-26
|
|
15
53
|
|
|
16
54
|
Raises one optional dependency floor after new advisories. Only installs with the device extras are affected.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyplaykit
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.46.0
|
|
4
4
|
Summary: Enterprise Python + Playwright automation framework
|
|
5
5
|
Author-email: Shan Konduru <shankonduru@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -646,7 +646,8 @@ pytest -m device # against the twins
|
|
|
646
646
|
pytest -m device --pyplaykit-dut-mode hil # against real hardware (THERMOSTAT_PORT=COM7)
|
|
647
647
|
pyplaykit devices list | show thermostat | check # bench inventory and readiness
|
|
648
648
|
pyplaykit devices editor --serve # edit config/devices.yaml with forms
|
|
649
|
-
python demo/device_lab/run_demo.py # virtual device lab:
|
|
649
|
+
python demo/device_lab/run_demo.py # virtual device lab: eleven twins, six protocols
|
|
650
|
+
pytest demo/reader_lab -o addopts= # reader lab: barcode, RFID, fingerprint, badge, card
|
|
650
651
|
```
|
|
651
652
|
|
|
652
653
|
Transports: serial, MQTT, SSH, Telnet, HTTP, CoAP, Modbus, CAN/CAN FD, BLE, ADB. Also: fault injection
|
|
@@ -1009,7 +1010,7 @@ Each project config includes:
|
|
|
1009
1010
|
|
|
1010
1011
|
**Device & Embedded Automation** ✅ Complete (v1.32.0) — simulation and fault-injection scope; hardware-in-the-loop stories await a bench kit:
|
|
1011
1012
|
- `pyplaykit.devices`: device object model, 11 transports (serial, MQTT, SSH, Telnet, HTTP, CoAP, Modbus, CAN, BLE, ADB, fake)
|
|
1012
|
-
- Digital twins (Python / YAML) on a simulator host with real protocol endpoints;
|
|
1013
|
+
- Digital twins (Python / YAML) on a simulator host with real protocol endpoints; 11 reference twins, five of them identification and payment readers (barcode, RFID, fingerprint, employee badge, payment card)
|
|
1013
1014
|
- `config/devices.yaml`, `dut` fixtures, `requires_dut` capability matching, `--pyplaykit-dut-mode sim|emu|hil`
|
|
1014
1015
|
- Fault injection (link, sensor, power), record/replay twins and simulator fidelity scoring
|
|
1015
1016
|
- Device pool (leases, health checks, quarantine), power drivers and recovery escalation
|
|
@@ -1033,6 +1034,8 @@ Each project config includes:
|
|
|
1033
1034
|
- v1.44.1: the gitleaks secret scan runs with gitleaks' default rules again (the config had replaced them with none); history rescanned clean, false positives allowlisted by exact value; `GITLEAKS_CMD` for a gitleaks outside the repo
|
|
1034
1035
|
- v1.44.2: the CI security jobs fail on findings (gitleaks on history and working tree, pip-audit through `scripts/security_gate.py`) instead of always passing
|
|
1035
1036
|
- v1.44.3: the device extras require `filelock>=4.2.1`; new advisories covered the releases `>=3.20.3` admitted
|
|
1037
|
+
- v1.45.0: five reader twins (barcode, RFID, fingerprint, employee badge, payment card), the reader lab, and the readers in the Virtual Device Lab and the Studio
|
|
1038
|
+
- v1.46.0: the device automation guide in `pyplaykit docs devices`; `pyplaykit init` scaffolds the reader twins and an example test file per reader; Studio test list with runs with or without a fault
|
|
1036
1039
|
- v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
|
|
1037
1040
|
- v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
|
|
1038
1041
|
- v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
|
|
@@ -471,7 +471,8 @@ pytest -m device # against the twins
|
|
|
471
471
|
pytest -m device --pyplaykit-dut-mode hil # against real hardware (THERMOSTAT_PORT=COM7)
|
|
472
472
|
pyplaykit devices list | show thermostat | check # bench inventory and readiness
|
|
473
473
|
pyplaykit devices editor --serve # edit config/devices.yaml with forms
|
|
474
|
-
python demo/device_lab/run_demo.py # virtual device lab:
|
|
474
|
+
python demo/device_lab/run_demo.py # virtual device lab: eleven twins, six protocols
|
|
475
|
+
pytest demo/reader_lab -o addopts= # reader lab: barcode, RFID, fingerprint, badge, card
|
|
475
476
|
```
|
|
476
477
|
|
|
477
478
|
Transports: serial, MQTT, SSH, Telnet, HTTP, CoAP, Modbus, CAN/CAN FD, BLE, ADB. Also: fault injection
|
|
@@ -834,7 +835,7 @@ Each project config includes:
|
|
|
834
835
|
|
|
835
836
|
**Device & Embedded Automation** ✅ Complete (v1.32.0) — simulation and fault-injection scope; hardware-in-the-loop stories await a bench kit:
|
|
836
837
|
- `pyplaykit.devices`: device object model, 11 transports (serial, MQTT, SSH, Telnet, HTTP, CoAP, Modbus, CAN, BLE, ADB, fake)
|
|
837
|
-
- Digital twins (Python / YAML) on a simulator host with real protocol endpoints;
|
|
838
|
+
- Digital twins (Python / YAML) on a simulator host with real protocol endpoints; 11 reference twins, five of them identification and payment readers (barcode, RFID, fingerprint, employee badge, payment card)
|
|
838
839
|
- `config/devices.yaml`, `dut` fixtures, `requires_dut` capability matching, `--pyplaykit-dut-mode sim|emu|hil`
|
|
839
840
|
- Fault injection (link, sensor, power), record/replay twins and simulator fidelity scoring
|
|
840
841
|
- Device pool (leases, health checks, quarantine), power drivers and recovery escalation
|
|
@@ -858,6 +859,8 @@ Each project config includes:
|
|
|
858
859
|
- v1.44.1: the gitleaks secret scan runs with gitleaks' default rules again (the config had replaced them with none); history rescanned clean, false positives allowlisted by exact value; `GITLEAKS_CMD` for a gitleaks outside the repo
|
|
859
860
|
- v1.44.2: the CI security jobs fail on findings (gitleaks on history and working tree, pip-audit through `scripts/security_gate.py`) instead of always passing
|
|
860
861
|
- v1.44.3: the device extras require `filelock>=4.2.1`; new advisories covered the releases `>=3.20.3` admitted
|
|
862
|
+
- v1.45.0: five reader twins (barcode, RFID, fingerprint, employee badge, payment card), the reader lab, and the readers in the Virtual Device Lab and the Studio
|
|
863
|
+
- v1.46.0: the device automation guide in `pyplaykit docs devices`; `pyplaykit init` scaffolds the reader twins and an example test file per reader; Studio test list with runs with or without a fault
|
|
861
864
|
- v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
|
|
862
865
|
- v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
|
|
863
866
|
- v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
|
|
@@ -86,14 +86,74 @@ devices:
|
|
|
86
86
|
sim:
|
|
87
87
|
twin: pyplaykit.devices.sim.twins:HeartRateMonitorTwin
|
|
88
88
|
|
|
89
|
+
# ── Reader lab (demo/reader_lab): identification and payment readers ──────────────────────────────────
|
|
90
|
+
# Tests act out the physical side (a label, tag, finger, badge or card in front of the reader) through
|
|
91
|
+
# the twin, so they are sim_only; on a real bench an operator or a robot does that part.
|
|
92
|
+
reader-barcode:
|
|
93
|
+
class: demo.reader_lab.reader_devices:BarcodeScanner
|
|
94
|
+
description: 2D barcode scanner in serial (USB-CDC) mode
|
|
95
|
+
capabilities: [serial, reader, barcode]
|
|
96
|
+
properties: {fw: 3.2.0}
|
|
97
|
+
channels:
|
|
98
|
+
console: {type: serial, port: "${READER_LAB_BARCODE_PORT}", baudrate: 115200}
|
|
99
|
+
sim:
|
|
100
|
+
twin: pyplaykit.devices.sim.twins:BarcodeScannerTwin
|
|
101
|
+
boot: false # already running when tests connect, as in the live lab: no banner before the first reply
|
|
102
|
+
|
|
103
|
+
reader-rfid:
|
|
104
|
+
class: demo.reader_lab.reader_devices:RfidReader
|
|
105
|
+
description: UHF RFID reader (EPC Gen2) at the warehouse dock door
|
|
106
|
+
capabilities: [serial, reader, rfid]
|
|
107
|
+
properties: {fw: 4.0.1}
|
|
108
|
+
channels:
|
|
109
|
+
console: {type: serial, port: "${READER_LAB_RFID_PORT}", baudrate: 115200}
|
|
110
|
+
sim:
|
|
111
|
+
twin: pyplaykit.devices.sim.twins:RfidReaderTwin
|
|
112
|
+
args: {antennas: [1, 2]}
|
|
113
|
+
|
|
114
|
+
reader-fingerprint:
|
|
115
|
+
class: demo.reader_lab.reader_devices:FingerprintScanner
|
|
116
|
+
description: Fingerprint module guarding the server room
|
|
117
|
+
capabilities: [serial, reader, biometric]
|
|
118
|
+
properties: {fw: 1.6.0}
|
|
119
|
+
channels:
|
|
120
|
+
console: {type: serial, port: "${READER_LAB_FINGERPRINT_PORT}", baudrate: 57600}
|
|
121
|
+
sim:
|
|
122
|
+
twin: pyplaykit.devices.sim.twins:FingerprintScannerTwin
|
|
123
|
+
|
|
124
|
+
reader-badge:
|
|
125
|
+
class: demo.reader_lab.reader_devices:BadgeReader
|
|
126
|
+
description: Employee ID badge reader on the main entrance (door access controller)
|
|
127
|
+
capabilities: [http, mqtt, reader, access-control]
|
|
128
|
+
channels:
|
|
129
|
+
api: {type: http, base_url: "${READER_LAB_BADGE_URL}"}
|
|
130
|
+
events: {type: mqtt, host: "${READER_LAB_MQTT_HOST}", port: "${READER_LAB_MQTT_PORT}",
|
|
131
|
+
subscribe: ["access/#"]}
|
|
132
|
+
sim:
|
|
133
|
+
twin: pyplaykit.devices.sim.twins:BadgeAccessTwin
|
|
134
|
+
args: {reader: main-entrance}
|
|
135
|
+
|
|
136
|
+
reader-payment:
|
|
137
|
+
class: demo.reader_lab.reader_devices:PaymentTerminal
|
|
138
|
+
description: Debit/credit card terminal at the cafeteria till (test cards only)
|
|
139
|
+
capabilities: [http, reader, payment]
|
|
140
|
+
channels:
|
|
141
|
+
api: {type: http, base_url: "${READER_LAB_PAYMENT_URL}"}
|
|
142
|
+
sim:
|
|
143
|
+
twin: pyplaykit.devices.sim.twins:PaymentTerminalTwin
|
|
144
|
+
|
|
89
145
|
benches:
|
|
90
146
|
demo: {duts: [demo-thermostat], description: Demo bench (simulated)}
|
|
147
|
+
reader-lab:
|
|
148
|
+
description: Identification and payment readers - barcode, RFID, fingerprint, employee badge, payment card
|
|
149
|
+
duts: [reader-barcode, reader-rfid, reader-fingerprint, reader-badge, reader-payment]
|
|
91
150
|
device-lab:
|
|
92
|
-
description: Virtual device lab -
|
|
93
|
-
duts: [lab-thermostat, lab-env-sensor, lab-smart-plug, lab-energy-meter, lab-engine-ecu, lab-heart-rate
|
|
151
|
+
description: Virtual device lab - eleven devices over serial, HTTP, MQTT, Modbus, CAN and BLE
|
|
152
|
+
duts: [lab-thermostat, lab-env-sensor, lab-smart-plug, lab-energy-meter, lab-engine-ecu, lab-heart-rate,
|
|
153
|
+
reader-barcode, reader-rfid, reader-fingerprint, reader-badge, reader-payment]
|
|
94
154
|
live-lab:
|
|
95
155
|
description: The lab's network and serial devices, served as separate processes (hil mode)
|
|
96
|
-
duts: [lab-thermostat, lab-smart-plug, lab-energy-meter]
|
|
156
|
+
duts: [lab-thermostat, lab-smart-plug, lab-energy-meter, reader-barcode, reader-payment]
|
|
97
157
|
|
|
98
158
|
# Named fault sets for @pytest.mark.fault (GUIDE.md section 5.3)
|
|
99
159
|
fault_scenarios:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Virtual Device Lab
|
|
2
2
|
|
|
3
|
-
A one-command showcase of the device automation framework:
|
|
3
|
+
A one-command showcase of the device automation framework: eleven simulated devices on six protocols,
|
|
4
4
|
tested the way a real product team would test them, ending on a results page with a release decision.
|
|
5
5
|
No hardware is needed.
|
|
6
6
|
|
|
@@ -11,6 +11,14 @@ python demo/device_lab/run_demo.py --break # a bad firmware build: failures,
|
|
|
11
11
|
python demo/device_lab/run_demo.py --open # open the results page at the end
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
Or with the self-contained launchers, which create `.venv` and install the packages on first use:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
scripts\run_device_lab.bat # Windows: every stage, then opens the results page
|
|
18
|
+
scripts\run_device_lab.bat --both # every stage, then the Studio (other options go to the lab)
|
|
19
|
+
bash scripts/run_device_lab.sh --both # Linux / macOS / Git Bash; same options
|
|
20
|
+
```
|
|
21
|
+
|
|
14
22
|
Needs the device transports: `pip install -r requirements.txt -r requirements-dev.txt` (or
|
|
15
23
|
`pip install "pyplaykit[devices]" defusedxml`). CI runs it nightly: `.github/workflows/device-lab.yml`, results in
|
|
16
24
|
the `device-lab-results` artifact.
|
|
@@ -23,19 +31,39 @@ bash scripts/run_device_studio.sh # Linux / macOS / Git Bash
|
|
|
23
31
|
python demo/device_lab/studio/studio.py --speed 30 # directly; --check runs every suite headless (CI)
|
|
24
32
|
```
|
|
25
33
|
|
|
26
|
-
The Studio runs the
|
|
34
|
+
The Studio runs the eleven devices live, with device time 60x faster than real time (a speed selector goes
|
|
27
35
|
from 1x to 120x), and animates each one: the thermostat dial and heater, the plug's power bar, the
|
|
28
|
-
meter's gauges and contactor, the ECU's tachometer, the heart-rate monitor's pulse
|
|
36
|
+
meter's gauges and contactor, the ECU's tachometer, the heart-rate monitor's pulse, the sensor's charts,
|
|
37
|
+
and under **Readers** the barcode scanner, RFID reader, fingerprint scanner, badge reader door and card
|
|
38
|
+
terminal screen.
|
|
29
39
|
|
|
30
40
|
- **Change settings on the fly:** target temperature, outside temperature, plug on/off and appliance load,
|
|
31
41
|
meter limit and load, engine speed, the wearer exercising, sensor pause/resume.
|
|
32
42
|
- **Inject faults at any moment:** power cut, brownout, sensor dropout or drift, a current surge, and on
|
|
33
43
|
the network devices a slow or cut link (through a fault proxy between the tests and the device).
|
|
34
|
-
- **
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
- **Tests on the left, the twin on the right:** the left column lists every test that runs in hardware mode
|
|
45
|
+
against these devices (77), grouped by device; click a device to open its tests. Each reader has a full
|
|
46
|
+
set (`studio/test_studio_<reader>.py`): a connection test, the happy paths and every refusal - for the
|
|
47
|
+
employee ID card reader a valid card, a newly issued, expired, not-yet-valid, deactivated or revoked
|
|
48
|
+
card, a card that is not an employee card, office hours, lockdown, the access log, a forced door and a
|
|
49
|
+
powered-off reader. These tests act out the physical side through the Studio themselves. Pick one and the right side shows its twin with its fault
|
|
50
|
+
buttons, and a run bar: **Run without fault**, or **Run with fault** with a fault chosen for that device
|
|
51
|
+
(power cut, brownout, slow link, cut link, a sensor dropout). The Studio injects the fault for the run -
|
|
52
|
+
a brownout or a cut link lands a second into the test - and clears it afterwards, so the next run starts
|
|
53
|
+
from a healthy device. Each test keeps its last result both ways (`clean ✔ fault ✖` in the list, the
|
|
54
|
+
details in the run bar); **▶ all** runs a device's tests. You can still press the twin's own fault
|
|
55
|
+
buttons while a test runs. *Hub shuts heating down on an over-current trip* waits 15 s for you to press
|
|
56
|
+
**Surge** on the meter. The CAN engine ECU and BLE heart-rate monitor have no tests here: their buses
|
|
57
|
+
live inside the Studio, so a separate pytest process cannot reach them.
|
|
37
58
|
- **Smart home scene:** meter → heater plug → heater, thermostat and hub on one diagram, with current
|
|
38
59
|
flowing when the heater is on. Turn on the hub automation, raise the target, then surge the meter.
|
|
60
|
+
- **Act out the readers:** scan a label (or a torn or misprinted one), roll a tagged pallet through the
|
|
61
|
+
dock door and turn the RFID power down, enrol and identify a finger (or try a fake one), badge in or
|
|
62
|
+
force the door, start a sale at the till and pay with a test card. Each reader page shows what the
|
|
63
|
+
reader sent.
|
|
64
|
+
- **Readers suite:** each test waits 20 s for you to do its physical step on the page (the test's
|
|
65
|
+
docstring says which), then does it itself through the Studio, like a robot on a real bench. With
|
|
66
|
+
`--check` nobody is at the page, so the tests act at once.
|
|
39
67
|
- **Traffic console:** every command each device received, as the tests talk to it.
|
|
40
68
|
|
|
41
69
|
The engine ECU (CAN) and heart-rate monitor (BLE) run on in-process buses: the Studio shows and drives
|
|
@@ -51,26 +79,32 @@ them, but the test suites (a separate process) cover the serial, HTTP and Modbus
|
|
|
51
79
|
| `lab-energy-meter` | Modbus TCP | Consistent V × A = W readings, over-current trip and reset |
|
|
52
80
|
| `lab-engine-ecu` | CAN bus (DBC) | Speed ramp, the 7000 rpm limit, silence on a failed sensor |
|
|
53
81
|
| `lab-heart-rate` | Bluetooth LE (GATT) | Heart-rate notifications, battery drain over an eight-hour shift |
|
|
82
|
+
| `reader-barcode` | Serial console | AIM symbology ids, check digits, torn labels, host trigger |
|
|
83
|
+
| `reader-rfid` | Serial console | Tags entering and leaving the field, read range vs transmit power, tag memory |
|
|
84
|
+
| `reader-fingerprint` | Serial console | Enrol, identify, fake fingers rejected, timeouts |
|
|
85
|
+
| `reader-badge` | HTTP + MQTT | Employees let in, expired and revoked badges refused, lockdown, forced-door alarm |
|
|
86
|
+
| `reader-payment` | HTTP | Chip and PIN, contactless, declines, refunds and settlement; card numbers masked |
|
|
54
87
|
|
|
55
88
|
The devices are described once in [`config/devices.yaml`](../../config/devices.yaml) (bench `device-lab`).
|
|
56
89
|
Device objects: [`lab_devices.py`](lab_devices.py) (the thermostat reuses
|
|
57
|
-
[`demo/functional/device/thermostat_device.py`](../functional/device/thermostat_device.py))
|
|
90
|
+
[`demo/functional/device/thermostat_device.py`](../functional/device/thermostat_device.py)); the readers'
|
|
91
|
+
objects and their suites live in the reader lab, [`demo/reader_lab`](../reader_lab).
|
|
58
92
|
|
|
59
93
|
## The stages
|
|
60
94
|
|
|
61
95
|
| # | Stage | What runs | What the audience sees |
|
|
62
96
|
|---|---|---|---|
|
|
63
|
-
| 1 | The bench | `pyplaykit devices --bench device-lab list` / `check` |
|
|
64
|
-
| 2 | Devices at work | [`test_01`](test_01_bench_inventory.py)–[`test_04`](test_04_faults_and_recovery.py)
|
|
97
|
+
| 1 | The bench | `pyplaykit devices --bench device-lab list` / `check` | Eleven devices, their protocols and capabilities; each connects and answers |
|
|
98
|
+
| 2 | Devices at work | [`test_01`](test_01_bench_inventory.py)–[`test_04`](test_04_faults_and_recovery.py) and the [reader lab](../reader_lab) suites | Device behaviour; a [home-automation hub](home_hub.py) coordinating three devices; injected faults; readers scanning, matching fingerprints, opening doors, taking payments |
|
|
65
99
|
| 3 | Shared devices | [`test_05_device_pool.py`](test_05_device_pool.py) with 3 parallel workers | Leasing, waiting for a free unit, a faulty meter quarantined ([`config/projects/device_lab.yaml`](../../config/projects/device_lab.yaml)) |
|
|
66
|
-
| 4 | Live lab |
|
|
100
|
+
| 4 | Live lab | Five twins (thermostat, plug, meter, barcode scanner, card terminal) as separate processes; tests in `hil` mode; then in `sim`; fidelity score | The same test code against "real" devices on real sockets, and proof the simulator answers the same |
|
|
67
101
|
| 5 | The decision | Quality gate + release recommendation | PASS / WARN / BLOCK with reasons, on one page |
|
|
68
102
|
|
|
69
103
|
## Talk track (about 15 minutes)
|
|
70
104
|
|
|
71
105
|
1. **The problem.** Device teams wait for hardware, share a few boards, and cannot reproduce the rare
|
|
72
106
|
faults that cause field failures. Every stage below runs without hardware.
|
|
73
|
-
2. **The bench (stage 1).** "
|
|
107
|
+
2. **The bench (stage 1).** "Eleven devices, six protocols, one configuration file." Point at the
|
|
74
108
|
readiness column: the framework connects to each one before any test runs.
|
|
75
109
|
3. **Devices at work (stage 2).** Open the results page. Call out:
|
|
76
110
|
- *Smart plug meters one hour of heating* ran in about two seconds: waits use virtual time.
|
|
@@ -78,6 +112,9 @@ Device objects: [`lab_devices.py`](lab_devices.py) (the thermostat reuses
|
|
|
78
112
|
protocols at once, the kind of integration test that usually needs a full lab.
|
|
79
113
|
- *Faults and recovery*: a dead temperature sensor, a power cut and a brown-out, each one line in the
|
|
80
114
|
test, and each replays exactly from the printed seed.
|
|
115
|
+
- *The readers*: an employee badges in, opens the server room with a fingerprint and pays for lunch
|
|
116
|
+
(barcode scanner and card terminal) - four readers in one test, and no card number ever leaves it
|
|
117
|
+
unmasked.
|
|
81
118
|
4. **Shared devices (stage 3).** Three workers, three meters: one worker waited for a free unit, and the
|
|
82
119
|
meter with a stuck contactor failed its health check and was taken out of rotation for everyone.
|
|
83
120
|
5. **Live lab (stage 4).** The devices now run as separate processes on real sockets; the tests run in
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Reader lab
|
|
2
|
+
|
|
3
|
+
Identification and payment readers, each simulated by a reference twin from
|
|
4
|
+
`pyplaykit.devices.sim.twins`. The DUTs live in `config/devices.yaml` (bench `reader-lab`); their
|
|
5
|
+
device objects are in [`reader_devices.py`](reader_devices.py).
|
|
6
|
+
|
|
7
|
+
| DUT | Device object | Protocol | Twin | Tests |
|
|
8
|
+
|---|---|---|---|---|
|
|
9
|
+
| `reader-barcode` | `BarcodeScanner` | serial | `BarcodeScannerTwin` | [`test_barcode_scanner.py`](test_barcode_scanner.py) |
|
|
10
|
+
| `reader-rfid` | `RfidReader` | serial | `RfidReaderTwin` | [`test_rfid_reader.py`](test_rfid_reader.py) |
|
|
11
|
+
| `reader-fingerprint` | `FingerprintScanner` | serial | `FingerprintScannerTwin` | [`test_fingerprint_scanner.py`](test_fingerprint_scanner.py) |
|
|
12
|
+
| `reader-badge` | `BadgeReader` | HTTP + MQTT | `BadgeAccessTwin` | [`test_badge_reader.py`](test_badge_reader.py) |
|
|
13
|
+
| `reader-payment` | `PaymentTerminal` | HTTP | `PaymentTerminalTwin` | [`test_payment_terminal.py`](test_payment_terminal.py) |
|
|
14
|
+
|
|
15
|
+
[`test_working_day_scenario.py`](test_working_day_scenario.py) uses four of them together: an employee
|
|
16
|
+
badges in, opens the server room with a fingerprint and pays for lunch (barcode scanner and card terminal).
|
|
17
|
+
|
|
18
|
+
## Run it
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
python -m pytest demo/reader_lab -p no:cacheprovider -o addopts= -q
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The Device Lab demo (`demo/device_lab/run_demo.py`) runs these suites in its stage 2, and the readers are
|
|
25
|
+
on its bench (`device-lab`) and in the Device Lab Studio, where you act out the readers on the page.
|
|
26
|
+
|
|
27
|
+
## Acting out the physical side
|
|
28
|
+
|
|
29
|
+
A reader reports something only when a person or an object does something in front of it. The tests
|
|
30
|
+
take that part through the twin (`dut_twin`), then check what the device object receives:
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
def test_pallet_is_reported_entering_and_leaving_the_field(dut, dut_twin):
|
|
34
|
+
dut_twin.place_tag(PALLET, distance_m=3.0) # a tagged pallet rolls through the dock door
|
|
35
|
+
assert dut.wait_for_tag()["epc"] == PALLET
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
That is why every test here is `sim_only`. On a real bench (`--pyplaykit-dut-mode hil`, with the
|
|
39
|
+
`READER_LAB_*` variables in `config/devices.yaml` pointing at the readers) an operator or a robot does
|
|
40
|
+
that part, and the same device objects talk to the hardware unchanged.
|
|
41
|
+
|
|
42
|
+
## Card numbers
|
|
43
|
+
|
|
44
|
+
Use test card numbers only (`4111111111111111`, `5555555555554444`, ...). The terminal twin keeps the brand,
|
|
45
|
+
the last four digits and a masked number, never the full number, and `DECLINE_CARDS` in
|
|
46
|
+
`pyplaykit/devices/sim/twins/payment_terminal.py` lists the numbers that decline and why.
|
|
@@ -237,10 +237,59 @@ belongs in a Python twin.
|
|
|
237
237
|
| `ThermostatTwin` | serial console + MQTT | heating physics, relay/LED, events, remote set point |
|
|
238
238
|
| `SmartPlugTwin` | HTTP REST | switching, power and energy metering |
|
|
239
239
|
| `environment_sensor()` | serial + MQTT (YAML) | signal models, state machine, periodic telemetry |
|
|
240
|
+
| `EnergyMeterTwin` | Modbus TCP | register maps, contactor with over-current trip (section 6.1) |
|
|
241
|
+
| `EngineEcuTwin` | CAN (DBC) | periodic frames, request/response (section 6.2) |
|
|
242
|
+
| `HeartRateMonitorTwin` | BLE GATT | standard SIG services, notifications (section 6.3) |
|
|
243
|
+
| `BarcodeScannerTwin` | serial | AIM symbology identifiers, EAN/UPC check digits, auto and host trigger |
|
|
244
|
+
| `RfidReaderTwin` | serial | UHF EPC Gen2 inventory, read range from transmit power, tag user memory |
|
|
245
|
+
| `FingerprintScannerTwin` | serial | enrol, verify 1:1, identify 1:N, liveness check, timeouts |
|
|
246
|
+
| `BadgeAccessTwin` | HTTP + MQTT | employee badges on a door controller: validity, office hours, lockdown, door alarms |
|
|
247
|
+
| `PaymentTerminalTwin` | HTTP | card payments: chip and PIN, contactless limit, swipe, declines, refunds, settlement |
|
|
240
248
|
|
|
241
249
|
The demo suite in [`demo/functional/device`](../../demo/functional/device) runs the thermostat examples
|
|
242
250
|
against `ThermostatTwin`.
|
|
243
251
|
|
|
252
|
+
**Readers: acting out the physical side.** A reader only reports something when a person or an object
|
|
253
|
+
does something in front of it. The reader twins take that part from the test, through methods on the twin
|
|
254
|
+
(the `dut_twin` fixture in sim mode):
|
|
255
|
+
|
|
256
|
+
| Twin | Test-side methods | What the device then sends |
|
|
257
|
+
|---|---|---|
|
|
258
|
+
| `BarcodeScannerTwin` | `present(data, symbology, quality=1.0)`, `remove()` | `]E05901234123457` (auto trigger), or the read on `scan` |
|
|
259
|
+
| `RfidReaderTwin` | `place_tag(epc, antenna=1, distance_m=1.0, user="", locked=False)`, `remove_tag(epc)` | `TAG epc=… rssi=… ant=…` / `LOST epc=…` (continuous mode) |
|
|
260
|
+
| `FingerprintScannerTwin` | `place_finger(finger, quality=90, live=True)` (a finger is a label) | `CAPTURE 1/3 …`, `ENROLLED id=…`, `MATCH id=… score=…`, `NOMATCH …`, `ERR spoof`, `TIMEOUT` |
|
|
261
|
+
| `BadgeAccessTwin` | `present_badge(badge)`, `open_door()`, `close_door()` | MQTT `access/<reader>/event` (granted or denied, with a reason) and `access/<reader>/alarm` |
|
|
262
|
+
| `PaymentTerminalTwin` | `present_card(pan, entry="chip", expiry="12/30")`, `enter_pin(pin)` | the transaction moves to `approved` or `declined` (read it over HTTP) |
|
|
263
|
+
|
|
264
|
+
```python
|
|
265
|
+
@pytest.mark.sim_only
|
|
266
|
+
@pytest.mark.requires_dut("reader-barcode")
|
|
267
|
+
def test_reads_arrive_with_their_symbology(dut, dut_twin):
|
|
268
|
+
dut_twin.present("5901234123457", "ean13")
|
|
269
|
+
assert dut.wait_for_read() == {"symbology": "ean13/upca", "data": "5901234123457"}
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
The payment terminal keeps only the brand, the last four digits and a masked card number, so a full card
|
|
273
|
+
number never appears in an API reply, a transcript or a failure snapshot. Use test card numbers only.
|
|
274
|
+
|
|
275
|
+
Mark such tests `sim_only`: on a real bench an operator or a robot presents the label or the tag.
|
|
276
|
+
|
|
277
|
+
**Examples in your project.** `pyplaykit init` adds the five readers to `config/devices.yaml` (DUTs
|
|
278
|
+
`demo-barcode`, `demo-rfid`, `demo-fingerprint`, `demo-badge`, `demo-payment`; bench `readers`) and an
|
|
279
|
+
example test file for each in `tests/demo/functional/device/` (`test_demo_<reader>.py`): a connection test,
|
|
280
|
+
the happy path, the refusals (a misprinted barcode, a tag out of range, a fake finger, an expired or
|
|
281
|
+
non-employee badge, a declined card) and a powered-off reader. They use the raw channel API, so copy one as
|
|
282
|
+
the starting point for your own reader:
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
pytest tests/demo/functional/device -v # all device demos, simulated
|
|
286
|
+
pyplaykit devices --bench readers list # the readers and their twins
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
In the PyPlayKit repository, the reader lab ([`demo/reader_lab`](../../demo/reader_lab)) has a device object
|
|
290
|
+
and tests for each reader, and the Device Lab Studio (`demo/device_lab/studio`) runs a detailed suite per
|
|
291
|
+
reader against live twins, with or without an injected fault.
|
|
292
|
+
|
|
244
293
|
### 2.6 Twins in a separate process
|
|
245
294
|
|
|
246
295
|
For crash isolation or heavy models, run a twin in a child process. Simulated time is then real time,
|
|
@@ -1912,6 +1912,11 @@ def _create_demo_structure(tests_root: Path, test_data_dir: Path) -> None:
|
|
|
1912
1912
|
device_dir.mkdir(parents=True, exist_ok=True)
|
|
1913
1913
|
print(f" created {device_dir}/")
|
|
1914
1914
|
_write_if_new(device_dir / "test_demo_device.py", _EXAMPLE_DEVICE)
|
|
1915
|
+
# Reader demos — barcode, RFID, fingerprint, employee badge, card terminal (bench: readers).
|
|
1916
|
+
from pyplaykit.devices.demo_examples import READER_EXAMPLES
|
|
1917
|
+
|
|
1918
|
+
for name, source in READER_EXAMPLES.items():
|
|
1919
|
+
_write_if_new(device_dir / name, source)
|
|
1915
1920
|
|
|
1916
1921
|
# Bundled SQLite demo database that the database demos read from.
|
|
1917
1922
|
_create_demo_sqlite_db(test_data_dir)
|
|
@@ -2430,12 +2435,13 @@ def _init(
|
|
|
2430
2435
|
print(" │ ├── api/ # API tests by domain")
|
|
2431
2436
|
print(" │ └── database/ # Database tests by category")
|
|
2432
2437
|
print(" └── demo/ # Runnable reference tests")
|
|
2433
|
-
print(" └── functional/{ui,api,database}/")
|
|
2438
|
+
print(" └── functional/{ui,api,database,device}/")
|
|
2434
2439
|
print()
|
|
2435
2440
|
print(" 4. Try the demo tests (runnable out of the box):")
|
|
2436
2441
|
print(" pytest tests/demo/functional/api/ # public REST API")
|
|
2437
2442
|
print(" pytest tests/demo/functional/database/ # bundled SQLite db")
|
|
2438
2443
|
print(" pytest tests/demo/functional/ui/ # saucedemo.com")
|
|
2444
|
+
print(" pytest tests/demo/functional/device/ # simulated thermostat and readers")
|
|
2439
2445
|
print()
|
|
2440
2446
|
print(" 5. Add more projects at any time:")
|
|
2441
2447
|
print(" pyplaykit init . --multi --project-names=projA,projB")
|
|
@@ -2452,12 +2458,13 @@ def _init(
|
|
|
2452
2458
|
print(" │ ├── api/ # API tests by domain")
|
|
2453
2459
|
print(" │ └── database/ # Database tests by category")
|
|
2454
2460
|
print(" └── demo/ # Runnable reference tests")
|
|
2455
|
-
print(" └── functional/{ui,api,database}/")
|
|
2461
|
+
print(" └── functional/{ui,api,database,device}/")
|
|
2456
2462
|
print()
|
|
2457
2463
|
print(" 4. Try the demo tests (runnable out of the box):")
|
|
2458
2464
|
print(" pytest tests/demo/functional/api/ # public REST API")
|
|
2459
2465
|
print(" pytest tests/demo/functional/database/ # bundled SQLite db")
|
|
2460
2466
|
print(" pytest tests/demo/functional/ui/ # saucedemo.com")
|
|
2467
|
+
print(" pytest tests/demo/functional/device/ # simulated thermostat and readers")
|
|
2461
2468
|
print()
|
|
2462
2469
|
print(" 5. Add your tests to the appropriate directory:")
|
|
2463
2470
|
print(" UI: tests/functional/ui/<feature>/")
|
|
@@ -2627,6 +2634,13 @@ _DOC_CATALOG: list[tuple[str, list[dict[str, str | None]]]] = [
|
|
|
2627
2634
|
"desc": "The 9-layer architecture and how the pieces fit"},
|
|
2628
2635
|
],
|
|
2629
2636
|
),
|
|
2637
|
+
(
|
|
2638
|
+
"Device & embedded automation",
|
|
2639
|
+
[
|
|
2640
|
+
{"slug": "devices", "path": "docs/DEVICE_AUTOMATION_GUIDE.md", "source": "docs/device_automation/GUIDE.md",
|
|
2641
|
+
"desc": "DUTs, digital twins (thermostat to card terminal), faults, the device pool"},
|
|
2642
|
+
],
|
|
2643
|
+
),
|
|
2630
2644
|
(
|
|
2631
2645
|
"Advanced & operations",
|
|
2632
2646
|
[
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Device & embedded automation — DUTs (devices under test), benches and their simulation twins.
|
|
2
|
+
# Nothing here is loaded, connected or simulated unless a test requests the `dut` / `device_factory`
|
|
3
|
+
# fixtures, so projects without devices can ignore this file.
|
|
4
|
+
#
|
|
5
|
+
# Values support ${ENV_VAR} and ${SECRET:key}; they are resolved per DUT only when that DUT is used.
|
|
6
|
+
# Mode: --pyplaykit-dut-mode sim|emu|hil (or PYPLAYKIT_DUT_MODE; default below)
|
|
7
|
+
# Bench: --pyplaykit-bench <name> (or PYPLAYKIT_BENCH)
|
|
8
|
+
#
|
|
9
|
+
# Inspect: pyplaykit devices list | show <dut> | check | scenarios | report | catalog
|
|
10
|
+
# pyplaykit-mcp list-devices | get-device-status <dut> | check-bench-readiness
|
|
11
|
+
devices:
|
|
12
|
+
default_mode: sim
|
|
13
|
+
|
|
14
|
+
duts:
|
|
15
|
+
demo-thermostat:
|
|
16
|
+
description: Reference thermostat (tests/demo/functional/device)
|
|
17
|
+
capabilities: [serial]
|
|
18
|
+
properties: {fw: 2.1.0}
|
|
19
|
+
channels:
|
|
20
|
+
# On a real bench: the thermostat's USB-UART port. In sim mode the port is replaced by the twin's.
|
|
21
|
+
console: {type: serial, port: "${PYPLAYKIT_DEMO_THERMOSTAT_PORT}", baudrate: 115200}
|
|
22
|
+
health:
|
|
23
|
+
- {channel: console, send: version, expect: "FW=\\S+", timeout: 5}
|
|
24
|
+
sim:
|
|
25
|
+
twin: pyplaykit.devices.sim.twins:ThermostatTwin
|
|
26
|
+
args: {ambient: 18.0, target: 20.0, telemetry: false}
|
|
27
|
+
|
|
28
|
+
# ── Readers (tests/demo/functional/device/test_demo_<reader>.py) ──────────────────────────────────
|
|
29
|
+
# The examples act out the physical side (a label, tag, finger, badge or card) through the twin, so
|
|
30
|
+
# most are sim_only; on a real bench point the variables at the readers and a person does that part.
|
|
31
|
+
demo-barcode:
|
|
32
|
+
description: Barcode scanner in serial (USB-CDC) mode
|
|
33
|
+
capabilities: [serial, reader, barcode]
|
|
34
|
+
properties: {fw: 3.2.0}
|
|
35
|
+
channels:
|
|
36
|
+
console: {type: serial, port: "${PYPLAYKIT_DEMO_BARCODE_PORT}", baudrate: 115200}
|
|
37
|
+
sim:
|
|
38
|
+
twin: pyplaykit.devices.sim.twins:BarcodeScannerTwin
|
|
39
|
+
|
|
40
|
+
demo-rfid:
|
|
41
|
+
description: UHF RFID reader (EPC Gen2) at a warehouse dock door
|
|
42
|
+
capabilities: [serial, reader, rfid]
|
|
43
|
+
properties: {fw: 4.0.1}
|
|
44
|
+
channels:
|
|
45
|
+
console: {type: serial, port: "${PYPLAYKIT_DEMO_RFID_PORT}", baudrate: 115200}
|
|
46
|
+
sim:
|
|
47
|
+
twin: pyplaykit.devices.sim.twins:RfidReaderTwin
|
|
48
|
+
|
|
49
|
+
demo-fingerprint:
|
|
50
|
+
description: Fingerprint scanner module (enrol, verify, identify)
|
|
51
|
+
capabilities: [serial, reader, biometric]
|
|
52
|
+
properties: {fw: 1.6.0}
|
|
53
|
+
channels:
|
|
54
|
+
console: {type: serial, port: "${PYPLAYKIT_DEMO_FINGERPRINT_PORT}", baudrate: 57600}
|
|
55
|
+
sim:
|
|
56
|
+
twin: pyplaykit.devices.sim.twins:FingerprintScannerTwin
|
|
57
|
+
|
|
58
|
+
demo-badge:
|
|
59
|
+
description: Employee ID badge reader on a door access controller
|
|
60
|
+
capabilities: [http, mqtt, reader, access-control]
|
|
61
|
+
channels:
|
|
62
|
+
api: {type: http, base_url: "${PYPLAYKIT_DEMO_BADGE_URL}"}
|
|
63
|
+
events: {type: mqtt, host: "${PYPLAYKIT_DEMO_MQTT_HOST}", port: "${PYPLAYKIT_DEMO_MQTT_PORT}",
|
|
64
|
+
subscribe: ["access/#"]}
|
|
65
|
+
sim:
|
|
66
|
+
twin: pyplaykit.devices.sim.twins:BadgeAccessTwin
|
|
67
|
+
|
|
68
|
+
demo-payment:
|
|
69
|
+
description: Debit/credit card terminal (test cards only)
|
|
70
|
+
capabilities: [http, reader, payment]
|
|
71
|
+
channels:
|
|
72
|
+
api: {type: http, base_url: "${PYPLAYKIT_DEMO_PAYMENT_URL}"}
|
|
73
|
+
sim:
|
|
74
|
+
twin: pyplaykit.devices.sim.twins:PaymentTerminalTwin
|
|
75
|
+
|
|
76
|
+
benches:
|
|
77
|
+
demo: {duts: [demo-thermostat], description: Demo bench (simulated)}
|
|
78
|
+
readers:
|
|
79
|
+
description: Identification and payment readers - barcode, RFID, fingerprint, employee badge, card terminal
|
|
80
|
+
duts: [demo-barcode, demo-rfid, demo-fingerprint, demo-badge, demo-payment]
|
|
81
|
+
|
|
82
|
+
# Named fault sets for @pytest.mark.fault("<name>"):
|
|
83
|
+
fault_scenarios:
|
|
84
|
+
lossy-console: [{kind: drop, probability: 0.1, channel: console}, {kind: latency, delay: 0.05}]
|
|
85
|
+
|
|
86
|
+
# Device pool — leases, health checks, quarantine (off by default):
|
|
87
|
+
# pool: {enabled: true, backend: file, quarantine_after: 3}
|
|
88
|
+
#
|
|
89
|
+
# Per-environment overlays, deep-merged over the settings above:
|
|
90
|
+
# environments:
|
|
91
|
+
# uat:
|
|
92
|
+
# default_mode: hil
|
|
93
|
+
# duts: {demo-thermostat: {channels: {console: {port: COM7}}}}
|