https://github.com/codesyntax/twhst
https://github.com/codesyntax/twhst
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/codesyntax/twhst
- Owner: codesyntax
- Created: 2014-01-31T15:11:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-07T12:32:03.000Z (about 12 years ago)
- Last Synced: 2025-02-25T13:07:33.373Z (over 1 year ago)
- Language: Python
- Size: 246 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Introduction
============
twhst provides an easy way to store tweet from Twitter using it's search api (URL). In order to store
tweets, they must have and hashtag, and complain with a ruleset defined for the type of this hashtag.
It also builds a dictionary with the stored statuses. Every hash type has its own dictionary build
rules.
Available rulesets
------------------
- include_all : allways return True
- url: True if status has an url
- no_url: not(url)
- rt: True id status is a retweet
- no_rt: not(rt)
- picture: True if status has an picture
- no_picture: not(picture)
- mentiton: True if someone is mentioned in the status
- no_mention: not(mention)
- definition: True if colon is find in the status
- brackets: True if there are 2 brackets in status
- starts_with_hash: True if status starts with #
Instalation
-----------
pip install twhst