How to use the andriller.__version__ function in andriller

To help you get started, we’ve selected a few andriller examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github den4uk / andriller / tests / test_config.py View on Github external
    ('version', __version__, '9.9.9'),
    ('update_rate', '100000', '2000000'),
    ('theme', '', 'clam'),
])
def test_update_records(conf, key, current, new):
    assert conf(key) == current
    conf.update_conf(**{conf.NS: {key: new}})
    assert conf(key) == new
github den4uk / andriller / setup.py View on Github external
from setuptools import setup
from andriller import __version__, __website__, __package_name__

req = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(req, 'rt', encoding="utf-8") as f:
    install_requires = [dep for dep in f.read().splitlines() if not dep.startswith('#')]

reme = os.path.join(os.path.dirname(__file__), 'README.md')
with open(reme, 'rt', encoding='utf-8') as f:
    long_description = f.read()


setup(
    name='andriller',
    scripts=['andriller-gui.py'],
    version=__version__,
    description='Andriller CE | Android Forensic Tools',
    author='Denis Sazonov',
    author_email='info@andriller.com',
    url=__website__,
    packages=[__package_name__],
    license='MIT License',
    keywords="andriller android forensic forensics adb dfir".split(),
    long_description=long_description,
    long_description_content_type="text/markdown",
    install_requires=install_requires,
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
github den4uk / andriller / andriller / config.py View on Github external
def make_folders_files(self):
        if not os.path.exists(self.appdirs.user_config_dir):
            os.makedirs(self.appdirs.user_config_dir)
        if not os.path.isfile(self.config_file):
            self.initialise()
        self.conf.read(self.config_file)
        if utils.totupe(__version__) > utils.totupe(self.conf[self.NS]['version']):
            self.conf[self.NS]['version'] = __version__
            conf_data = self.default_user_config()
            for k, v in conf_data[self.NS].items():
                if k not in self.conf[self.NS]:
                    self.conf[self.NS][k] = str(v)
            self.update_conf()
github den4uk / andriller / andriller / windows.py View on Github external
def set_title(self):
        title = f'{__app_name__} - {__version__}'
        self.root.title(title)
github den4uk / andriller / andriller / config.py View on Github external
def make_folders_files(self):
        if not os.path.exists(self.appdirs.user_config_dir):
            os.makedirs(self.appdirs.user_config_dir)
        if not os.path.isfile(self.config_file):
            self.initialise()
        self.conf.read(self.config_file)
        if utils.totupe(__version__) > utils.totupe(self.conf[self.NS]['version']):
            self.conf[self.NS]['version'] = __version__
            conf_data = self.default_user_config()
            for k, v in conf_data[self.NS].items():
                if k not in self.conf[self.NS]:
                    self.conf[self.NS][k] = str(v)
            self.update_conf()