text
stringlengths
1
93.6k
"deviceDisplayXDpi": "360.000",
"build.fingerprint": device["build_fingerprint"],
"deviceDensityClassification": "360",
"sizeRangeLargest": f"{device['height']} , {device['height'] - 100}",
"deviceDensityScaled": "2.0",
"manufacturer": device["manufacturer"],
"deviceScreenLayout": "SCREENLAYOUT_SIZE_XLARGE",
"deviceTouchscreen": "TOUCHSCREEN_FINGER",
"android.hardware.audio.output": "true",
"display": device["build_id"],
"build.supportedABIs": "arm64-v8a,armeabi-v7a,armeabi",
"build.hardware": "qcom",
"screenLayoutRaw": "1",
"deviceDisplayYDpi": "360.000",
"build.product": device["codename"],
"build.device": device["codename"],
"APILevel": str(device["os_api"],),
"deviceDensityLogical": "2.0",
"android.software.verified_boot": "true",
"android.hardware.hardware_keystore": "true",
"android.hardware.camera": "true",
"android.hardware.touchscreen": "true",
"releaseVersion": str(device["os_version"]),
"android.hardware.camera.any": "true",
"carrier": "unknown",
"sizeRangeSmallest": f"{device['width']} , {device['width'] - 100}",
"android.hardware.wifi": "true",
"screenRealSize.height": str(device["height"]),
"screenRealSize.width": str(device["width"]),
"deviceDisplayPixelsHeight": str(device["height"]),
"deviceDisplayPixelsWidth": str(device["width"])
},
"schema": "http://dcaps.amazon.com/schema/dcaps_android/1"
},
"client_version": "android.1"
}
# <FILESEP>
#!/usr/bin/python
'''
natlas
natlas-cli.py
Michael Laforest
mjlaforest@gmail.com
Copyright (C) 2015-2018 Michael Laforest
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
'''
import sys
import getopt
import datetime
import os
import re
from timeit import default_timer as timer
from distutils.version import LooseVersion
import natlas
DEFAULT_OPT_DEPTH = 100
DEFAULT_OPT_TITLE = 'natlas Diagram'
DEFAULT_OPT_CONF = './natlas.conf'
class natlas_mod:
def __init__(self):
self.filename = ''
self.name = ''
self.version = ''
self.author = ''
self.authoremail = ''
self.syntax = None
self.about = None
self.help = None
self.example = None
self.entryfunc = None
self.notimer = 0
self.require_api = None
self.preload_conf = 1
def __str__(self):
return ('<name="%s", version="%s", author="%s">' % (self.name, self.version, self.author))
def __repr__(self):
return self.__str__()
try:
natlas_obj = natlas.natlas()