<gh_stars>10-100
import databento as db


if __name__ == "__main__":
    db.log = "debug"  # optional debug logging

    key = "YOUR_ACCESS_KEY"
    client = db.Historical(key=key)

    print(client.metadata.list_datasets())
    print(client.metadata.list_schemas(dataset="GLBX.MDP3"))
    print(client.metadata.list_fields(dataset="GLBX.MDP3"))
    print(client.metadata.list_encodings())
    print(client.metadata.list_compressions())

import databento as db


if __name__ == "__main__":
    db.log = "debug"  # optional debug logging

    key = "YOUR_ACCESS_KEY"
    client = db.Historical(key=key)

    print(client.metadata.list_datasets())
    print(client.metadata.list_schemas(dataset="GLBX.MDP3"))
    print(client.metadata.list_fields(dataset="GLBX.MDP3"))
    print(client.metadata.list_encodings())
    print(client.metadata.list_compressions())
# optional debug logging