Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

twitter-sort

> 编程语言
Open source

Sort numbers with some help from the Twitter API

386 stars0 likes0 views
WebsiteGitHub

About

Sort numbers with some help from the Twitter API

Twitter Sort

Twitter Sort is a sorting algorithm that takes advantage of the Twitter API. You pass the script the numbers you would like sorted and it will tweet a request asking for somebody to sort them. When someone replies with a sorted version of the numbers, it will print them to the console and return.

Setup

Ensure you have the tweepy module installed:

bash
pip install tweepy

Or clone from the Git repository:

bash
git clone https://github.com/tweepy/tweepy.git
cd tweepy
python setup.py install

Rename settings_template.py to settings.py and fill the API_KEY and API_SECRET with your own key.

Example

bash
$ python main.py 99,9001,1337,8008,301

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonpythonsorting-algorithmstwittertwitter-api

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言