Skip to main content

Overview

Standard library

The standard library uses Reboot's capabilities to build powerful data structures and APIs for common tasks.

The current libraries are:

  • Queue - A general purpose queue implementation that allows you to enqueue and dequeue items.
  • SortedMap - A collection / dictionary / map that may be larger than memory, and which is efficiently mapped to Reboot's underlying storage.

Integrations

Reboot's integrations add clean, surefire APIs to interact with third party services. Because interactions with external services are isolated as side-effects, you can confidently use an integration's API -- knowing that it will safely compose, and without worrying about whether it might partially fail or retry unsafely.

The currently supported integrations are:

  • Mailgun - Integration that supports sending email messages using the Mailgun API.

Usage

To use a library service, you must update the list of servicers when starting your Application to include each library service your code uses. For example:

import reboot.std.collections.v1.sorted_map

async def main():
application = Application(
servicers=[HelloServicer] + reboot.std.collections.v1.sorted_map.servicers(),
)

await application.run()

Future libraries and integrations

Reach out to us if there are any integrations or standard library features you want us to prioritize. Or we can help you build them, if that's more your speed!