Library available chats

For the purpose of showcasing code examples and benchmarking different implementations, we have created a pool of chats, hosted in the official repository page. If you want to test the library with one of your own tests, check in the code examples.

The chats are available via their corresponding URLs, which are listed in source code whatstk.data.

WhatsApp

Object whatsapp_urls contains all URLs for WhatsApp chats.

>>> from whatstk.data import whatsapp_urls

POKEMON

Brief fictional chat with Pokemon characters, which was manually designed by @lucasrodes in commit 666d6ea9cc030c4322fbe44ae64b8f1a0fdb5169.

>>> from whatstk.data import whatsapp_urls
>>> from whatstk import WhatsAppChat
>>> chat = WhatsAppChat.from_source(filepath=whatsapp_urls.POKEMON)
>>> chat.df.head(5)
                        username                                            message
date
2016-08-06 13:23:00  Ash Ketchum                                          Hey guys!
2016-08-06 13:25:00        Brock              Hey Ash, good to have a common group!
2016-08-06 13:30:00        Misty  Hey guys! Long time haven't heard anything fro...
2016-08-06 13:45:00  Ash Ketchum  Indeed. I think having a whatsapp group nowada...
2016-08-06 14:30:00        Misty                                          Definetly

See also

Chat file

LOREM

Chat with 500 interventions of fictional users, generated using python-lorem library.

>>> from whatstk.data import whatsapp_urls
>>> from whatstk import WhatsAppChat
>>> chat = WhatsAppChat.from_source(filepath=whatsapp_urls.LOREM)
>>> chat.df.head(5)
                           username                                            message
date
2020-01-15 02:22:56            Mary                     Nostrud exercitation magna id.
2020-01-15 03:33:01            Mary     Non elit irure irure pariatur exercitation. 🇩🇰
2020-01-15 04:18:42  +1 123 456 789  Exercitation esse lorem reprehenderit ut ex ve...
2020-01-15 06:05:14        Giuseppe  Aliquip dolor reprehenderit voluptate dolore e...
2020-01-15 06:56:00            Mary              Ullamco duis et commodo exercitation.

See also

Chat file

LOREM1

Chat with 300 interventions of fictional users, generated using python-lorem.

>>> from whatstk.data import whatsapp_urls
>>> from whatstk import WhatsAppChat
>>> chat = WhatsAppChat.from_source(filepath=whatsapp_urls.LOREM1)
>>> chat.df.head(5)
                           username                                            message
date
2019-10-20 10:16:00            John        Laborum sed excepteur id eu cillum sunt ut.
2019-10-20 11:15:00            Mary  Ad aliquip reprehenderit proident est irure mo...
2019-10-20 12:16:00  +1 123 456 789  Nostrud adipiscing ex enim reprehenderit minim...
2019-10-20 12:57:00  +1 123 456 789  Deserunt proident laborum exercitation ex temp...
2019-10-20 17:28:00            John                Do ex dolor consequat tempor et ex.

See also

Chat file

LOREM2

Chat with 300 interventions of fictional users, generated using python-lorem.

Can be used along with LOREM1 to test chat merging functionalities or multiple-source loading.

>>> from whatstk.data import whatsapp_urls
>>> from whatstk import WhatsAppChat
>>> chat = WhatsAppChat.from_source(filepath=whatsapp_urls.LOREM2)
>>> chat.df.head(5)
                           username                                            message
date
2020-06-20 10:16:00            John                 Elit incididunt lorem sed nostrud.
2020-06-20 11:15:00           Maria        Esse do irure dolor tempor ipsum fugiat. 🇩🇰
2020-06-20 12:16:00  +1 123 456 789  Cillum anim non eu deserunt consectetur dolor ...
2020-06-20 12:57:00  +1 123 456 789                  Non ipsum proident veniam est. 🏊🏻
2020-06-20 17:28:00            John                      Dolore in cupidatat proident.

See also

Chat file

LOREM_2000

Chat with 2000 interventions of fictional users, generated using python-lorem.

>>> from whatstk.data import whatsapp_urls
>>> from whatstk import WhatsAppChat
>>> chat = WhatsAppChat.from_source(filepath=whatsapp_urls.LOREM_2000)
>>> chat.df.head(5)
                           username                                            message
date
2019-04-16 02:09:00  +1 123 456 789           Et labore proident laboris do labore ex.
2019-04-16 03:01:00            Mary  Reprehenderit id aute consectetur aliquip nost...
2019-04-17 12:56:00            John  Amet magna officia ullamco pariatur ipsum cupi...
2019-04-17 13:30:00            Mary  Cillum aute et cupidatat ipsum, occaecat lorem...
2019-04-17 15:09:00            John  Eiusmod irure laboris dolore anim, velit velit...

See also

Chat file