Metadata-Version: 2.1
Name: twarc-hashtags
Version: 0.0.3
Summary: A twarc plugin to extract hashtags from Twitter data
Home-page: https://github.com/docnow/twarc-hashtags
Author: Ed Summers
Author-email: ehs@pobox.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.3
Description-Content-Type: text/markdown
License-File: LICENSE

# twarc-hashtags

This module is extends [twarc] with a `hashtags` command that will extract and
count the hashtags in a tweet dataset.

## Install

    pip install twarc-hashtags

Now you can collect data using the core twarc utility:

    twarc2 search blacklivesmatter tweets.jsonl

And you have a new subcommand `hashtags`:

    twarc2 hashtags tweets.jsonl hashtags.csv

Then you can open `hashtags.csv` in your favourite spreadsheet program or
DataFrame library.

Behind the scenes twarc-hashtags uses Python's native support for SQLite to
create a database and then insert/query it. You can see this database after the
program finishes as `hashtags.db` in your current working directory.

[twarc]: https://github.com/docnow/twarc


