witchie/toot/__init__.py

11 lines
322 B
Python

# -*- coding: utf-8 -*-
from collections import namedtuple
App = namedtuple('App', ['base_url', 'client_id', 'client_secret'])
User = namedtuple('User', ['username', 'access_token'])
DEFAULT_INSTANCE = 'mastodon.social'
CLIENT_NAME = 'toot - Mastodon CLI Interface'
CLIENT_WEBSITE = 'https://github.com/ihabunek/toot'