Skip to main content

Faz a validação de RG (SSP SP) Brasileiro

Project description

validate-rg

pipy

Validates Brazilian RG (SSP SP)

Features

  • RG Validation with mask
  • RG Validation without mask

Modes of use

#!/usr/bin/python
import validate_rg

# Without mask
validate_rg.is_valid('505675092') # True

# With mask
validate_rg.is_valid('50.567.509-2') # True

or

#!/usr/bin/python
from validate_rg import is_valid

# Without mask
is_valid('111111111') # False

# With mask
is_valid('11.111.111-1') # False

Author

João Filho Github

Credits

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

Cookiecutter

cs01/cookiecutter-pypackage

DV calculation

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

validate_rg-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

validate_rg-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file validate_rg-0.0.1.tar.gz.

File metadata

  • Download URL: validate_rg-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-89-generic

File hashes

Hashes for validate_rg-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2185fcc794269c87910ced372fb43f6ffb3ea4188d28b564be9d6481700fd242
MD5 692fa5f3d1bef8c71cadfcdf49b2cb54
BLAKE2b-256 1afeb74f70f00c8972222650a5866655a2b93fe3581f86ec6c7810e4aa55ec04

See more details on using hashes here.

File details

Details for the file validate_rg-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: validate_rg-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-89-generic

File hashes

Hashes for validate_rg-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e04931c228e949e0b69b13e61fa618965f4e1f143b0e519a769e9aa3f45ff7e
MD5 1c4b61c08191b48183831c5834abb13a
BLAKE2b-256 79021deffcc3f30d40a40a9a8621b109ac47493da1052e6adf69c6f2a8df02f7

See more details on using hashes here.

Supported by

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