creates [nested] folders and pushes files with ADB
Tested against Windows 10 / Python 3.10 / Anaconda
pip install adb-push-create
from adb_push_create import push_file,make_folders
adb_path = r"C:\ProgramData\chocolatey\bin\adb.exe"
deviceserial = "xxxx"
make_folders(adb_path, deviceserial,path2create='/sdcard/DCIM/0/12/4')
copyok = push_file(
adb_path=adb_path,
deviceserial=deviceserial,
file=r"C:\xdf - Copy.m4v",
dest="/sdcard/DCIM/0/12/4/12/4/5", # path does not exist yet
)
print(copyok)
True
Contribution Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
License This project is licensed under the MIT License.
Metadata
Release files for adb-push-create 0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adb_push_create-0.11.tar.gz | 4.1 kB | Without provenance | Details for adb_push_create-0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adb_push_create-0.11-py3-none-any.whl | Python 3 | none | any | Details for adb_push_create-0.11-py3-none-any.whl |
Total release size: 9.2 kB
Release files / adb_push_create-0.11.tar.gz
| Download URL | adb_push_create-0.11.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6ba107af201efa2ed27d190a3a18c17a8a6c25f1a5698dc3f2c8f3ccdea6b56
|
|
BLAKE2b-256 checksum How to use checksums |
260670dbcf7e0843045306b8a17a7c8ba6e2773675c09bc8c7f45a10ded38160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / adb_push_create-0.11-py3-none-any.whl
| Download URL | adb_push_create-0.11-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2afa59e37ac3eb35d7ca5b27d17169028dd19ef82dee1cfd495075d331e6aa44
|
|
BLAKE2b-256 checksum How to use checksums |
ff2a29ef59beaf5aea0ebdec430c39f670c4920de0e58b0962957ff064739058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for adb-push-create 0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.