Using Python Given a set of URLs, this packages detects coordinated link sharing behavior on social media and outputs the network of entities that performed such behaviour.
Project description
PyCooRnet
Using Python Given a set of URLs, this packages detects coordinated link sharing behavior on social media and outputs the network of entities that performed such behaviour.
based on https://github.com/fabiogiglietto/CooRnet
Overview
Given a set of URLs, this package detects coordinated link sharing behavior (CLSB) and outputs the network of entities that performed such behavior.
What do we mean by coordinated link sharing behavior?
CLSB refers to a specific coordinated activity performed by a network of Facebook pages, groups and verified public profiles (Facebook public entities) that repeatedly shared the same news articles in a very short time from each other.
To identify such networks, we designed, implemented and tested an algorithm that detects sets of Facebook public entities which performed CLSB by (1) estimating a time threshold that identifies URLs shares performed by multiple distinguished entities within an unusually short period of time (as compared to the entire dataset), and (2) grouping the entities that repeatedly shared the same news story within this coordination interval. The rationale is that, while it may be common that several entities share the same URLs, it is unlikely, unless a consistent coordination exists, that this occurs within the time threshold and repeatedly.
Workflow
https://www.atlassian.com/es/git/tutorials/comparing-workflows/gitflow-workflow
CD/CI Github actions
https://github.com/features/actions
IDE
VSCODE
StyleGuide
http://google.github.io/styleguide/pyguide.html
running tests
py.test --crowdtoken=<your crowdtangle api token> --urlsfilepath=<path of the urls file> --crowdresultfile=<path of the crowdtangle file>
For Example
py.test --crowdtoken=akZbRIg2DNKhFogkN6rFurv --urlsfile=samples/sample.csv --crowdresultfile=samples/ct_shares_full.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pycoornet-0.1.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d910951ebd22ca273756516a9949a68d49c9c42fb5df06fc9b016f7ed6251f8f |
|
MD5 | fd90dc7b7b6614a088532cdd4bdce62b |
|
BLAKE2b-256 | 5e55d37103a124f601d53c6606783f112e42d4ff91ac1efc1b22811ef957e046 |