Skip to content
#

fake

Here are 518 public repositories matching this topic...

cestlacata
cestlacata commented May 19, 2021
  • Faker version: 8.1.2
  • OS: Windows 10

For locale fr_FR siren() and siret() methods generate incorrect values.
https://faker.readthedocs.io/en/master/locales/fr_FR.html#faker.providers.company.fr_FR.Provider.siren
https://faker.readthedocs.io/en/master/locales/fr_FR.html#faker.providers.company.fr_FR.Provider.siret

A valid SIREN has 9 digits = 8 digits + 1 Luhn Key
A valid SIRET has 14

ST-DDT
ST-DDT commented Feb 24, 2022

Clear and concise description of the problem

The time.recent does little to nothing and is not seedable.

Suggested solution

We should remove it.

Alternative

We could make it seedable, but that would reduce the methods usefulness even more.

Additional context

IMO we should suggest faker.date.recent(1) as alternative or just new Date().
We should also remove it from the r

analtevs
analtevs commented Nov 1, 2021

I wanted to make a note of this before I forget

We can leverage device farms for creating fingerprint database / set.
Because we can opt for real devices and would have hundreds to select from (not to mention a simple framework) creating and regenerating profiles from ddump shouldn't be an issue. When I get some free time this week I do plan on doing this.
(on a side note - i do believe one

Improve this page

Add a description, image, and links to the fake topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fake topic, visit your repo's landing page and select "manage topics."

Learn more