python-twitter-tools/twitter ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python library for working with the Twitter API, plus a simple command line tool.

I want it to let me log in with Twitter credentials, fetch timelines, look up users, search tweets, post tweets, send direct messages, like tweets, and upload images. It should return easy to use Python data like dictionaries and lists, and also support a streaming mode for live updates. The command line tool should let me view my tweets, recent replies, public timeline, and lists, and also follow or unfollow accounts from the terminal.

If it makes sense, include a way to dump tweets to text for backups and a tiny IRC bot that can announce tweets from followed accounts. Keep it straightforward and easy to use, with clear examples in the README. Look up current Twitter API docs online if you need to, since the old project is archived.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab