Skip to content

Commit

Permalink
Rename package to aio_adb_shell
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed May 7, 2020
1 parent 8cc381c commit d2d1a72
Show file tree
Hide file tree
Showing 59 changed files with 210 additions and 213 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -31,11 +31,11 @@ To enable debug logging in Home Assistant:
logger:
default: warning # or whatever
logs:
adb_shell: debug
aio_adb_shell: debug
```

#### Approach 2: `logger.set_level` service

```yaml
adb_shell: debug
aio_adb_shell: debug
```
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -2,7 +2,7 @@
*.idea
*.pyc
**/__pycache__/
adb_shell.egg-info
aio_adb_shell.egg-info

# Build files
build/
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -5,8 +5,8 @@ python:
- "3.8"
install:
- pip install .
- pip install flake8 pylint coveralls cryptography
- pip install flake8 pylint coveralls cryptography pycryptodome
script:
- flake8 adb_shell/ && pylint adb_shell/ && coverage run --source adb_shell setup.py test && coverage report -m
- flake8 aio_adb_shell/ && pylint aio_adb_shell/ && coverage run --source aio_adb_shell setup.py test && coverage report -m
after_success:
- coveralls
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -8,7 +8,7 @@ release:
.PHONY: docs
docs:
rm -rf docs/build/html
@cd docs && sphinx-apidoc -f -e -o source/ ../adb_shell/
@cd docs && sphinx-apidoc -f -e -o source/ ../aio_adb_shell/
@cd docs && make html && make html

.PHONY: doxygen
Expand All @@ -22,16 +22,16 @@ test:

.PHONY: coverage
coverage:
coverage run --source adb_shell setup.py test && coverage html && coverage report -m
coverage run --source aio_adb_shell setup.py test && coverage html && coverage report -m

.PHONY: tdd
tdd:
coverage run --source adb_shell setup.py test && coverage report -m
coverage run --source aio_adb_shell setup.py test && coverage report -m

.PHONY: lint
lint:
flake8 adb_shell/ && pylint adb_shell/
flake8 aio_adb_shell/ && pylint aio_adb_shell/

.PHONY: alltests
alltests:
flake8 adb_shell/ && pylint adb_shell/ && coverage run --source adb_shell setup.py test && coverage report -m
flake8 aio_adb_shell/ && pylint aio_adb_shell/ && coverage run --source aio_adb_shell setup.py test && coverage report -m
12 changes: 6 additions & 6 deletions README.rst
@@ -1,11 +1,11 @@
adb\_shell
==========

.. image:: https://travis-ci.com/JeffLIrion/adb_shell.svg?branch=master
:target: https://travis-ci.com/JeffLIrion/adb_shell
.. image:: https://travis-ci.com/JeffLIrion/aio_adb_shell.svg?branch=master
:target: https://travis-ci.com/JeffLIrion/aio_adb_shell

.. image:: https://coveralls.io/repos/github/JeffLIrion/adb_shell/badge.svg?branch=master
:target: https://coveralls.io/github/JeffLIrion/adb_shell?branch=master
.. image:: https://coveralls.io/repos/github/JeffLIrion/aio_adb_shell/badge.svg?branch=master
:target: https://coveralls.io/github/JeffLIrion/aio_adb_shell?branch=master


Documentation for this package can be found at https://adb-shell.readthedocs.io/.
Expand All @@ -27,8 +27,8 @@ Example Usage

.. code-block:: python
from adb_shell.adb_device import AdbDeviceTcp
from adb_shell.auth.sign_pythonrsa import PythonRSASigner
from aio_adb_shell.adb_device import AdbDeviceTcp
from aio_adb_shell.auth.sign_pythonrsa import PythonRSASigner
# Connect (no authentication necessary)
device1 = AdbDeviceTcp('192.168.0.111', 5555, default_timeout_s=9.)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/Makefile
Expand Up @@ -4,7 +4,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = adb_shell
SPHINXPROJ = aio_adb_shell
SOURCEDIR = source
BUILDDIR = build

Expand Down
2 changes: 1 addition & 1 deletion docs/make.bat
Expand Up @@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" (
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=adb_shell
set SPHINXPROJ=aio_adb_shell

if "%1" == "" goto help

Expand Down
7 changes: 0 additions & 7 deletions docs/source/adb_shell.adb_device.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.adb_message.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.auth.keygen.rst

This file was deleted.

20 changes: 0 additions & 20 deletions docs/source/adb_shell.auth.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.auth.sign_cryptography.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.auth.sign_pythonrsa.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.constants.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.exceptions.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.handle.base_handle.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/source/adb_shell.handle.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.handle.tcp_handle.rst

This file was deleted.

28 changes: 0 additions & 28 deletions docs/source/adb_shell.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/adb_shell.tcp_handle.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.adb_device.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.adb\_device module
==================================

.. automodule:: aio_adb_shell.adb_device
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.adb_message.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.adb\_message module
===================================

.. automodule:: aio_adb_shell.adb_message
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.auth.keygen.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.auth.keygen module
==================================

.. automodule:: aio_adb_shell.auth.keygen
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/aio_adb_shell.auth.rst
@@ -0,0 +1,21 @@
aio\_adb\_shell.auth package
============================

Submodules
----------

.. toctree::
:maxdepth: 4

aio_adb_shell.auth.keygen
aio_adb_shell.auth.sign_cryptography
aio_adb_shell.auth.sign_pycryptodome
aio_adb_shell.auth.sign_pythonrsa

Module contents
---------------

.. automodule:: aio_adb_shell.auth
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.auth.sign_cryptography.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.auth.sign\_cryptography module
==============================================

.. automodule:: aio_adb_shell.auth.sign_cryptography
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.auth.sign_pycryptodome.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.auth.sign\_pycryptodome module
==============================================

.. automodule:: aio_adb_shell.auth.sign_pycryptodome
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.auth.sign_pythonrsa.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.auth.sign\_pythonrsa module
===========================================

.. automodule:: aio_adb_shell.auth.sign_pythonrsa
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.constants.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.constants module
================================

.. automodule:: aio_adb_shell.constants
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.exceptions.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.exceptions module
=================================

.. automodule:: aio_adb_shell.exceptions
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/aio_adb_shell.handle.base_handle.rst
@@ -0,0 +1,7 @@
aio\_adb\_shell.handle.base\_handle module
==========================================

.. automodule:: aio_adb_shell.handle.base_handle
:members:
:undoc-members:
:show-inheritance:
19 changes: 19 additions & 0 deletions docs/source/aio_adb_shell.handle.rst
@@ -0,0 +1,19 @@
aio\_adb\_shell.handle package
==============================

Submodules
----------

.. toctree::
:maxdepth: 4

aio_adb_shell.handle.base_handle
aio_adb_shell.handle.tcp_handle

Module contents
---------------

.. automodule:: aio_adb_shell.handle
:members:
:undoc-members:
:show-inheritance:
@@ -1,7 +1,7 @@
adb\_shell.auth.sign\_pycryptodome module
aio\_adb\_shell.handle.tcp\_handle module
=========================================

.. automodule:: adb_shell.auth.sign_pycryptodome
.. automodule:: aio_adb_shell.handle.tcp_handle
:members:
:undoc-members:
:show-inheritance:

0 comments on commit d2d1a72

Please sign in to comment.