Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
__init__.py
twitter_archive.py

README.md

086 - Simple Twitter Archive Digest

  1. Download your Twitter Archive

  2. Find the tweets.csv in the zipfile and put it in the same folder as twitter_archive.py

  3. Run the script:

     $ twitter_archive.py tweets.csv
    
  4. Example output for @pybites:

     ==============================
     TWITTER ARCHIVE REPORT
     ==============================
    
     Whose tweets:
     ------------------------------
     Own                    478
     RT                     339
     Reply                  121
    
     Most mentioned:
     ------------------------------
     @python_tip             66
     @dbader_org             51
     @pybites                46
     @techmoneykids          36
     @talkpython             35
     @bbelderbos             23
     @mohhinder              22
     @pythonbytes            19
     @newsafaribooks         19
     @packtpub               16
    
     Most used hashtags:
     ------------------------------
     #python                458
     #100daysofcode          88
     #flask                  30
     #pycon2017              21
     #challenges             15
     #news                   15
     #articles               14
     #api                    14
     #jupyter                10
     #pandas                 10
    
     Most active months:
     ------------------------------
     2017-01                179
     2017-04                165
     2017-05                158
     2017-03                141
     2017-02                136
     2017-06                127
     2016-12                 32
    
     Sources used:
     ------------------------------
     Twitter Web Client     397
     pybites (our bot)      178
     Twitter for Android    168
     Twitter for iPhone     126
     Twitter Lite            36
     MailChimp               26
     iOS                      7