Every language has specific data that suit only for ones. For example SSN for en (USA) or CPF for pt-br. CPF can be useful only for brazilians.
If user want to use this providers then he must be imported explicitly.
Here's how it will look:
>>> from elizabeth import Generic
>>> from elizabeth.builtins import Brazil
>>> generic = Generic('pt-br')
>>> class BrazilProvider(Brazil):
class Meta:
name = "brazil_provider"
>>> generic.add_provider(BrazilProvider)
>>> generic.brazil_provider.cpf()
'001.137.297-40'
@Battleroid What you think about it? Does that sound like something useful?
Yes, this is useful.
Perhaps we can also make a general one for custom pieces of data that can be useful as well altough im having trouble picturing how you'd make that
@Battleroid @Uncleleech Also i added really small comparison to README (with screenshot).
Sounds good.
Most helpful comment
@Battleroid @Uncleleech Also i added really small comparison to README (with screenshot).