{ "info": { "author": "Todd Wolfson", "author_email": "todd@twolfson.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "email-split\n===========\n\n.. image:: https://travis-ci.org/underdogio/python-email-split.svg?branch=master\n :target: https://travis-ci.org/underdogio/python-email-split\n :alt: Build Status\n\nSplit an email address into its local and domain parts\n\nThis was built to grab the name used off of an email address. This library does not perform validation as we retrieve our email addresses from a trusted source.\n\nThis was `initially written in JavaScript`_ and has been ported to Python.\n\n.. _initially written in JavaScript: https://github.com/underdogio/email-split\n\nGetting Started\n---------------\nInstall the module with: ``pip install email_split``\n\n.. code:: python\n\n from email_split import email_split\n email = email_split('todd@underdog.io')\n email.local # todd\n email.domain # underdog.io\n\nDocumentation\n-------------\nWe export the function ``email_split`` from our module ``email_split``.\n\nemail_split(email)\n^^^^^^^^^^^^^^^^^^\nFunction that extracts local and domain parts of email address.\n\n- email ``str`` - Email address to break down\n\n\n**Returns:**\n\n- email ``object`` - Object representing email address\n\n - local ``str`` - Leading portion of email address\n\n - For example, ``todd`` in ``todd@underdog.io``\n\n - domain ``str`` - Tailing portion of email address\n\n - For example, ``underdog.io`` in ``todd@underdog.io``\n\n..\n\n We chose the names `local` and `domain` based off of the RFC specification for `mailto`.\n\n https://tools.ietf.org/html/rfc5322#section-3.4.1\n\nContributing\n------------\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Test and lint via ``./test.sh``.\n\nLicense\n-------\nCopyright (c) 2016 Underdog.io\n\nLicensed under the MIT license.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/underdogio/python-email-split/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/underdogio/python-email-split", "keywords": "split,email,parse,local,domain", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "email_split", "package_url": "https://pypi.org/project/email_split/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/email_split/", "project_urls": { "Download": "https://github.com/underdogio/python-email-split/archive/master.zip", "Homepage": "https://github.com/underdogio/python-email-split" }, "release_url": "https://pypi.org/project/email_split/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Split an email address into its local and domain parts", "version": "1.0.0" }, "last_serial": 1940312, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "5bdb02c07624dc8ed897f599e8f6d01a", "sha256": "1e9c571a70bd6a7849733c8e970013e7e38550f59d952332ab75e63792b6860b" }, "downloads": -1, "filename": "email_split-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5bdb02c07624dc8ed897f599e8f6d01a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4890, "upload_time": "2016-02-04T19:16:27", "url": "https://files.pythonhosted.org/packages/98/1b/7baab9165943f53d4888eb25d5f8e3f1d63622908e4e88c080e2cb3d29f6/email_split-1.0.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "63b7393ba7b6b721f6e2e746374f3b26", "sha256": "123256f631cac7045300d76788595377264e79bb6fa4e388d350820d2697fd46" }, "downloads": -1, "filename": "email_split-1.0.0.zip", "has_sig": false, "md5_digest": "63b7393ba7b6b721f6e2e746374f3b26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10716, "upload_time": "2016-02-04T19:16:34", "url": "https://files.pythonhosted.org/packages/70/da/d46f7bfef68c053e2cd02dff7254b31e2e6b1ddfd3266b2584936b48de9b/email_split-1.0.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bdb02c07624dc8ed897f599e8f6d01a", "sha256": "1e9c571a70bd6a7849733c8e970013e7e38550f59d952332ab75e63792b6860b" }, "downloads": -1, "filename": "email_split-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5bdb02c07624dc8ed897f599e8f6d01a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4890, "upload_time": "2016-02-04T19:16:27", "url": "https://files.pythonhosted.org/packages/98/1b/7baab9165943f53d4888eb25d5f8e3f1d63622908e4e88c080e2cb3d29f6/email_split-1.0.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "63b7393ba7b6b721f6e2e746374f3b26", "sha256": "123256f631cac7045300d76788595377264e79bb6fa4e388d350820d2697fd46" }, "downloads": -1, "filename": "email_split-1.0.0.zip", "has_sig": false, "md5_digest": "63b7393ba7b6b721f6e2e746374f3b26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10716, "upload_time": "2016-02-04T19:16:34", "url": "https://files.pythonhosted.org/packages/70/da/d46f7bfef68c053e2cd02dff7254b31e2e6b1ddfd3266b2584936b48de9b/email_split-1.0.0.zip" } ] }