hash.py
What
Input a URL & get back a list of relevant hashtags
Why
- Better hashtags mean better engagement
- Experimenting with the RiteTag & Textability APIs for potential inclusion in 25 Headlines.
How
- Sign up for Textability & RiteTag.
- Add your API keys to
keys_ex.py& rename itkeys.py. - Install the dependencies:
pip install requests requests_oauthlib click - Go nuts
Usage: hash.py [OPTIONS]
Options:
--url TEXT The URL you want to analyze [required]
--rel INTEGER Keyword relevancy threshold [default 70%]
--ent INTEGER (1) Extract named entities [default], (0) ignore
--con INTEGER (1) Extract concepts [default], (0) ignore
--help Show this message and exit.
FYI, you will get rate limited by RiteTag pretty quickly.
Contribute
If you think this is a cool idea, but kind of inefficient, please submit a PR and let's make this better.
© 2015, Neal Shyam · not sure on licensing yet, so suggest something?
Built With
- click
- json
- oauth
- pprint
- python
- requests
- ritetag
- textalytics
- urllib


Log in or sign up for Devpost to join the conversation.