MCPcopy Create free account

hub / github.com/AmauryCarrade/MastodonToTwitter / functions

Functions31 in github.com/AmauryCarrade/MastodonToTwitter

↓ 20 callersFunctionlgt
Prints a log message namespaced with the current thread. :param message: A message to be logged.
mtt/utils.py:113
↓ 4 callersMethodmark_toot_sent
(self, toot_id)
mtt/utils.py:32
↓ 3 callersFunctioncalc_expected_status_length
(status, short_url_length=23)
mtt/utils.py:121
↓ 3 callersFunctionlg
Prints a log message. :param namespace: A namespace. If None, uses the current thread name. :param message: A message to be logged.
mtt/utils.py:102
↓ 2 callersMethod_get_tweet_full_text
(tweet)
mtt/twitter_to_mastodon.py:36
↓ 2 callersMethodassociate_status
Associates a tweet and a toot in the associations file. :param toot_id: The toot ID :param tweet_id: The tweet ID
mtt/utils.py:48
↓ 2 callersFunctionget_variables_in_module
(module_name: str)
mtt/__init__.py:31
↓ 2 callersMethodmark_tweet_sent
(self, tweet_id)
mtt/utils.py:36
↓ 2 callersMethodsave_status_associations
(self)
mtt/utils.py:57
↓ 2 callersMethodtransfer_media
Transfers a media from a network to another. :param media_url: The media URL. :param to: The destination ('twitter' or 'mast
mtt/utils.py:65
↓ 2 callersMethodupdate_twitter_link_length
(self)
mtt/mastodon_to_twitter.py:45
↓ 1 callersMethod_are_same_accounts
Checks if the two accounts are the same, i.e. - with the same ID; - from the same instance. :param first: An account
mtt/mastodon_to_twitter.py:54
↓ 1 callersFunctioncheck_credentials
Checks if the credentials are available for use.
mtt/credentials.py:13
↓ 1 callersMethodinit_process
(self)
mtt/twitter_to_mastodon.py:28
↓ 1 callersMethodinit_process
(self)
mtt/mastodon_to_twitter.py:36
↓ 1 callersMethodis_from_us
(self, account)
mtt/mastodon_to_twitter.py:74
↓ 1 callersMethodis_toot_sent_by_us
(self, toot_id)
mtt/utils.py:40
↓ 1 callersMethodis_tweet_sent_by_us
(self, tweet_id)
mtt/utils.py:44
↓ 1 callersFunctionsetup_credentials
()
mtt/credentials.py:26
↓ 1 callersFunctionsplit_status
Split toots, if need be, using Many magic numbers. status: The status text to split max_length: The maximal length of each sub statu
mtt/utils.py:136
↓ 1 callersMethodupdate
(self, other)
mtt/__init__.py:15
Method__getattr__
(self, item)
mtt/__init__.py:18
Method__getitem__
(self, item)
mtt/__init__.py:24
Method__init__
(self, mastodon_api, twitter_api, ma_account_id, tw_account_id, status_associations, sent_sta
mtt/twitter_to_mastodon.py:12
Method__init__
(self, mastodon_api, twitter_api, ma_account_id, tw_account_id, status_associations, sent_sta
mtt/mastodon_to_twitter.py:14
Method__init__
(self, publisher)
mtt/mastodon_to_twitter.py:83
Method__init__
(self, mastodon_api, twitter_api, ma_account_id, tw_account_id, status_associations, sent_sta
mtt/utils.py:17
Method__init__
(self, configuration_items)
mtt/__init__.py:12
Methodon_update
(self, toot)
mtt/mastodon_to_twitter.py:86
Methodrun
(self)
mtt/twitter_to_mastodon.py:49
Methodrun
(self)
mtt/mastodon_to_twitter.py:77