{ "info": { "author": "Department for International Trade", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# directory-validators\n[Directory of UK Exporters validators](https://www.directory.exportingisgreat.gov.uk/)\n\n[![code-climate-image]][code-climate]\n[![circle-ci-image]][circle-ci]\n[![codecov-image]][codecov]\n[![pypi-image]][pypi]\n[![semver-image]][semver]\n\n---\n\n## Requirements\n\n## Installation\n\n```shell\npip install directory_validators\n\n```\n\n## Usage\n\n```python\nfrom directory_validators import enrolment\n\nenrolment.validate_company_number('12345678')\nenrolment.validate_email('test@example.com')\n```\n\n\n## Development\n\n $ git clone https://github.com/uktrade/directory-validators\n $ cd directory-validators\n $ make\n\n\n## Testing\n\t$ py.test .\n\n\n## Publish to PyPI\n\nThe package should be published to PyPI on merge to master. If you need to do it locally then get the credentials from rattic and add the environment variables to your host machine:\n\n| Setting |\n| --------------------------- |\n| DIRECTORY_PYPI_USERNAME |\n| DIRECTORY_PYPI_PASSWORD |\n\n\nThen run the following command:\n\n make publish\n\n\n[code-climate-image]: https://codeclimate.com/github/uktrade/directory-validators/badges/issue_count.svg\n[code-climate]: https://codeclimate.com/github/uktrade/directory-validators\n\n[circle-ci-image]: https://circleci.com/gh/uktrade/directory-validators/tree/master.svg?style=svg\n[circle-ci]: https://circleci.com/gh/uktrade/directory-validators/tree/master\n\n[codecov-image]: https://codecov.io/gh/uktrade/directory-validators/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/uktrade/directory-validators\n\n[pypi-image]: https://badge.fury.io/py/directory-validators.svg\n[pypi]: https://badge.fury.io/py/directory-validators\n\n[semver-image]: https://img.shields.io/badge/Versioning%20strategy-SemVer-5FBB1C.svg\n[semver]: https://semver.org\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/uktrade/directory-validators", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "directory-validators", "package_url": "https://pypi.org/project/directory-validators/", "platform": "", "project_url": "https://pypi.org/project/directory-validators/", "project_urls": { "Homepage": "https://github.com/uktrade/directory-validators" }, "release_url": "https://pypi.org/project/directory-validators/5.2.0/", "requires_dist": [ "django (<3.0a1,>=1.11.22)", "olefile (==0.44)", "phonenumberslite (==7.7.4)", "pillow (==4.2.1)", "pytz (==2017.2)", "urllib3 (>=1.24.2<2.0.0)", "pytest (==3.0.2) ; extra == 'test'", "pytest-cov (==2.3.1) ; extra == 'test'", "pytest-sugar (==0.8.0) ; extra == 'test'", "flake8 (==3.0.4) ; extra == 'test'", "codecov (==2.0.9) ; extra == 'test'", "twine (<2.0.0,>=1.11.0) ; extra == 'test'", "wheel (<1.0.0,>=0.31.0) ; extra == 'test'", "setuptools (<39.0.0,>=38.6.0) ; extra == 'test'" ], "requires_python": "", "summary": "Django validators for Export Directory.", "version": "5.2.0" }, "last_serial": 5550396, "releases": { "4.4.1": [ { "comment_text": "", "digests": { "md5": "e763db8d91d79646a5bf7cb2038434e6", "sha256": "61ca8381f80b08f7c34493b8ed7d6096b622b286b9480c2c5820c5255ebc25fb" }, "downloads": -1, "filename": "directory_validators-4.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e763db8d91d79646a5bf7cb2038434e6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 37472, "upload_time": "2018-03-06T14:07:19", "url": "https://files.pythonhosted.org/packages/0a/a6/36ac580704f46173bdf23294eb703290a9bd8f81f6045a22d4e5368fd6df/directory_validators-4.4.1-py3-none-any.whl" } ], "4.5.0": [ { "comment_text": "", "digests": { "md5": "40e4845947c3c67592c0668c31ce3488", "sha256": "8a86f0338d3dfbea9f2c375f09ef80bb9516b8278e6922e880d4aee57d1b6ea8" }, "downloads": -1, "filename": "directory_validators-4.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "40e4845947c3c67592c0668c31ce3488", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31329, "upload_time": "2018-03-06T16:47:06", "url": "https://files.pythonhosted.org/packages/bd/55/6b84a390eb5bdd249e8204e7eee8ae682230a3be3c45b0fac8f6e5ac7994/directory_validators-4.5.0-py3-none-any.whl" } ], "4.5.1": [ { "comment_text": "", "digests": { "md5": "6a0b7eef4982ef9cf12c9e6916cb1f7c", "sha256": "72edfab51972a53cba62552b341066017400b034b316d7f23cc45840c3a8fad0" }, "downloads": -1, "filename": "directory_validators-4.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6a0b7eef4982ef9cf12c9e6916cb1f7c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31347, "upload_time": "2018-03-09T13:55:26", "url": "https://files.pythonhosted.org/packages/69/28/1a369c625935b4f5e66de65dcc98f9a77a7900b00d5c92a6f10b90bd991b/directory_validators-4.5.1-py3-none-any.whl" } ], "5.0.0": [ { "comment_text": "", "digests": { "md5": "821ac20768a70c581f45a7e24e159327", "sha256": "9e58b740ec6e0a295d9fe51b965c84c00f759d8f0c887d2c901df952b2fd13ae" }, "downloads": -1, "filename": "directory_validators-5.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "821ac20768a70c581f45a7e24e159327", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31580, "upload_time": "2018-05-14T08:54:18", "url": "https://files.pythonhosted.org/packages/68/9c/0aa80d25fb6150f2a195d4fae54d230a821629b827004c9670567e7d4e9f/directory_validators-5.0.0-py3-none-any.whl" } ], "5.0.1": [ { "comment_text": "", "digests": { "md5": "2da33454393c7a0013b78e9eb66c22d8", "sha256": "34ff090b26d6e9d97d15ca9953ca9a6873b9b27990446822e34e58f0bf7bc788" }, "downloads": -1, "filename": "directory_validators-5.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2da33454393c7a0013b78e9eb66c22d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31579, "upload_time": "2018-07-31T15:22:44", "url": "https://files.pythonhosted.org/packages/2e/10/67ff5c86f299c6f8bc60b4b1806ef7df65f8234c12a6e04be98276059491/directory_validators-5.0.1-py3-none-any.whl" } ], "5.1.0": [ { "comment_text": "", "digests": { "md5": "94dbc23f0886e3c2081c627f2b0d25cc", "sha256": "20d18bfb2f45510d0c25f07941bc9b8698a62ffaa8667475659b10cceb7af269" }, "downloads": -1, "filename": "directory_validators-5.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "94dbc23f0886e3c2081c627f2b0d25cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31595, "upload_time": "2019-04-04T07:05:50", "url": "https://files.pythonhosted.org/packages/ae/a3/f11756aa076796af32dc644366d08b2d204bb844be56a035b05b5765c833/directory_validators-5.1.0-py3-none-any.whl" } ], "5.2.0": [ { "comment_text": "", "digests": { "md5": "8c513afed7583b634a5441964810c659", "sha256": "da587280299f5daf666549d837701360e4775b577c39bab09e0a25259241022a" }, "downloads": -1, "filename": "directory_validators-5.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8c513afed7583b634a5441964810c659", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 30778, "upload_time": "2019-07-18T10:28:44", "url": "https://files.pythonhosted.org/packages/32/5a/7a749a734274ee0be9f3dbd196971d3f5dc11910a75d4f59b4457e47d3b5/directory_validators-5.2.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c513afed7583b634a5441964810c659", "sha256": "da587280299f5daf666549d837701360e4775b577c39bab09e0a25259241022a" }, "downloads": -1, "filename": "directory_validators-5.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8c513afed7583b634a5441964810c659", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 30778, "upload_time": "2019-07-18T10:28:44", "url": "https://files.pythonhosted.org/packages/32/5a/7a749a734274ee0be9f3dbd196971d3f5dc11910a75d4f59b4457e47d3b5/directory_validators-5.2.0-py3-none-any.whl" } ] }