Did I find the right examples for you? yes no

All Samples(27)  |  Call(15)  |  Derive(2)  |  Import(10)
Convenience wrapper for getting application dirs.

src/q/t/qTimer-0.1.4/qtimer/env.py   qTimer(Download)
from appdirs import AppDirs
from os import path
 
APP_NAME = 'qTimer'
ORG_NAME = 'Solipsis Development'
COMMANDS_MOD = 'qtimer.commands.%s'
 
APP_DIRS = AppDirs(APP_NAME, ORG_NAME, roaming=True)
 
SCRIPT_ROOT = path.dirname(path.realpath(__file__))

src/a/p/appconfig-0.2dev/appconfig/appconfig.py   appconfig(Download)
    ConfigParser = configparser.ConfigParser
    string_types = (str,)
from appdirs import AppDirs
 
 
    def load_default(self):
        ''' Load the default config files.
            First the global config file then the user config file.
        '''
        appdir = AppDirs(self.application_name, self.application_author,
                    self.config_description[self.application_name] = {}
 
                appdir = AppDirs(self.application_name,
                        self.application_author,
                        version=self.application_version)

src/s/c/scrobblerh-1.1.2-1/scrobbler/scrobbler.py   scrobblerh(Download)
from . import info
 
from appdirs import AppDirs
from docopt import docopt
from lastfm import lfm
SECRET      = "d60a1a4d704b71c0e8e5bac98d793969"
 
dirs            = AppDirs(info.NAME, info.AUTHOR_NICK, info.VERSION)
USERS_DB_FILE   = os.path.join(dirs.user_data_dir, "sessions.db")
LIBLFM_FILE     = os.path.join(dirs.user_data_dir, "lfm.db")

src/c/o/configmgr-0.0/configmgr.py   configmgr(Download)
    """
    author = author or AUTHOR_DEFAULT
    configdir = appdirs.AppDirs(projectname, author, version)
    return py.path.local(configdir.user_data_dir)
 

src/g/o/GoogleMusic.bundle-HEAD/Contents/Libraries/Shared/gmusicapi/compat.py   GoogleMusic.bundle(Download)
 
try:
    from appdirs import AppDirs
    my_appdirs = AppDirs('gmusicapi', 'Simon Weber')
except ImportError:

src/s/e/SeriesMarker-0.0.3/seriesmarker/util/config.py   SeriesMarker(Download)
 
import logging
from appdirs import AppDirs
 
application_name = "SeriesMarker"  #: The application's name.
application_dependencies = ['pytvdbapi', 'PySide', 'appdirs', 'SQLAlchemy']  #: The required dependencies of the application.
 
dirs = AppDirs(application_name, application_author)  #: Defines platform-independent directories, used by the application.
 
loglevel = logging.INFO  #: The default log level (=INFO) of the application.

src/g/m/gmusicapi-3.1.0/gmusicapi/compat.py   gmusicapi(Download)
 
try:
    from appdirs import AppDirs
    my_appdirs = AppDirs('gmusicapi', 'Simon Weber')
except ImportError:

src/u/n/Unofficial-Google-Music-API-HEAD/gmusicapi/compat.py   Unofficial-Google-Music-API(Download)
 
try:
    from appdirs import AppDirs
    my_appdirs = AppDirs('gmusicapi', 'Simon Weber')
except ImportError:

src/i/e/iepy-HEAD/iepy/utils.py   iepy(Download)
import zipfile
 
from appdirs import AppDirs
 
 
DIRS = AppDirs('iepy', getuser())

src/c/e/cexbot-0.0.14a3/cexbot/config.py   cexbot(Download)
import appdirs, db, cexapi
 
ad = appdirs.AppDirs("cexbot", "cexbot")
_parser = ConfigParser.SafeConfigParser(allow_no_value=True)
 

  1 | 2  Next