I hereby claim:
- I am codeadict on github.
- I am dairon (https://keybase.io/dairon) on keybase.
- I have a public key ASAd7-ISbwuLfULnqKiOb6NvPej3BINo8CRAzLEf6K2yzwo
To claim this, I am signing this object:
curl -s https://ipv6.ipparrot.net |
curl -s https://ipv4.ipparrot.net |
I hereby claim:
To claim this, I am signing this object:
from faker import Faker | |
fake = Faker() | |
fake.random.seed(1234) | |
print(fake.name()) |
from faker import Faker | |
from planet_provider import PlanetProvider | |
fake = Faker() | |
fake = Faker() | |
fake.add_provider(PlanetProvider) | |
print(fake.planet()) |
from faker.providers import BaseProvider | |
class PlanetProvider(BaseProvider): | |
__provider__ = 'planet' | |
__lang___ = 'en_US' | |
planets = ['Neptune', 'Mars', 'Mercury', 'Venus', 'Earth', 'Jupiter', 'Saturn', 'Uranus'] |
from faker import Faker | |
fake = Faker('es_ES') | |
print(fake.name()) | |
print(fake.address()) | |
print(fake.phone_number()) |
import unittest | |
from faker import Faker | |
from customer import Customer | |
class TestCustomer(unittest.TestCase): | |
def setUp(self): |
class Customer: | |
def __init__(self, name, address, state, zipcode, contact_name, | |
phone_number, email, notes): | |
self.name = name | |
self.address = address | |
self.state = state | |
self.zipcode = zipcode | |
self.contact_name = contact_name | |
self.phone_number = phone_number |
{ | |
"_meta": { | |
"hash": { | |
"sha256": "b802fff146f9ce84e1e9281ab16181a877ecd5981ecca9e462dcac13099e5b7e" | |
}, | |
"host-environment-markers": { | |
"implementation_name": "cpython", | |
"implementation_version": "3.6.3", | |
"os_name": "posix", | |
"platform_machine": "x86_64", |