Python CLI for the Nook Android instrumentation server
Project description
Nook Python Host Package
host/nook-py provides the Python host SDK and CLI for Nook.
It exposes:
nook-cli
Install
Install from PyPI:
pip install nook-cli
Verify:
nook-cli --help
Prerequisite
nook-cli expects a running nook-server on the Android device.
The Python package does not build or launch the Android server automatically. Download nook-server from the matching GitHub Release, then push and start it manually:
adb push .\nook-server /data/local/tmp/nook/nook-server
adb shell "su -c 'chmod 755 /data/local/tmp/nook/nook-server'"
adb shell "su -c '/data/local/tmp/nook/nook-server'"
Common Usage
Attach:
nook-cli -U com.demo.target -l .\hook.js
Spawn:
nook-cli -U -f com.demo.target -l .\hook.js
List processes:
nook-cli -U ps
List applications:
nook-cli -U apps
Notes
- Rooted Android device required
- Current primary target is
arm64-v8a --strict-zygote-controlremains experimental
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nook_cli-0.1.1.tar.gz.
File metadata
- Download URL: nook_cli-0.1.1.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
745958ca25654a1839cd472e7aafd6f44cdacb5d237ec2b0300f397a0eac1c03
|
|
| MD5 |
1ab98bdb5f3b38604e3605af97151808
|
|
| BLAKE2b-256 |
efe62d0fd747b67b86f4a3815aee7a3fc47779017fad1552c4366e9f2fd44b8c
|
File details
Details for the file nook_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nook_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
102994aacb4173f5022d5ccca571adfc6ad76fd92af42a3d2e3485ef05ff6c56
|
|
| MD5 |
b21022ef4e2e02e4694b52667bb2958d
|
|
| BLAKE2b-256 |
57a3cc1e8218cf4abc0ed6be56efd3e0fae6c7389118806303942abdd32110d6
|