Skip to main content

面向独立 RPA Skill 的轻量 CloakBrowser 运行时

Project description

rpa-skill-runtime

独立 RPA Skill 共用的轻量 CloakBrowser 运行时,使用 Playwright API 提供任务进程、隐身 浏览器会话、JSON 动作协议和 DOM UI 工具。登录和业务动作仍由各系统 Skill 自己实现, 不安装或启动 Playwright stock Chromium。

安装

Python 最低版本为 3.10:

python3.12 -m pip install "rpa-skill-runtime>=0.1.16"
python3.12 -m cloakbrowser install

安装后,系统 Skill 直接导入 rpa_skill_runtime,不需要携带构建器源码。

任务启动时可用布尔参数 humanize 选择 CloakBrowser 拟人交互;通用默认关闭,系统 Skill 可在自己的 manage.py 声明特殊默认值。该设置在任务生命周期内固定,浏览器模式重启时 继续沿用,不影响 stealth、GeoIP 或指纹策略。

账号登录成功后立即保存 Playwright storage_state。已有登录态的任务会在成功业务动作后 自动刷新:首次变化立即写入,后续按 300 秒节流,并在正常关闭或空闲超时前落盘最后一份 待保存状态。刷新失败不改变业务动作输出,同账号并发任务采用最后写入覆盖。

发布

./publish.sh --dry-run
./publish.sh
./publish.sh --repository internal
./publish.sh --install-current
TWINE_REPOSITORY_URL=https://pypi.example.com/legacy/ ./publish.sh

发布脚本位于 rpa-skill-builder/ 根目录。默认发布到公开 PyPI;认证信息只从 ~/.pypirc 或 Twine 标准环境变量读取。正式发布后会把精确版本安装到开发 Python 和构建器 .venv,并从源码目录外验证导入。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpa_skill_runtime-0.1.16.tar.gz (72.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rpa_skill_runtime-0.1.16-py3-none-any.whl (96.3 kB view details)

Uploaded Python 3

File details

Details for the file rpa_skill_runtime-0.1.16.tar.gz.

File metadata

  • Download URL: rpa_skill_runtime-0.1.16.tar.gz
  • Upload date:
  • Size: 72.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for rpa_skill_runtime-0.1.16.tar.gz
Algorithm Hash digest
SHA256 9928250388407a9fdf767824a1fc663748ecd7e060894d6fc9a247fb36a7dc1a
MD5 5cb6ad0b86ca3b323e27716afe9496e1
BLAKE2b-256 d18f7739992372ad69f7f55e316da00076589268969d8c8bf05e9e7a6d8bc8bd

See more details on using hashes here.

File details

Details for the file rpa_skill_runtime-0.1.16-py3-none-any.whl.

File metadata

File hashes

Hashes for rpa_skill_runtime-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 734c996c37b1f495721b3ef42e0681b79c3b44248cb8bd7985998514e5a56a2a
MD5 ffab0f3e41a3e330d2cf9ab44f7f6286
BLAKE2b-256 fd3bd8454520ff8139607ea0e9be72cd9fc5ba5f34f37089ba023184b3f1710f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page