Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit c610a56

Browse files
committed
Update README with new entrypoints and new history
1 parent 97e2aa9 commit c610a56

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ unlike the Android project's ADB.
1919

2020
### Using as standalone tool
2121

22+
Install using pip:
23+
24+
```sh
25+
pip install adb
26+
```
27+
28+
Once installed, two new binaries should be available: `pyadb` and `pyfastboot`.
29+
30+
```sh
31+
pyadb devices
32+
pyadb shell ls /sdcard
33+
```
34+
2235
Running `./make_tools.py` creates two files: `adb.zip` and `fastboot.zip`. They
2336
can be run similar to native `adb` and `fastboot` via the python interpreter:
2437

@@ -86,6 +99,34 @@ for i in xrange(10):
8699
* Added TcpHandle (jameyhicks)
87100
* Various timing and other changes (alusco)
88101

102+
#### 1.2.0
103+
104+
* Update to libusb1 1.6+ (bytearray output)
105+
* Add support for Python 3.6
106+
* Create adb.zip and fastboot.zip as executable tools.
107+
* Add Travis CI integration
108+
* Support multiple crypto libraries (M2Crypto + python-rsa)
109+
* Push directories
110+
111+
#### 1.3.0
112+
113+
##### Backwards Incompatible changes
114+
`adb_commands.AdbCommands()` is now a normal class rather than a collection of staticmethods. Using the following example code to get started:
115+
```py
116+
device = adb_commands.AdbCommands()
117+
device.ConnectDevice(rsa_keys=[signer])
118+
```
119+
120+
##### Other changes/fixes
121+
Many changes since 1.2.0!
122+
123+
* New entrypoints exposed by pip: pyadb and pyfastboot
124+
* Lots of Python 2/3 compatibility fixes
125+
* Windows compatibility fixes
126+
* Transfer progress available (`Push`, `Pull`, `Install`)
127+
* Handle some misbehaving devices (double CLSE bug)
128+
* New options for `Push` and `Install` (`st_mode` and `grant_permissions`)
129+
89130

90131
[coverage_img]: https://coveralls.io/repos/github/google/python-adb/badge.svg?branch=master
91132
[coverage_link]: https://coveralls.io/github/google/python-adb?branch=master

0 commit comments

Comments
 (0)