python-snippets/pseudodb/default/data.py

29 lines
880 B
Python

from array import array as ar
names = {
"male": ["Greg", "John", "Edward", "Francis", "Charles", "Luke", "Thomas"],
"female": ["Doreen", "Janice", "Sue", "Mary", "Lisa", "Janine", "Doris"]
}
cars = {
"chevy": ["Blazer", "Tahoe", "Caprice", "Suburban", "Silverado"],
"ford": ["Mustang", "Bronco", "Focus", "Taurus", "Escape"],
"chrysler": ["Sebring", "Crossfire", "Pacifica", "Voyager"]
}
languages = {
"compiled": ["C++", "C#", "C", "Assembler", "Rust", "Go"],
"interpreted": ["Ruby", "Rexx", "Perl"],
"bytecode": ["Java", "Python", "VisualBasic"]
}
fruits = ["apple", "banana", "cherry", "orange", "strawberry", "pear"]
disparates = ["string!", 2020, 3.14, {"thing": "and such"}]
years = (2010, 2011, 2012, 2013, 2014, 2015)
floats = ar('f', [3.14, 0.5, 9.99, 1.5])
message = "This is just a plain old string!"