Skip to main content

botrnot

Bot or Not detector

WIP!

pip3 install botrnot

Usage

You can run botrnot -h and it shows the following:

$ botrnot -h
usage: botrnot [-h] [-u USERNAME] [-n] [-v] [-j]

collects and processes twitter data example: botrnot -u jamescampbell

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --user USERNAME
                        username to evaluate (default: jamescampbell)
  -n, --no-logo         dont display logo (default False) (default: False)
  -v, --verbose         print more things out about search (default: False)
  -j, --json            save tweets out to json file (default: False)

Example

For user realdonaldtrump:

Most recent tweet
+-------------------------------+----------+--------+-------+---------+---+----+
|           tweettext           |   type   |  rts   | favs  | replies | t | id |
|                               |          |        |       |         | i |    |
|                               |          |        |       |         | m |    |
|                               |          |        |       |         | e |    |
|                               |          |        |       |         | s |    |
|                               |          |        |       |         | t |    |
|                               |          |        |       |         | a |    |
|                               |          |        |       |         | m |    |
|                               |          |        |       |         | p |    |
+-------------------------------+----------+--------+-------+---------+---+----+
| We are on track to APPREHEND  | original | 12982  | 50612 |  10721  | 1 | 11 |
| more than one million people  |          |        |       |         | 5 | 03 |
| coming across the Southern Bo |          |        |       |         | 5 | 66 |
| rder this year. Great job by  |          |        |       |         | 1 | 63 |
| Border Patrol (and others) wh |          |        |       |         | 9 | 38 |
| o are working in a Broken Sys |          |        |       |         | 6 | 36 |
| tem. Can be fixed by Congress |          |        |       |         | 9 | 56 |
|  so easily and quickly if onl |          |        |       |         | 5 | 07 |
| y the Democrats would get on  |          |        |       |         | 3 | 93 |
|            board!             |          |        |       |         | 4 | 6  |
+-------------------------------+----------+--------+-------+---------+---+----+

Metrics table
+---------------------------+-----------+
|          Metric           |  Amount   |
+---------------------------+-----------+
|  Total tweets collected:  |    420    |
+---------------------------+-----------+
| Total that were retweets: | 93 (22%)  |
+---------------------------+-----------+
|      Retweets in 327      |  8689464  |
+---------------------------+-----------+
|      Replies in 327       |  8247694  |
+---------------------------+-----------+
|     Favorites in 327      | 37984435  |
+---------------------------+-----------+

Bio table
+-----------------+------------------------------------------------+
|    Full Name    |                                                |
|                 |                Donald J. Trump                 |
+-----------------+------------------------------------------------+
| Followers count |                     58.9M                      |
+-----------------+------------------------------------------------+
| Following count |                       45                       |
+-----------------+------------------------------------------------+
| User Biography  | 45th President of the United States of America |
+-----------------+------------------------------------------------+
|  User Location  |                 Washington, DC                 |
+-----------------+------------------------------------------------+
| User Join Date  |               Joined March 2009                |
+-----------------+------------------------------------------------+
| User Birth Date |                                                |
+-----------------+------------------------------------------------+
|     User ID     |                    25073877                    |
+-----------------+------------------------------------------------+

Metadata

Release files for botrnot 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botrnot 1.2.5
File Size Uploaded
botrnot-1.2.5.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botrnot 1.2.5
File Interpreter ABI Platform
botrnot-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / botrnot-1.2.5.tar.gz

Download URL botrnot-1.2.5.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
97429e3f42ccbd2489a4907affa0aba296aa5862191fe4a521f830c01632a939
BLAKE2b-256 checksum
How to use checksums
869bb40f61699fdb8f4870f9c5362e756830771a4679b586ac9ab25cc1453509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / botrnot-1.2.5-py3-none-any.whl

Download URL botrnot-1.2.5-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0bed1d274579d10fdbca6abb9a3f627903b1463c3a667e00f640937b109a036
BLAKE2b-256 checksum
How to use checksums
727f0c8db49778f08b8fd6504626600194a3edde92f21a18525b7b502195f20f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page