1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-07-07 02:44:16 -04:00
toot/toot/__init__.py

14 lines
369 B
Python
Raw Normal View History

2017-04-15 08:53:08 -04:00
# -*- coding: utf-8 -*-
2017-04-12 10:42:04 -04:00
from collections import namedtuple
2022-11-29 05:07:10 -05:00
__version__ = '0.30.0'
2018-01-15 06:19:37 -05:00
App = namedtuple('App', ['instance', 'base_url', 'client_id', 'client_secret'])
User = namedtuple('User', ['instance', 'username', 'access_token'])
2017-04-12 10:42:04 -04:00
DEFAULT_INSTANCE = 'mastodon.social'
2017-04-19 08:47:30 -04:00
CLIENT_NAME = 'toot - a Mastodon CLI client'
2017-04-16 08:14:33 -04:00
CLIENT_WEBSITE = 'https://github.com/ihabunek/toot'