For anemometer, send the sensor data to cayenne using GitHub - myDevicesIoT/Cayenne-MQTT-Python: Python Library for Cayenne MQTT API.
for BME280 use this code RPi.bme280 · PyPI to get data and use the above cayenne Python library to send data.
Make sure to use the correct data types Data types for Cayenne MQTT API