

def get_planet(name, d):
    if (name == 'Sun'):
        return {
            'N': math.radians(0.0),
            'i': math.radians(0.0),
            'w': math.radians((282.9404 + (4.70935e-05 * d))),
            'a': 1.0,
            'e': (0.016709 - (1.151e-09 * d)),
            'M': math.radians((356.047 + (0.9856002585 * name))),
        }
    elif (name == 'Mercury'):
        return {
            'N': math.radians((48.3313 + (3.24587e-05 * d))),
            'i': math.radians((7.0047 + (5e-08 * d))),
            'w': math.radians((29.1241 + (1.01444e-05 * d))),
            'a': 0.387098,
            'e': (0.205635 + (5.59e-10 * d)),
            'M': math.radians((168.6562 + (4.0923344368 * d))),
        }
    elif (name == 'Venus'):
        return {
            'N': math.radians((76.6799 + (2.4659e-05 * d))),
            'i': math.radians((3.3946 + (2.75e-08 * d))),
            'w': math.radians((54.891 + (1.38374e-05 * d))),
            'a': 0.72333,
            'e': (0.006773 - (1.302e-09 * d)),
            'M': math.radians((48.0052 + (1.6021302244 * d))),
        }
    elif (name == 'Mars'):
        return {
            'N': math.radians((49.5574 + (2.11081e-05 * d))),
            'i': math.radians((1.8497 - (1.78e-08 * d))),
            'w': math.radians((286.5016 + (2.92961e-05 * d))),
            'a': 1.523688,
            'e': (0.093405 + (2.516e-09 * d)),
            'M': math.radians((18.6021 + (0.5240207766 * d))),
        }
    elif (name == 'Jupiter'):
        return {
            'N': math.radians((100.4542 + (2.76854e-05 * d))),
            'i': math.radians((1.303 - (1.557e-07 * d))),
            'w': math.radians((273.8777 + (1.64505e-05 * d))),
            'a': 5.20256,
            'e': (0.048498 + (4.469e-09 * d)),
            'M': math.radians((19.895 + (0.0830853001 * d))),
        }
    elif (name == 'Saturn'):
        return {
            'N': math.radians((113.6634 + (2.3898e-05 * d))),
            'i': math.radians((2.4886 - (1.081e-07 * d))),
            'w': math.radians((339.3939 + (2.97661e-05 * d))),
            'a': 9.55475,
            'e': (0.055546 - (9.499e-09 * d)),
            'M': math.radians((316.967 + (0.0334442282 * d))),
        }
    elif (name == 'Uranus'):
        return {
            'N': math.radians((74.0005 + (1.3978e-05 * d))),
            'i': math.radians((0.7733 + (1.9e-08 * d))),
            'w': math.radians((96.6612 + (3.0565e-05 * d))),
            'a': (19.18171 - (1.55e-08 * d)),
            'e': (0.047318 + (7.45e-09 * d)),
            'M': math.radians((142.5905 + (0.011725806 * d))),
        }
    elif (name == 'Neptune'):
        return {
            'N': math.radians((131.7806 + (3.0173e-05 * d))),
            'i': math.radians((1.77 - (2.55e-07 * d))),
            'w': math.radians((272.8461 - (6.027e-06 * d))),
            'a': (30.05826 + (3.313e-08 * d)),
            'e': (0.008606 + (2.15e-09 * d)),
            'M': math.radians((260.2471 + (0.005995147 * d))),
        }

dataset/ETHPy150Open lhartikk/AstroBuild/astro_build.py get_planet/VarMisuse@92/123 `d`->`name`