package tqdm

  1. Overview
  2. Docs
OCaml library for progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

0.1b.tar.gz
md5=6a771915d961838305e42ded3a2aa82b
sha512=15030dc123aa42cddff5a853720ca1a000d4f1b7e7fae2caba5509647378e1287574f23d771998627ddab777615af9fb433fa4c36e4c8b9ff93e0e08b10f1816

Description

A simple OCaml library to display and update progress bars inspired by Python tqdm library.

Published: 09 Dec 2019

README

ocaml-tqdm

ocaml-tqdm is a progress bar library for OCaml. The implementation is based on Python tqdm library.

Below is an example of how to use this library:

module T = Tqdm.Tqdm
T.with_bar 100 ~f:(fun tqdm ->
  for v = 1 to 100 do
    Unix.sleepf 0.1;
    T.update tqdm v
done);

Dependencies (5)

  1. stdio
  2. ocaml-compiler-libs
  3. ocaml >= "4.07"
  4. dune >= "1.3.0"
  5. base >= "v0.12.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.