## About this package
This package is available on https://pypi.org/project/brdocvalidator/ , you can easily validate brazilians documents like CPF and CNPJ. Also some functions to help validate email, birth date, and new functionalities will appear soo
Code on github
https://github.com/rafaelscone/brdocvalidator
## How to use
```bash
pip3 install brdocvalidator
```
In your python file
```py
import brdocvalidator
cpf = '111.111.111-11'
cnpj = '11.111.111/1111-11'
birthDay = "26/07/2010"
my_password ='JtR55$$_'
my_email = "email@email.com"
# return date format %d-%m-%Y or False
print(brdocvalidator.check_birth_date(birthDay))
# Return just CPF number or False
# check_doc check CPF or CNPJ
print(brdocvalidator.check_doc(cpf))
print(brdocvalidator.check_cpf(cpf))
# Return just CNPJ number or False
print(brdocvalidator.check_doc(cnpj))
print(brdocvalidator.check_cnpj(cnpj))
# Encode your password
encoded_password= brdocvalidator.encodePass(my_password)
print(encoded_password)
# Check if password match
test = brdocvalidator.comparePass(encoded_password,my_password)
print("Result pass:", test)
# Check email
myemail = brdocvalidator.check_email(my_email)
print(myemail)
```
### Feel free to send me news, bugs and suggestions to this package
Rafael Schneider - rafaelscone
Raw data
{
"_id": null,
"home_page": "",
"name": "brdocvalidator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,validation,cpf,cnpj",
"author": "rafaelscone (Rafael Schneider)",
"author_email": "<pipbrvalidator@impaire.com>",
"download_url": "https://files.pythonhosted.org/packages/bd/ac/b16f8f638a049e3af8a197cccc7701e02bac9e9c8e32fba40527bc3c2005/brdocvalidator-0.0.7.tar.gz",
"platform": null,
"description": "\n## About this package\n\nThis package is available on https://pypi.org/project/brdocvalidator/ , you can easily validate brazilians documents like CPF and CNPJ. Also some functions to help validate email, birth date, and new functionalities will appear soo\n\nCode on github\nhttps://github.com/rafaelscone/brdocvalidator\n\n## How to use\n\n```bash\npip3 install brdocvalidator\n```\n\nIn your python file\n```py\nimport brdocvalidator\n\ncpf = '111.111.111-11'\ncnpj = '11.111.111/1111-11'\nbirthDay = \"26/07/2010\"\nmy_password ='JtR55$$_'\nmy_email = \"email@email.com\"\n\n# return date format %d-%m-%Y or False\nprint(brdocvalidator.check_birth_date(birthDay))\n\n# Return just CPF number or False\n# check_doc check CPF or CNPJ\nprint(brdocvalidator.check_doc(cpf))\nprint(brdocvalidator.check_cpf(cpf))\n\n# Return just CNPJ number or False\nprint(brdocvalidator.check_doc(cnpj))\nprint(brdocvalidator.check_cnpj(cnpj))\n\n# Encode your password\nencoded_password= brdocvalidator.encodePass(my_password)\nprint(encoded_password)\n\n# Check if password match\ntest = brdocvalidator.comparePass(encoded_password,my_password)\nprint(\"Result pass:\", test)\n\n# Check email \nmyemail = brdocvalidator.check_email(my_email)\nprint(myemail)\n```\n\n### Feel free to send me news, bugs and suggestions to this package\nRafael Schneider - rafaelscone\n\n\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Library to validate brazilians documents, email, birthDate and others",
"version": "0.0.7",
"split_keywords": [
"python",
"validation",
"cpf",
"cnpj"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e5715c460f04e340d7f5448d85c2c9ab52cb172c07f811b2042dc5a967db5fb",
"md5": "4e9febcd4f3c78793f95d63548af47c4",
"sha256": "8bc3c255c815751aea9ca6845d7d3055d752f262d70a7b97eaba7e3f0ed212cb"
},
"downloads": -1,
"filename": "brdocvalidator-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4e9febcd4f3c78793f95d63548af47c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3827,
"upload_time": "2023-01-25T15:35:30",
"upload_time_iso_8601": "2023-01-25T15:35:30.788383Z",
"url": "https://files.pythonhosted.org/packages/2e/57/15c460f04e340d7f5448d85c2c9ab52cb172c07f811b2042dc5a967db5fb/brdocvalidator-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bdacb16f8f638a049e3af8a197cccc7701e02bac9e9c8e32fba40527bc3c2005",
"md5": "d7770593a885335692c7b20d2118a461",
"sha256": "cb3934917c19bf9d11e5f17aecd8c11a2b88b1178d5e474c882397c757885393"
},
"downloads": -1,
"filename": "brdocvalidator-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "d7770593a885335692c7b20d2118a461",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3630,
"upload_time": "2023-01-25T15:35:32",
"upload_time_iso_8601": "2023-01-25T15:35:32.967000Z",
"url": "https://files.pythonhosted.org/packages/bd/ac/b16f8f638a049e3af8a197cccc7701e02bac9e9c8e32fba40527bc3c2005/brdocvalidator-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-25 15:35:32",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "brdocvalidator"
}