adb-push-create


Nameadb-push-create JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/adb_push_create
Summarycreates [nested] folders and pushes files with ADB
upload_time2023-07-16 19:36:12
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords adb
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# creates [nested] folders and pushes files with ADB

## Tested against Windows 10 / Python 3.10 / Anaconda 

### pip install adb-push-create

```python
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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/adb_push_create",
    "name": "adb-push-create",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adb",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/26/06/70dbcf7e0843045306b8a17a7c8ba6e2773675c09bc8c7f45a10ded38160/adb_push_create-0.11.tar.gz",
    "platform": null,
    "description": "\r\n# creates [nested] folders and pushes files with ADB\r\n\r\n## Tested against Windows 10 / Python 3.10 / Anaconda \r\n\r\n### pip install adb-push-create\r\n\r\n```python\r\nfrom adb_push_create import push_file,make_folders\r\nadb_path = r\"C:\\ProgramData\\chocolatey\\bin\\adb.exe\"\r\ndeviceserial = \"xxxx\"\r\nmake_folders(adb_path, deviceserial,path2create='/sdcard/DCIM/0/12/4')\r\ncopyok = push_file(\r\n    adb_path=adb_path,\r\n    deviceserial=deviceserial,\r\n    file=r\"C:\\xdf - Copy.m4v\",\r\n    dest=\"/sdcard/DCIM/0/12/4/12/4/5\", # path does not exist yet\r\n)\r\nprint(copyok)\r\nTrue\r\n```\r\n\r\nContribution\r\nContributions 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.\r\n\r\nLicense\r\nThis project is licensed under the MIT License.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "creates [nested] folders and pushes files with ADB",
    "version": "0.11",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/adb_push_create"
    },
    "split_keywords": [
        "adb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff2a29ef59beaf5aea0ebdec430c39f670c4920de0e58b0962957ff064739058",
                "md5": "cb40244ebfa541f8c8dfa1fde840a8f8",
                "sha256": "2afa59e37ac3eb35d7ca5b27d17169028dd19ef82dee1cfd495075d331e6aa44"
            },
            "downloads": -1,
            "filename": "adb_push_create-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb40244ebfa541f8c8dfa1fde840a8f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5045,
            "upload_time": "2023-07-16T19:36:10",
            "upload_time_iso_8601": "2023-07-16T19:36:10.962558Z",
            "url": "https://files.pythonhosted.org/packages/ff/2a/29ef59beaf5aea0ebdec430c39f670c4920de0e58b0962957ff064739058/adb_push_create-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "260670dbcf7e0843045306b8a17a7c8ba6e2773675c09bc8c7f45a10ded38160",
                "md5": "23683e0ef6ce7fab89208638058b823c",
                "sha256": "f6ba107af201efa2ed27d190a3a18c17a8a6c25f1a5698dc3f2c8f3ccdea6b56"
            },
            "downloads": -1,
            "filename": "adb_push_create-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "23683e0ef6ce7fab89208638058b823c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4117,
            "upload_time": "2023-07-16T19:36:12",
            "upload_time_iso_8601": "2023-07-16T19:36:12.561452Z",
            "url": "https://files.pythonhosted.org/packages/26/06/70dbcf7e0843045306b8a17a7c8ba6e2773675c09bc8c7f45a10ded38160/adb_push_create-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-16 19:36:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "adb_push_create",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "adb-push-create"
}
        
Elapsed time: 0.09055s