OCaml Packages
Explore thousands of open-source OCaml packages with their documentation.
Opam: The OCaml Package Manager
Opam is a source-based package manager for OCaml. It supports
multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly
development workflow.
4549
Packages
28
New packages this month
39
Updates this week
Featured Packages
Discover new and OCaml packages from featured community packages.
Most Used Packages
odoc
OCaml Documentation Generator
Used by 1103 other packages
lwt
Promises and event-driven I/O
Used by 574 other packages
alcotest
Alcotest is a lightweight and colourful test framework
Used by 561 other packages
cmdliner
Declarative definition of command line interfaces for OCaml
Used by 388 other packages
fmt
OCaml Format pretty-printer combinators
Used by 339 other packages
New Packages
pretty_expressive
A pretty expressive printer
3 days ago
urn
Urn data structure for fast pure functional random sampling
8 days ago
atacama
Modern, pure OCaml socket pool for Riot
9 days ago
riot
An actor-model multi-core scheduler for OCaml 5
9 days ago
hol2dk
HOL-Light to Dedukti/Lambdapi translator
11 days ago
Recently Updated
ocaml-base-compiler
First release candidate of OCaml 5.1.1
Version 5.1.1~rc1
ocaml-variants
First release candidate of OCaml 5.1.1
Version 5.1.1~rc1+options
chrome-trace
Chrome trace event generation library
Version 3.12.1
dune-action-plugin
[experimental] API for writing dynamic Dune actions
Version 3.12.1
dune-build-info
Embed build information inside executable
Version 3.12.1
STABLE ECOSYSTEM
Focus on Your Code, and opam Takes Care of Distributing It.
Our users have the highest standards for the OCaml ecosystem to run
mission-critical applications across a variety of operating systems, and they expect that a package that
compiles today will still work a decade from now.
Continuous Integration
Before any package update, we run sandboxed matrix builds for
boundaries of the dependencies and for each of the dependent packages. A package publication will
never break the rest of the ecosystem.
State of the Art
Opam supports publishing multiple versions of packages
simultaneously to specify the version constraints, so only compatible revisions are
chosen for a build. It comes with a performant constraint solver, a flexible CLI, a well-specified
metadata format, and an easy access to the package manager logic via OCaml libraries.
Stability
The opam project and package repository is maintained by a team of
developers who ensure that everything is not only running smoothly, but also curated to maintain a high
degree of metadata quality. This makes it one of the most stable package repositories available
today.
If you want to learn about the OCaml packages, check out the Contributing Guide on GitHub.
Start Contributing
Learn how to publish your first Opam package today and make it available
to the rest of the community.