Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Social Account Detection for Python

Project description

Socials

https://img.shields.io/pypi/v/socials.svg https://img.shields.io/travis/lorey/socials.svg Documentation Status

Social Account Detection and Extraction for Python

Features

  • Detect and extract URLs of social accounts: throw in URLs, get back URLs of social media profiles by type.
  • Currently supports Facebook, Twitter, LinkedIn, GitHub, and Emails.

Usage

Install it with pip install socials and use it as follows:

>>> hrefs = ['https://facebook.com/peterparker', 'https://techcrunch.com', 'https://github.com/lorey']
>>> socials.extract(hrefs).get_matches_per_platform()
{'github': ['https://github.com/lorey'], 'facebook': ['https://facebook.com/peterparker']}
>>> socials.extract(hrefs).get_matches_for_platform('github')
['https://github.com/lorey']

Read more about usage in our documentation.

Development

  • Create virtual envirenment venv with virtualenv -p /usr/bin/python3 venv.
  • Activate the environment with source venv/bin/activate.
  • Install the development requirements with pip install -r requirements-dev.txt.
  • Run the tests: tox or python setup.py test

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.0 (2018-05-31)

  • Email address extraction.
  • Extraction of specific platforms.

0.1.0 (2018-05-18)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
socials-0.2.0-py2.py3-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 31, 2018
socials-0.2.0.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None May 31, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page