To install the Python Beeline for your application:

  1. Make sure your version of setuptools is up to date:

    pip install -U setuptools
    
  2. Install the Beeline package:

    pip install honeycomb-beeline
    
  3. Initialize the Beeline by including the following at the entry point to your application:

    import beeline
    beeline.init(
        writekey='YOUR_API_KEY',
        # The name of your app/service is a good choice
        service_name='my-python-app',
        # debug=True, # defaults to False. if True, data doesn't get sent to Honeycomb
    )
    

With debug set to True you’ll see events being generated in your terminal output, but they won’t be sent to Honeycomb. Set debug=False to start sending events to Honeycomb.

On this page: