Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/o/p/open-exoplanet-catalogue-python-HEAD/oecpy/example.py   open-exoplanet-catalogue-python(Download)
# Due to its wider applicability im putting these here
from .astroclasses import Planet, Star, Binary, System, Parameters, PlanetParameters, StarParameters, BinaryParameters
from . import astroclasses as ac
    systemPar.addParam('rightascension', '01 02 03')
    exampleSystem = System(systemPar.params)
    ac._ExampleSystemCount += 1

src/o/p/open-exoplanet-catalogue-python-HEAD/oecpy/database.py   open-exoplanet-catalogue-python(Download)
import glob
from .astroclasses import System, Binary, Star, Planet, Parameters, BinaryParameters, StarParameters, PlanetParameters
compactString = lambda string: string.replace(' ', '').replace('-', '').lower()
                systemParams.addParam(tag, text, attrib)
            system = System(systemParams.params)
            self.systems.append(system)  # Add system to the index

src/o/p/open-exoplanet-catalogue-python-HEAD/oecpy/tests/test_astroclasses.py   open-exoplanet-catalogue-python(Download)
import quantities as pq
from ..astroclasses import Parameters, Star, Planet, Binary, System, _findNearest, SpectralType, _BaseObject
from ..example import genExamplePlanet
from .patches import TestCase