Permalink
Browse files

Merge pull request #443 from GlassGruber/master

Create internet IT provider
  • Loading branch information...
2 parents 37ccd52 + d182a59 commit c4d142734ba939ecc99e78cd46f9c34f8bca93fc @fcurella fcurella committed on GitHub Dec 28, 2016
Showing with 30 additions and 0 deletions.
  1. +30 −0 faker/providers/internet/it_IT/__init__.py
@@ -0,0 +1,30 @@
+# coding=utf-8
+from __future__ import unicode_literals
+from .. import Provider as InternetProvider
+
+
+class Provider(InternetProvider):
+ safe_email_tlds = ('com', 'net', 'eu', 'it', 'it', 'it')
+ free_email_domains = (
+ 'libero.it', 'libero.it', 'libero.it',
+ 'tim.it',
+ 'tin.it',
+ 'alice.it',
+ 'virgilio.it',
+ 'tiscali.it',
+ 'fastwebnet.it',
+ 'vodafone.it',
+ 'poste.it',
+ 'gmail.com', 'gmail.com', 'gmail.com',
+ 'outlook.com',
+ 'live.com',
+ 'hotmail.com',
+ 'hotmail.it',
+ 'yahoo.com',
+ 'tele2.it',
+ )
+ tlds = ('com', 'com', 'com', 'net', 'org', 'eu', 'it', 'it', 'it', 'it')
+ replacements = (
+ ('à', 'a'), ('é', 'e'), ('è', 'e'),
+ ('ì', 'i'), ('ò', 'o'), ('ù', 'u')
+ )

0 comments on commit c4d1427

Please sign in to comment.