Coder Social home page Coder Social logo

python's Introduction

πŸ‡§πŸ‡· Brazilian Utils

Utils library for Brazilian-specific businesses.

πŸ“– Documentation

Build Status Coverage Status Known Vulnerabilities Maintainability Downloads per month License: MIT


Vidas Negras Importam | Black Lives Matter. ✊🏽✊🏾✊🏿

To know how to help, just go to Vidas Negras Importam or Black Lives Matter.


We are changing

After one year of Brazilian Utils and lots of feedback, we decided to refactor our library to fix issues, create a website and make it easier for other developers to contribute. If you use v0 version, please, check v0 branch.


Table of Contents

Getting Started

Brazilian Utils is a library focused on solving problems that we face daily in the development of applications for the Brazilian business.

Installation

Using Brazilian Utils is quite simple and you can use it in some ways:

as npm package:

npm install --save @brazilian-utils/brazilian-utils

with yarn package manager:

yarn add @brazilian-utils/brazilian-utils

or <script> tag (global brazilianUtils):

<script src="https://unpkg.com/@brazilian-utils/brazilian-utils/dist/brazilian-utils.cjs.production.min.js"></script>

Usage

To use one of our utilities you just need to import the required function as in the example below:

import { isValidCPF } from '@brazilian-utils/brazilian-utils';

isValidCPF('1232454233345'); // false

You can check a list of utilities by clicking here.

Contributors

Our "thank you" goes to these wonderful people (emoji key):


Hyan Mandian

πŸ’» πŸ“– πŸ€” ⚠️

Lucas Veloso

πŸ’» πŸ“– πŸ€” ⚠️

Andreo Vieira

πŸ’» πŸ“– πŸ€” πŸ”§

Matheus Almeida

πŸ’» πŸ“– ⚠️

Fernando Rogelin

πŸ’» πŸ“– ⚠️

rodineijf

πŸ’» πŸ“– ⚠️

Emerson Laurentino

πŸ’» πŸ“– ⚠️

Leonardo Dutra

πŸ’» πŸ“– ⚠️

Victor MagalhΓ£es

πŸ’» πŸ”§

Amauri Dias

πŸ’» πŸ”§

Felipe F. Diogo

πŸ’» ⚠️

Alan Raso

πŸ’» ⚠️

Felipe Fetter

πŸ“–

Rafael Franco

πŸ’» πŸ“–

Rafael Pezzetti

πŸ’» ⚠️ πŸ“–

Antonio Roberto Furlaneto

πŸ’» πŸ“– ⚠️

Felipe Nolleto Nascimento

πŸ’» πŸ“– ⚠️

Saulo Joab

πŸ“–

Pedro Arantes

πŸ’» πŸ“– ⚠️

Silvio ClΓ©cio

πŸ’» πŸ“– ⚠️

Lucas Nascimento

πŸ’»

Lincon Kusunoki

πŸ’» πŸ“– ⚠️

Marcelo Cristiano

πŸ’» πŸ“– ⚠️

TarcΓ­sio Batista de Freitas Junior

πŸ“–

Lucas Carrias

πŸ“– ⚠️ πŸ’» πŸ”§

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

MIT

python's People

Contributors

alexrochas avatar camilamaia avatar guilhermecomum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

guilhermecomum

python's Issues

Regarding the future of this package

Hey @camilamaia! I noticed that you've been cleaning up this project recently, so I have a proposal to make:

Historical Context

I am the owner of the brutils package in PyPI, which predates the brazilian-utils package and organization by about roughly 2 years if I recall correctly.

My project (unlike most in the Python ecosystem, including this one), is thoroughly documented both in Portuguese and English, is thoroughly tested and fully supports both python 2.7 and 3.x (2.7 is still important for legacy applications), exposes an ergonomic and type-hinted API with additional utility functions, and doesn't suffer from extensive code quality issues like some others do (even on this one, validate_first_digit and validate_second_digit are a clear smell of code duplication, as they are almost identical and implement the same checksumming algorithm, but in different positions in the array).

Mine also has the benefit that it already implements CNPJ which this one doesn't, and its internal architecture was made to favor extending the package with support for other types of documents by simply adding more internal modules. Also, like this one, it has zero dependencies outside of Python itself (although the tests can be ran with pytest as well if preferred).

When this organization started a few years ago, I offered to transfer my package so that it would be maintained under it, but that conversation died out and nothing was done.

The Proposal

Given the renewed interest in this package from you, what would you say to us instead of trying to refactor this package into a better shape, transfer mine to the organization (both here and in PyPI) making it the official one, and deprecating this one?

It would lessen the maintenance burden for everyone, and de-fragment the ecosystem (especially since my crate is very old and shares a very similar name)

What do you say? πŸ˜ƒ

Regards, Luiz.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.