Tangerine

screenshot of Tangerine

A Flask inspired, decorator based API wrapper for Python-Slack.

Overview

Tangerine is a sleek and efficient framework designed for building Slackbots using Python. Drawing inspiration from Flask, this decorator-based API wrapper simplifies the bot development process by reducing boilerplate code, allowing developers to focus on functionality instead. It's accessible for both seasoned developers and newcomers, making it an ideal choice for those looking to create interactive bots for their Slack workspace.

With Tangerine, you can quickly set up a bot by configuring it to listen for specific commands or phrases. It also includes a built-in scheduling feature that enables sending periodic messages, enhancing its utility in various scenarios. Whether you want a bot to respond instantly to certain keywords or send reminders at set intervals, Tangerine offers a versatile solution.

Features

  • Decorator-Based Design: Utilizes a decorator pattern to simplify event handling, making your code cleaner and easier to understand.
  • Lightweight Framework: Minimal setup and overhead, allowing developers to get started with bot creation quickly.
  • Flexible Configuration: Supports both YAML configuration files and direct token input for easy customization.
  • Listen for Commands: Easily register response functions to keywords or phrases with the listen_for decorator.
  • Cron Support: Includes a single-threaded implementation of Cron for scheduled messaging, useful for periodic reminders.
  • User Context Awareness: Access user information through event objects to personalize responses based on who triggered the bot.
  • Rapid Development: Designed for quick iterations and testing, making it perfect for agile development environments.
  • Community-Friendly: Open for collaboration and enhancements, fostering a community of developers and users.