Saravanan666/pypi-org huggingface dataset:
Package: ada-url
This isada_url, a Python library for working with URLs based on theAdaURL
parser.DocumentationDevelopmentAdaInstallationInstall fromPyPI:pipinstallada_urlUsage examplesParsing URLsTheURLclass is intended to match the one described in theWHATWG URL spec:.>>>fromada_urlimportURL>>>urlobj=URL('https://example.org/path/../file.txt')>>>urlobj.href'https://example.org/path/file.txt'Theparse_urlfunction returns a dictionary of all URL elements:>>>fromada_urlimportparse_url>>>parse_url('https://user:pass@example.org:80/api?q=1#2'){'href':'https://user:pass@example.org:80/api?q=1#2','username':'user','password':'pass','protocol':'https:','port':'80','hostname':'example.org','host':'example.org:80','pathname':'/api','search':'?q=1','hash':'#2','origin':'https://example.org:80','host_type':<HostType.DEFAULT:0>,'scheme_type':<SchemeType.HTTPS:2>}Altering URLsReplacing URL components with theURLclass:>>>fromada_urlimportURL>>>urlobj=URL('https://example.org/path/../file.txt')>>>urlobj.host='example.com'>>>urlobj.href'https://example.com/file.txt'Replacing URL components with thereplace_urlfunction:>>> from ada_url import replace_url
>>> replace_url('https://example.org/path/../file.txt', host='example.com')
'https://example.com/file.txt'Search parametersTheURLSearchParamsclass is intended to match the one described in theWHATWG URL spec.>>>fromada_urlimportURLSearchParams>>>obj=URLSearchParams('key1=value1&key2=value2')>>>list(obj.items())[('key1','value1'),('key2','value2')]Theparse_search_paramsfunction returns a dictionary of search keys mapped to
value lists:>>>fromada_urlimportparse_search_params>>>parse_search_params('key1=value1&key2=value2'){'key1':['value1'],'key2':['value2']}Internationalized domain namesTheidnaclass can encode and decode IDNs:>>>fromada_urlimportidna>>>idna.encode('Bücher.example')b'xn--bcher-kva.example'>>>idna.decode(b'xn--bcher-kva.example')'bücher.example'WHATWG URL complianceThis library is compliant with the WHATWG URL spec. This means, among other things,
that it properly encodes IDNs and resolves paths:>>>fromada_urlimportURL>>>parsed_url=URL('https://www.GOoglé.com/./path/../path2/')>>>parsed_url.hostname'www.xn--googl-fsa.com'>>>parsed_url.pathname'/path2/'Contrast that with the Python standard library’surlib.parsemodule:>>>fromurllib.parseimporturlparse>>>parsed_url=urlparse('https://www.GOoglé.com/./path/../path2/')>>>parsed_url.hostname'www.googlé.com'>>>parsed_url.path'/./path/../path2/'
Package: adawat
Adawat: Arabic Language Toolkitمكتبة أدوات اللغة العربيةAdawat: Arabic Language Toolkitadawat logoPyPI - DownloadsDeveloppers: Taha Zerrouki:http://tahadz.comtaha dot zerrouki at gmail
dot comFeaturesvalueAuthorsAuthors.mdRelease0.1LicenseGPLTrackerlinuxscout/adawat/IssuesSourceGithubFeedbacksCommentsAccounts[@Twitter](https://twitter.com/linuxscout))DescriptionAdawat: Arabic Language Toolkitمزايا:تجمع هذه المكتبة كل الأدوات المستعملة في معالجة النص العربي مثل:التشكيلتشكيل النص العربي، يستحسن استعمال مكتبة مشكال، أو برنامج مشكالتشكيل مع اقتراحات تشكيلات أخرى لكل كلمةاختزال الحركات من النص المشكولإزالة التشكيلمقارنة جملة مشكولة يدويا مع ما ينتج عن برنامج التشكيلوظائف التحويلنقحرة النص العربي بحروف لاتينيةتعريب نص مكتوب بحروف لاتينيةقلب نصتفقيط: تحويل عدد إلى نصتنميط النص: توحيد الهمزات والألفاتفك تشابك الحروف العربيةالتحليل والتوليدتحليل صرفي للنصتفريق النص إلى كلمات وعلاماتتصنيف الكلمات إلى اسم وفعل وحرفتوليد كل الأشكال المختلفة للكلمةاستخلاصاستخلاص المتلازمات اللفظيةكشف اللغات المختلفةاستخلاص المسمياتاستخلاص العبارات العدديةمتفرقاتضبط قصيدة شعرية عموديةتوليد نص عشوائيFeaturesTashkeeltashkeel : vocalize text, we recomand to use mishkal-console instead.tashkeel with suggestions for every word.reduce : strip unnecessary tashkeel from avocalized textstrip : remove all harakat and shaddacompare : Compare Tashkeel between input text and the automatic
vocalized textTransformation and Converionromanize : convert an arabic script text to latin representationarabize : convert an transliterated arabic script text to arabicinverse : inverse textnumbers to words : convert numeric value to wordsnormalize : normalize letters in arabic textunshape : unshape arabic lettersAnalysis and generationstem : morphology analysis of given textstokenize : tokenize a text to wordswordtag : classify words into (nouns, verbs, stopwords)affixate : generate all word forms by affixationExtractioncollocation : extract collocations from textlanguage : detect arabic and latin clauses in textnamed : extract named enteties from textnumbered : extarct numbred clauses from textDiversaffixate : generate all word forms by affixationpoetry : format poetry texts to columns poetryrandom : get a random textCitation@thesis{zerrouki2020adawat,author={Taha Zerrouki},title={Towards An Open Platform For Arabic Language Processing},type={PhD thesis},institution={Ecole Nationale Supérieure d'informatique, Alger, Algérie},date={2020},}Usageinstallpipinstalladawatimport>>>importadawat.adaatExamplesDetailed examples and features inFeaturesTashkeeltashkeel : vocalize text, we recomand to use mishkal-console instead.tashkeel with suggestions for every word.reduce : strip unnecessary tashkeel from avocalized textstrip : remove all harakat and shaddacompare : Compare Tashkeel between input text and the automatic
vocalized text>>>lastmark=True>>>text=u"تطلع الشمس صباحا">>>adawat.adaat.tashkeel_text(text,lastmark)' تَطْلُعُ الشَّمْسُ صَبَاحًا'[requirement]asmai>=0.1
mishkal>=0.3
naftawayh>=0.4
pyarabic>=0.6.8
qalsadi>=0.3.6
repr>=0.3.1
spellcheck>=1.0.2
sylajone>=0.2
tashaphyne>=0.3.4.1
Package: adb
This repository contains a pure-python implementation of the Android
ADB and Fastboot protocols, using libusb1 for USB communications.This is a complete replacement and rearchitecture of the Android
project’s ADB and fastboot code available athttps://github.com/android/platform_system_core/tree/master/adbThis code is mainly targeted to users that need to communicate with
Android devices in an automated fashion, such as in automated
testing. It does not have a daemon between the client and the device,
and therefore does not support multiple simultaneous commands to the
same device. It does support any number of devices and never
communicates with a device that it wasn’t intended to, unlike the
Android project’s ADB.
Package: adb3
This repository contains a pure-python implementation of the Android
ADB and Fastboot protocols, using libusb1 for USB communications.This is a complete replacement and rearchitecture of the Android
project’s ADB and fastboot code available athttps://github.com/android/platform_system_core/tree/master/adbThis code is mainly targeted to users that need to communicate with
Android devices in an automated fashion, such as in automated
testing. It does not have a daemon between the client and the device,
and therefore does not support multiple simultaneous commands to the
same device. It does support any number of devices and never
communicates with a device that it wasn’t intended to, unlike the
Android project’s ADB.
Package: adbblitz
ADB - Fastest screenshots - scrcpy raw stream directly to NumPy (without scrcpy.exe) - no root required!Tested against Windows 10 / Python 3.10 / Anacondapip install adbblitzwith Google Pixel 6 - not rootedwith Bluestacks 5 - not rootedTCP - Taking multiple screenshotsIf you want to take multiple screenshots using a TCP connection, you can use AdbShotTCPImport the modulesfromadbblitzimportAdbShotUSB,AdbShotTCPUse the with statement to create an instance of the AdbShotTCP class and specify the required parametersWithin the with block, you can iterate over the shosho object to capture screenshots
After everything is done, the socket connection will be closed, you don't have to take care about anything.fromadbblitzimportAdbShotUSB,AdbShotTCPimportnumpyasnpfromtimeimporttimeimportcv2withAdbShotTCP(device_serial="localhost:5555",adb_path=r"C:\ProgramData\chocolatey\lib\scrcpy\tools\scrcpy-win64-v2.0\adb.exe",ip="127.0.0.1",port=5555,max_frame_rate=60,max_video_width=960,scrcpy_server_version="2.0",forward_port=None,frame_buffer=24,byte_package_size=131072,sleep_after_exception=0.01,log_level="info",lock_video_orientation=0,)asshosho:framecounter=0stop_at_frame=Nonefps=0start_time=time()show_screenshot=True# print(shosho)forbiinshosho:ifbi.dtype==np.uint16:continuecv2.imshow("title",bi)ifcv2.waitKey(25)&0xFF==ord("q"):# cv2.destroyAllWindows()# shosho.quit()breakfps+=1print(f"fast_ctypes_screenshots:{fps/(time()-start_time)}")TCP - Taking one screenshot at the timeIf you take only one screenshot, the connection will stay open until you call AdbShotTCP.quit()a=AdbShotTCP(device_serial="localhost:5555",adb_path=r"C:\ProgramData\chocolatey\lib\scrcpy\tools\scrcpy-win64-v2.0\adb.exe",ip="127.0.0.1",port=5037,sleep_after_exception=0.05,frame_buffer=4,lock_video_orientation=0,max_frame_rate=0,byte_package_size=131072,scrcpy_server_version="2.0",log_level="info",max_video_width=0,start_server=True,connect_to_device=True,)scr=a.get_one_screenshot()scr.quit()# closes the connectionUSB - Taking multiple screenshotsSame thing for USBwithAdbShotUSB(device_serial="xxxxx",adb_path=r"C:\ProgramData\chocolatey\lib\scrcpy\tools\scrcpy-win64-v2.0\adb.exe",adb_host_address="127.0.0.1",adb_host_port=5037,sleep_after_exception=0.05,frame_buffer=4,lock_video_orientation=0,max_frame_rate=0,byte_package_size=131072,scrcpy_server_version="2.0",log_level="info",max_video_width=0,start_server=True,connect_to_device=True,)asself:start_time,fps=time(),0forbiinself:ifbi.dtype==np.uint16:continuecv2.imshow("test",bi)fps+=1ifcv2.waitKey(25)&0xFF==ord("q"):cv2.destroyAllWindows()breakprint(f"FPS:{fps/(time()-start_time)}")cv2.destroyAllWindows()USB - Taking one screenshot at the timesu=AdbShotUSB(device_serial="xxxxxx",adb_path=r"C:\ProgramData\chocolatey\lib\scrcpy\tools\scrcpy-win64-v2.0\adb.exe",adb_host_address="127.0.0.1",adb_host_port=5037,sleep_after_exception=0.05,frame_buffer=4,lock_video_orientation=0,max_frame_rate=0,byte_package_size=131072,scrcpy_server_version="2.0",log_level="info",max_video_width=0,start_server=True,connect_to_device=True,)scr=su.get_one_screenshot()scr.quit()# closes the connection
Package: adbc-driver-flightsql
ADBC Apache Arrow Flight SQL Driver for PythonThis package contains bindings for theGolang Apache Arrow Flight SQL
driver, using thedriver managerto provide aDBAPI 2.0/PEP 249-compatibleinterface on top.BuildingDependencies: a build of the Apache Arrow Flight SQL driver, and theadbc-driver-managerPython package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.Set the environment variableADBC_FLIGHTSQL_LIBRARYto the path tolibadbc_driver_flightsql.{dll,dylib,so}before runningpip install.# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_FLIGHTSQL_LIBRARY=/path/to/libadbc_driver_flightsql.so
pip install --no-deps -e .For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify-DADBC_DRIVER_FLIGHTSQL=ONyou can also add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details on the
general build process.TestingTo run the tests, use pytest:$pytest-vvxSeeCONTRIBUTING.mdfor details on the
general test process.
Package: adbc-driver-manager
ADBC Driver Manager for PythonThis package contains bindings for the ADBC Driver Manager, as well as aDBAPI 2.0/PEP 249-compatibleinterface on top.  This can be used to
load ADBC drivers at runtime and use them from Python.  Backend-specific
packages likeadbc_driver_postgresqlwrap this package in a more convenient
interface, and should be preferred where they exist.The DBAPI 2.0 interface requires PyArrow, and exposes a number of extensions
mimicking those ofTurbodbcorDuckDB's Python packages
to allow you to retrieve Arrow Table objects instead of being limited to the
row-oriented API of the base DBAPI interface.BuildingDependencies: a C++ compiler.For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. You can add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details.TestingTheSQLite drivermust be loadable
at runtime (e.g. it must be onLD_LIBRARY_PATH,DYLD_LIBRARY_PATH,
orPATH).SeeCONTRIBUTING.mdfor details.$exportLD_LIBRARY_PATH=path/to/sqlite/driver/
$pytest-vvx
Package: adbc-driver-netezza
ADBC Netezza Driver for PythonThis package contains bindings for theNetezza driver, using
thedriver managerto provide aDBAPI 2.0/PEP
249-compatibleinterface on top.Exampleimportadbc_driver_netezza.dbapiuri="netezza://username:password@localhost:5480/database_name"withadbc_driver_netezza.dbapi.connect(uri)asconn:withconn.cursor()ascur:cur.execute("SELECT 1")print(cur.fetch_arrow_table())BuildingDependencies: a build of the Netezza driver, and theadbc-driver-managerPython package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.Set the environment variableADBC_NETEZZA_LIBRARYto the path tolibadbc_driver_netezza.sobefore runningpip install.# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_NETEZZA_LIBRARY=/path/to/libadbc_driver_netezza.so
pip install --no-deps -e .For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify-DADBC_DRIVER_NETEZZA=ONyou can also add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details on the
general build process.TestingA running instance of Netezza is required.To run the tests, set the environment variable specifying the
Netezza URI before running tests:$exportADBC_NETEZZA_TEST_URI=netezza://localhost:5432/netezza?user=username&password=password
$pytest-vvxSeeCONTRIBUTING.mdfor details on the
general test process.
Package: adbc-driver-postgresql
ADBC PostgreSQL Driver for PythonThis package contains bindings for thePostgreSQL driver, using
thedriver managerto provide aDBAPI 2.0/PEP
249-compatibleinterface on top.Exampleimportadbc_driver_postgresql.dbapiuri="postgresql://postgres:password@localhost:5432/postgres"withadbc_driver_postgresql.dbapi.connect(uri)asconn:withconn.cursor()ascur:cur.execute("SELECT 1")print(cur.fetch_arrow_table())BuildingDependencies: a build of the PostgreSQL driver, and theadbc-driver-managerPython package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.Set the environment variableADBC_POSTGRESQL_LIBRARYto the path tolibadbc_driver_postgresql.{dll,dylib,so}before runningpip install.# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_POSTGRESQL_LIBRARY=/path/to/libadbc_driver_postgresql.so
pip install --no-deps -e .For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify-DADBC_DRIVER_POSTGRESQL=ONyou can also add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details on the
general build process.TestingA running instance of PostgreSQL is required.  For example, using Docker:$dockerrun-it--rm\-ePOSTGRES_PASSWORD=password\-ePOSTGRES_DB=tempdb\-p5432:5432\postgresThen, to run the tests, set the environment variable specifying the
PostgreSQL URI before running tests:$exportADBC_POSTGRESQL_TEST_URI=postgresql://localhost:5432/postgres?user=postgres&password=password
$pytest-vvxSeeCONTRIBUTING.mdfor details on the
general test process.
Package: adbc-driver-snowflake
ADBC Snowflake Driver for PythonThis package contains bindings for theSnowflake driver, using
thedriver managerto provide aDBAPI 2.0/PEP
249-compatibleinterface on top.BuildingDependencies: a build of the Snowflake driver, and theadbc-driver-managerPython package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.Set the environment variableADBC_SNOWFLAKE_LIBRARYto the path tolibadbc_driver_snowflake.{dll,dylib,so}before runningpip install.# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_SNOWFLAKE_LIBRARY=/path/to/libadbc_driver_snowflake.so
pip install --no-deps -e .For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify-DADBC_DRIVER_SNOWFLAKE=ONyou can also add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details on the
general build process.TestingTo run the tests, use pytest:$pytest-vvxSeeCONTRIBUTING.mdfor details on the
general test process.
Package: adbc-driver-sqlite
ADBC SQLite Driver for PythonThis package contains bindings for theADBC SQLite driver, using thedriver managerto provide aDBAPI 2.0/PEP
249-compatibleinterface on top.Exampleimportadbc_driver_sqlite.dbapiwithadbc_driver_sqlite.dbapi.connect()asconn:withconn.cursor()ascur:cur.execute("SELECT 1")print(cur.fetch_arrow_table())BuildingDependencies: a build of the SQLite driver, and theadbc-driver-managerPython package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.Set the environment variableADBC_SQLITE_LIBRARYto the path tolibadbc_driver_sqlite.{dll,dylib,so}before runningpip install.# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_SQLITE_LIBRARY=/path/to/libadbc_driver_sqlite.so
pip install --no-deps -e .For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify-DADBC_DRIVER_SQLITE=ONyou can also add-DADBC_BUILD_PYTHON=ONto define apythontarget.For example, assuming you run cmake from the project root:cmake-Sc-Bbuild--presetdebug-DADBC_BUILD_PYTHON=ON
cmake--buildbuild--targetpythonwill properly build and install the Python library for you.SeeCONTRIBUTING.mdfor details on the
general build process.TestingTo run the tests, use pytest:$pytest-vvxSeeCONTRIBUTING.mdfor details on the
general test process.
Package: adb-cloud-connector
ArangoDB Cloud ConnectorProvides access to temporary ArangoDB Cloud instance provisioning, for graph and beyond.InstallationLatest Releasepip install adb-cloud-connectorCurrent Statepip install git+https://github.com/arangodb/adb_cloud_connector.gitQuickstartfromadb_cloud_connectorimportget_temp_credentialscon=get_temp_credentials()print(con)Development & Testinggit clone https://github.com/arangodb/adb_cloud_connector.gitcd adb_cloud_connector(create virtual environment of choice)pip install -e .[dev]pytest
Package: adbdevicechanger
Changes android_id / device_namepip install adbdevicechangerTested against Python 3.9.15 / Windows 10 / Anaconda / BlueStacks 5.9.300.1014 N32Probably needs root on any device, tested only with BlueStacks.fromadbdevicechangerimportAdbChangeradc=AdbChanger(adb_path="C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe",deviceserial="localhost:5555",)adc.connect_to_device()adc.change_android_id_and_device_name(modelregex=".*",developerregex=".*",androidfullnameregex=".*",year=">1",month=">0",versionnumberaround=7.05,)adc.change_android_id()adc.change_device_name(modelregex=".*",developerregex=".*",androidfullnameregex=".*",year=">1",month=">0",versionnumberaround=7.05,)dfframe=AdbChanger.get_random_android_cellphones(modelregex="Samsung.*",developerregex=".*",androidfullnameregex=".*",year=">2010",month=">0",versionnumberaround=9.05,howmany=10,return_list=False,)print(dfframe)r"""b'Row: 0 _id=2331, name=android_id, value=9d7f16c50ea84d99\r\n'b'Row: 0 _id=222, name=device_name, value=Redmi 5A\r\n'b'Row: 0 _id=2332, name=android_id, value=4ea89127afab45b4\r\n'b'Row: 0 _id=222, name=device_name, value=Redmi 5A\r\n'b'Row: 0 _id=2332, name=android_id, value=4ea89127afab45b4\r\n'b'Row: 0 _id=223, name=device_name, value=ZTE Axon 7s\r\n'aa_model  ...              uuid0       Samsung Galaxy A21s  ...  c20ef8d006bd44db1   Samsung Galaxy Z Fold 2  ...  0dfccdf0fe6846492       Samsung Galaxy A10e  ...  ea74e780e3404b283       Samsung Galaxy A20s  ...  52b35c30faa249a34        Samsung Galaxy A10  ...  abe17cb2a0b0422b5  Samsung Galaxy Xcover 4s  ...  c966c462ce0442786        Samsung Galaxy A41  ...  6818973df8c1492a7        Samsung Galaxy A70  ...  2e2fbf456043410a8        Samsung Galaxy M02  ...  5d6b729f461840469        Samsung Galaxy A21  ...  4a4bd271ec60473d[10 rows x 10 columns]"""
Package: adbeasykey
handles spaces, accents and other sneaky characters in ADB commandsTested against Windows / Python 3.11 / Anacondapip install adbeasykeyfromadbeasykeyimportAdbEasyKeyadbpath=r"C:\Android\android-sdk\platform-tools\adb.exe"serial_number="127.0.0.1:5555"adb=AdbEasyKey(adbpath,serial_number,use_busybox=False)# if use_busybox is True, busybox will be used to decode the base64-encoded commandadb.connect_to_device_ps()adb.connect_to_device_subprocess()text=f'"it\'s me", he said then he went away "Montréal, über, 12.89, Mère, Françoise, noël, 889 groß"""'adb.install_adb_keyboard()adb.input_text_adb_keyboard_ps(text,change_back=True,sleeptime=(0,0),add_exit=True)# preserves accents - suffix _ps is for use Windows Powershelladb.input_text_adb_keyboard_subprocess(text,change_back=True,sleeptime=(0.1,0.2),add_exit=True)# preserves accentsadb.keyevents.KEYCODE_A.press_ps()adb.keyevents.KEYCODE_A.press_subproc()adb.keyevents.KEYCODE_A.longpress_subproc()adb.keyevents.KEYCODE_A.longpress_ps()adb.input_text_ps(text)# doesn't preserve accentsadb.input_text_ps(text,remove_accents=True)# ç -> cadb.input_text_ps(text,sleeptime=(0.1,0.2),remove_accents=True)# one by oneadb.input_text_ps(text,sleeptime=(0.1,0.2),remove_accents=True,input_device='keyboard')adb.keyevents.KEYCODE_A.longpress_ps.gamepad()adb.keyevents.KEYCODE_A.longpress_ps.keyboard()adb.input_text_subprocess(text)# doesn't preserve accentsadb.input_text_subprocess(text,remove_accents=True)# ç -> cadb.input_text_subprocess(text,sleeptime=(0.1,0.2),remove_accents=True)stdout,stderr=adb.adb_shell_ps("ls / -1 -R -i -H -las")stdout,stderr=adb.adb_shell_ps("ls /data")# no permissionstdout,stderr=adb.adb_shell_ps("ls /data",su=True)# permissionstdout,stderr=adb.adb_shell_ps('mkdir "/sdcard/bub ö äß"')stdout,stderr=adb.adb_shell_ps("ls /sdcard/")stdout,stderr=adb.adb_shell_subprocess("ls / -1 -R -i -H -las")stdout,stderr=adb.adb_shell_subprocess("ls /data")# no permissionstdout,stderr=adb.adb_shell_subprocess("ls /data",su=True)# permissionstdout,stderr=adb.adb_shell_subprocess('mkdir "/sdcard/#gx bub ö äß"')stdout,stderr=adb.adb_shell_subprocess("ls /sdcard/")stdout,stderr=adb.adb_ps(cmd=r"push C:\Users\hansc\Downloads\Roger LeRoy Miller, Daniel K. Benjamin, Douglass C. North - The Economics of Public Issues-Pearson College Div (2017).pdf /sdcard/Download/testbba.pdf")stdout,stderr=adb.adb_subprocess(cmd=r"push C:\Users\hansc\Downloads\Roger LeRoy Miller, Daniel K. Benjamin, Douglass C. North - The Economics of Public Issues-Pearson College Div (2017).pdf /sdcard/Download/testbba.pdf")stdout,stderr=adb.adb_shell_ps("input swipe 600 600 0 0 1000\ninput swipe 0 0 600 600 1000",)adb.is_keyboard_shown()adb.get_active_keyboard()adb.change_to_adb_keyboard()adb.change_keyboard(keyboard="com.android.inputmethod.latin/.LatinIME",)