Skip to content

shadowridgedev/socialLegacy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social participation data analysis and exploitation

This project gathers social data and routines for analysis and exploitation. At the most fundamental level, social participation linked data is accessed and analyzed. Public data, such as provided by the Gmane database or donated profiles from private networks (e.g. Facebook), or even gathered by Twitter, is incorporated as RDF in the Social Graph considered. Observance of stability and the synthesis of audiovisual artifacts eases observation, probing and exploitation.]

Pypi package: https://pypi.python.org/pypi/social

$ pip install social

or

$ python setup.py install

For greater control of customization (and debugging), clone the repo and install with pip with -e:

$ git clone https://github.com/ttm/social.git

$ pip install -e <path_to_repo>

Usage example

import social as S

# put facebook user and password in ~/.social/fb/profile
# or login on the browser window that will appear
# or input login as arguments:
sb=S.ScrapyBrowser()
# input user id and returns the friend ids (and names...)
friends=sb.getFriends()

# To load GDF file:
fg=S.GDFgraph("../data/RenatoFabbri06022014.gdf") # graph should be on fg.G
# To make an abstract animtion with it:
song=S.FSong(fg.G,"fsong/",True,True,False,True)
# Check mixedVideo.webm

# more ***in construction***

##########################################
# SKETCH. This is not the toolbox.

#S.download() # download ontologies and data

#S.generalStats() # print number of triples, individuals, etc.

#data=S.data()

#d1=S.makeBasicDatastructures(data["participa"])
#d2=S.makeBasicDatastructures(data["aa"])
#d3=S.makeBasicDatastructures(data["cd"])

#S.Analyze()

# use the gmane python package to analyse network structure

# Enjoy!

About

Social participation data analysis and exploitation (python package)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%