Skip to main content

The RPC framework of autojs allows you to use Python to operate phone.

Project description

autojs

The RPC framework of autojs allows you to use Python to operate phone.

Usage

1.Download and install AutoX.js

2.Add autox-client.js to AutoX.js app, then run this script

3.Install autojs

$ pip install autojs

script mode

from autojs import AutoJS

with AutoJS() as auto_js:
    auto_js.app.launchApp('微信').call()
    auto_js.eval('console.log("Hello AutoX.js")')

shell mode

from autojs import AutoJS

with AutoJS() as auto_js:
    auto_js.shell()

Documentation

AutoX.js API documentation at <http://doc.autoxjs.com>.

Meta

Distributed under the MIT license. See LICENSE <https://github.com/miloira/autojs/LICENSE> for more information.

https://github.com/miloira/autojs

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

autojs-0.1.6.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file autojs-0.1.6.tar.gz.

File metadata

  • Download URL: autojs-0.1.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for autojs-0.1.6.tar.gz
Algorithm Hash digest
SHA256 edb155a391e21bb85d5a7cd18f5ec23a158677167b7ee7c095c83c1cf82a53d1
MD5 2753a5c4f75badf2898a60f54a829e06
BLAKE2b-256 ec3545694c8f080bf05e20756564f2f053b1079a1e05806b87ce31553f1d648f

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