dnbbank / dnbtestdata Goto Github PK
View Code? Open in Web Editor NEWPlayground for creating test data
License: GNU General Public License v3.0
Playground for creating test data
License: GNU General Public License v3.0
Just out of curiosity I browsed the list of last names and found my name on the list. Being a customer of DnB I couldn't help but think that this list is generated from your list of customers. If it was, is that ok in a post GDPR world? If not, how did you generate or retrieve these names?
Arne is female .. or is he?
$ create_people.py -n 1
[
{
"ssn": "01037843751",
"firstName": "Arne",
"lastName": "Edvardsen",
"dateOfBirth": "1978-03-01",
"gender": "Female",
"nationality": "Norwegian",
"address": {
"street": "Evensengropa 00",
"postalCode": "8187",
"city": "Haugland",
"country": "NO"
},
"phoneNumber": "92395941",
"email": "[email protected]",
"idType": "passport"
}
]
I made a branch and tried to make a PR, but it seems I lack permissions*. So, here's a new _NorwegianName
for models/person/elements/name.py that does not always select male names:
class _NorwegianName:
fake = Faker('no_NO')
@classmethod
def generate_random_first_name(cls, gender):
if gender == gender.MALE:
return cls.fake.first_name_male()
elif gender == gender.FEMALE:
return cls.fake.first_name_female()
else:
raise Exception()
@classmethod
def generate_random_last_name(cls):
return cls.fake.last_name()
*: Permission error:
$ git push --set-upstream origin not-all-arnes-are-female
remote: Permission to DNBbank/dnbtestdata.git denied to cloveras.
fatal: unable to access 'https://github.com/DNBbank/dnbtestdata.git/': The requested URL returned error: 403
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.