witchie/toot/__init__.py

12 lines
352 B
Python
Raw Normal View History

2017-04-12 14:42:04 +00:00
from collections import namedtuple
2023-03-09 10:53:33 +00:00
__version__ = '0.36.0'
2018-01-15 11:19:37 +00:00
App = namedtuple('App', ['instance', 'base_url', 'client_id', 'client_secret'])
User = namedtuple('User', ['instance', 'username', 'access_token'])
2017-04-12 14:42:04 +00:00
DEFAULT_INSTANCE = 'https://mastodon.social'
2017-04-12 14:42:04 +00:00
2017-04-19 12:47:30 +00:00
CLIENT_NAME = 'toot - a Mastodon CLI client'
2017-04-16 12:14:33 +00:00
CLIENT_WEBSITE = 'https://github.com/ihabunek/toot'