This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

domplus is a python package with common functions for commercial applications.

Features

  • Check if string is brazilian CPF valid
  • Check if string is brazilian CNPJ valid
  • Check if string is brazilian CPF valid or brazilian CNPJ valid
  • Check if credit card number is valid

Installation

pip install domplus

Usage govplus

from domplus import govplus

# Check if string is brazilian CPF valid. Return True or False
govplus.is_valid_br_cpf("03167158590")

# OR
govplus.is_valid_br_cpf("031.671.585-90")

# Check if string is brazilian CNPJ valid. Return True or False
govplus.is_valid_br_cnpj("75317134000130")

# OR
govplus.is_valid_br_cnpj("75.317.134/0001-30")

# Check if string is brazilian CPF valid or brazilian CNPJ valid.
# Return "cpf", "cnpj" or False
govplus.is_br_cpf_or_cnpj("03167158590")

# OR
govplus.is_br_cpf_or_cnpj("031.671.585-90")

# OR
govplus.is_br_cpf_or_cnpj("75317134000130")

# OR
govplus.is_br_cpf_or_cnpj("75.317.134/0001-30")

Usage financeplus

from domplus import financeplus

# Check if string is a Credcard Number valid.
# Return True or False
financeplus.is_valid_creditcard("374356783424314")

History

0.1.3 (2015-04-19)

  • First release on PyPI.
Release History

Release History

0.1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
domplus-0.1.3.tar.gz (13.3 kB) Copy SHA256 Checksum SHA256 Source Apr 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting