- Bot for PyPI Recent Updates
- Bot will check the latest RSS(https://pypi.python.org/pypi?:action=rss) once per minute.
- https://twitter.com/pypi_updates ... This account has been permanently frozen by Twitter.
- https://twitter.com/pypi_updates2
Caution: Access level of your twitter apps must be "Read and write".
$ git clone git@github.com:tell-k/pypi-updates.git
$ cd pypi-updates-bot $ toucn .env
Write your API tokens
# .env file TWITTER_CONSUMER_KEY=[your consumer key] TWITTER_CONSUMER_SECRET=[your consumer secret] TWITTER_ACCESS_KEY=[your access key] TWITTER_ACCESS_SECRET=[your access secret]
$ heroku login $ heroku apps:create pypi-updates $ heroku addons:add memcachier $ heroku plugins:install heroku-config $ heroku config:push
Confirm enviroment values.
$ heroku config === xxxxxx-xxxxxx-xxxx Config Vars MEMCACHIER_PASSWORD: xxxxxxxxxx MEMCACHIER_SERVERS: xxx.xxx.xxx.xxxxxxx.xxxx:xxxxxx MEMCACHIER_USERNAME: xxxxxxxx TWITTER_ACCESS_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TWITTER_ACCESS_SECRET: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TWITTER_CONSUMER_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TWITTER_CONSUMER_SECRET: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$ git push heroku master # Run the first time only $ heroku ps:scale bot=1 # Confirm application log $ heroku logs --tail
- MIT License
- See the LICENSE file for specific terms.