Skip to main content

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.

Source Distribution

socials-0.2.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

socials-0.2.0-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file socials-0.2.0.tar.gz.

File metadata

  • Download URL: socials-0.2.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for socials-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8365473181854c58755bf6b7db24eb0c5685fe2e0801677ec759347e66d4cf05
MD5 f5f7166b9bbd06bfa7f87c4ccef5285b
BLAKE2b-256 ed968ec915697cd2b433729cd9280137c4b16515159b7f3a0ad89fe5e4f6171a

See more details on using hashes here.

File details

Details for the file socials-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for socials-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eb9e268d10c70cbeb2993c4dce03999d2693509c930e04ca2323317244b7fb4a
MD5 d04ea397f027a518e14d8a53de49cbaf
BLAKE2b-256 3714a4cae53aab93f5462b1d2a57b47c6073935d29e9d2f22babd06f683efc34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page