To install:
pip install astrodbkit
To start using astrodbkit, launch iPython, import the module, then initialize a database.
from astrodbkit import astrodb
db = astrodb.Database(dbpath)
Read the full documentation here.
To use the BDNYC Database of brown dwarf data, download the latest data release from the BDNYCdb repo on Github.