Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 823 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 823 Bytes

import-from-twitter

Don't trust PyPI for some reason? That's ok, now you can rely on Twitter for your dependencies!

Inspired by require-from-twitter.

Usage

First, hop on over to Twitter Developers and get an API key for Twitter. Throw those keys into config.json in your working directory.

pip install git+https://github.com/ianunruh/import-from-twitter.git

Then import ift and start importing modules from Twitter today! For example, use my left_pad module.

import ift
mymodule = ift.import_from_twitter('713091939805966337')

print(mymodule.left_pad('helloworld', 15)) # => "     helloworld"