Behaviours and Interfaces

OTP behaviours and interface definitions for creating reusable and standardized components. Packages among the 3,000 most downloaded in the past 90 days.

14 packages
  • Database connection behaviour for database transactions and connection pooling

    353
    5.4m last 90 days
  • Connection behaviour for connection processes

    267
    530.3k last 90 days
  • enough 0.1.0

    A gen_server implementation with additional, overload-protected call type

    8
    496.0k last 90 days
  • knigge 1.4.1

    An opinionated way of dealing with behaviours.

    111
    200.7k last 90 days
  • Dead-simple Access behaviour for custom structs

    48
    55.1k last 90 days
  • StructAccess provides a generic implementation of the `Access` behaviour for the module where this library is used.

    12
    33.2k last 90 days
  • oath 0.1.1

    Oath provides a system for Design by Contract in Elixir.

    46
    31.0k last 90 days
  • Erlang behaviour for recurring events

    24
    19.7k last 90 days
  • EXPERIMENTAL — Shared contract for the DpExchange family of exchange adapters: behaviours, value types, canonical-pair normalisation and a conformance suite.

    1
    9.4k last 90 days
  • metal 0.1.2

    Lightweight server behaviour

    16
    8.3k last 90 days
  • Execution Plane contracts, JSON-RPC, and process runtime

    2
    7.1k last 90 days
  • Pure shared lower contracts for the GroundPlane workspace

    1
    6.8k last 90 days
  • Pure persistence profile, tier, capture, store, and debug contract

    1
    6.7k last 90 days
  • gen_mcp 2.2.0

    A generic MCP server behaviour, plus predefined server implementations and plugs to get started immediately.

    3
    4.3k last 90 days