package uri

  1. Overview
  2. Docs
An RFC3986 URI/URL parsing library

Install

Dune Dependency

Authors

Maintainers

Sources

uri-v2.1.0.tbz
sha256=ecf51a748d320ede7273f338e18b1d0a86ef0e7e915194e3ebccf945b3afb66b
md5=a5d9ed86f9f26d7936523afecd623d61

Description

This is an OCaml implementation of the RFC3986 specification for parsing URI or URLs.

README

Uri -- an RFC3986 URI/URL parsing library

This is an OCaml implementation of the RFC3986 specification for parsing URI or URLs.

Installation

Via OPAM

The OPAM package manager can be used to install this library from source.

opam install uri

Locally

You can build the source code locally via the dune build system.

opam install uri --deps-only
eval `opam config env`
dune build
dune runtest

will install the dependencies via OPAM, build the library and then run the tests in the lib_test/ directory.

Usage

Once installed, there are three ocamlfind packages available for your use:

  • uri - the base Uri module

  • uri.top - the toplevel printers for use with utop

  • uri.sexp - provides converters to and from s-expressions (via a Uri_sexp.t type alias)

  • uri.services - the Uri_services module that provides the equivalent of services(5)

  • uri.services_full - the Uri_services_full module that provides a complete copy of the /etc/services file. This is quite large and normally not needed.

Contact

Dependencies (6)

  1. stringext >= "1.4.0"
  2. sexplib0
  3. re >= "1.7.2"
  4. ppx_sexp_conv build & >= "v0.9.0"
  5. dune >= "1.2.0" & < "2.0"
  6. ocaml >= "4.04.0"

Dev Dependencies (1)

  1. ounit with-test & >= "1.0.2"

  1. amqp-client-async >= "2.1.0"
  2. amqp-client-lwt >= "2.1.0"
  3. arakoon >= "1.9.0"
  4. archetype < "0.1.5" | >= "1.2.10"
  5. async_js = "v0.10.0" | = "v0.12.0"
  6. aws >= "1.0.0" & < "1.2"
  7. aws-s3 >= "4.0.0"
  8. azblob
  9. azure-cosmos-db
  10. bap >= "0.9.4" & < "1.0.0"
  11. bap-bundle
  12. bap-byteweight >= "2.2.0"
  13. bap-plugins >= "2.2.0"
  14. bap-server
  15. bap-std
  16. bap-trace >= "2.2.0"
  17. bap-traces
  18. bap-veri
  19. biocaml >= "0.4.0"
  20. bt
  21. builder-web
  22. calculon-web
  23. capnp-rpc >= "2.0"
  24. capnp-rpc-lwt >= "0.2" & < "2.0"
  25. capnp-rpc-net
  26. caqti < "2.0.1"
  27. carbon
  28. cohttp >= "1.2.0"
  29. cohttp-async >= "1.2.0"
  30. cohttp-eio
  31. cohttp-lwt >= "4.0.0"
  32. conduit >= "1.3.0" & != "3.0.0"
  33. conduit-lwt-unix
  34. cookie
  35. cow >= "0.5.4"
  36. datakit
  37. datakit-bridge-github
  38. datakit-ci >= "0.12.2" & < "1.0.0"
  39. datakit-client < "0.11.0"
  40. datakit-github
  41. datakit-server < "0.11.0"
  42. dns < "0.7.0" | >= "1.0.0" & < "4.0.0"
  43. dropbox < "0.2"
  44. ezresto
  45. facebook-sdk
  46. gemini
  47. git < "3.0.0"
  48. git-mirage >= "3.7.0"
  49. git-paf
  50. git-unix >= "3.0.0"
  51. github >= "0.3.1"
  52. gitlab
  53. hvsock >= "2.0.0"
  54. hyper
  55. icalendar
  56. ip2locationio
  57. ip2whois
  58. irmin
  59. irmin-cli
  60. irmin-git >= "2.3.0"
  61. irmin-http >= "2.3.0"
  62. irmin-mirage-git >= "2.3.0"
  63. irmin-mirage-graphql >= "2.3.0"
  64. irmin-server
  65. irmin-unix >= "2.3.0"
  66. json-data-encoding
  67. ketrew
  68. kubecaml
  69. lambda-runtime
  70. letsencrypt >= "0.3.0"
  71. links >= "0.9"
  72. liquidsoap >= "2.1.1" & < "2.2.0"
  73. liquidsoap-core
  74. mechaml
  75. message-switch
  76. minima-theme
  77. mirage-block-unix >= "2.4.0"
  78. monorobot
  79. moss
  80. nbd >= "2.0.1"
  81. nbd-tool
  82. obi
  83. ocplib-json-typed
  84. oidc
  85. omigrate
  86. opam-query
  87. opam2web >= "1.3.0"
  88. opamfu
  89. paf
  90. paf-cohttp
  91. pf-qubes
  92. piaf
  93. rdf >= "0.10.0" & < "0.12.0"
  94. resto
  95. resto-acl
  96. resto-cohttp-client
  97. resto-cohttp-self-serving-client
  98. satyrographos < "0.0.2.1"
  99. scgi
  100. sentry
  101. slack
  102. sociaml-facebook-api
  103. sociaml-oauth-client
  104. sociaml-tumblr-api
  105. spotify-web-api
  106. stog >= "0.17.0" & < "0.19.0"
  107. syndic
  108. textrazor
  109. tezos-stdlib-unix < "7.4"
  110. tezos-test-helpers >= "10.2" & < "14.0"
  111. trakeva >= "0.1.0"
  112. validate
  113. vhd-tool
  114. wamp >= "1.1"
  115. xapi-idl
  116. xe
  117. xen-api-client
  118. xentropyd

Conflicts

None

OCaml

Innovation. Community. Security.