Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRZapata committed May 1, 2021
1 parent 2e512e6 commit be47f27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ CLSB refers to a specific coordinated activity performed by a network of Faceboo
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.

## Installation

[https://pypi.org/project/pycoornet/](https://pypi.org/project/pycoornet/)

```sh
pip install pycoornet
```
Expand All @@ -36,7 +39,7 @@ def main():
links_df = pd.read_csv('samples/sample_source_links.csv')
# Init CrowdTangle with api key
crowd_tangle = CrowdTangle("abc123def345")
ct_df = crowd_tangle.get_shares(urls=links_df, url_column='clean_url', date_column='date',clean_urls=True, platforms='facebook', sleep_time=1)
ct_df = crowd_tangle.get_shares(urls=links_df, url_column='clean_url', date_column='date',clean_urls=True, platforms='facebook', sleep_time=30)
shared = Shared()
crowtangle_shares_df, shares_graph, q = shared.coord_shares(ct_df, clean_urls=True)

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@

setup(
name="pycoornet",
version="0.2.2",
version="0.2.3",
description="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.",
long_description=long_description,
long_description_content_type="text/markdown",
author = 'Camilo Andres Soto Montoya, Jose R. Zapata',
author_email = '[email protected], ',
author_email = '[email protected], [email protected]',

url="https://github.com/UPB-SS1/PyCooRnet",
packages=find_packages(where='src' ,exclude=["tests", "*.test", "*.tes.*"]),
package_dir={
Expand Down

0 comments on commit be47f27

Please sign in to comment.