package uri

  1. Overview
  2. Docs

Description

RFC3986 URI/URL parsing library

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 Jbuilder build system.

opam install uri --deps-only
eval `opam config env`
jbuilder build --dev
jbuilder 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.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 (9)

  1. stringext >= "1.4.0"
  2. sexplib >= "v0.9.0"
  3. re
  4. ocaml-migrate-parsetree < "2.0.0"
  5. ppx_sexp_conv >= "v0.9.0"
  6. jbuilder >= "1.0+beta7"
  7. ocamlfind build
  8. base-bytes
  9. ocaml >= "4.03.0" & < "4.06.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 < "0.2.0"
  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-lwt >= "0.2"
  24. capnp-rpc-net
  25. caqti < "2.0.1"
  26. carbon
  27. cohttp >= "0.10.1" & < "1.2.0"
  28. cohttp-async < "1.2.0"
  29. cohttp-eio
  30. conduit >= "0.6.0" & != "3.0.0"
  31. conduit-lwt-unix
  32. cookie
  33. cow >= "0.5.4"
  34. datakit < "0.12.2"
  35. datakit-bridge-github < "0.12.2"
  36. datakit-ci < "0.12.2"
  37. datakit-client < "0.11.0"
  38. datakit-github
  39. datakit-server < "0.11.0"
  40. dns < "0.7.0" | >= "1.0.0" & < "4.0.0"
  41. dropbox < "0.2"
  42. ezresto
  43. facebook-sdk
  44. gemini
  45. git < "3.0.0"
  46. git-mirage >= "3.7.0"
  47. git-paf
  48. git-unix >= "3.0.0"
  49. github >= "0.3.1"
  50. gitlab
  51. hvsock >= "2.0.0"
  52. hyper
  53. icalendar
  54. ip2locationio
  55. irmin
  56. irmin-cli
  57. irmin-git >= "2.3.0"
  58. irmin-http >= "2.3.0"
  59. irmin-mirage-git >= "2.3.0"
  60. irmin-mirage-graphql >= "2.3.0"
  61. irmin-server
  62. irmin-unix >= "2.3.0"
  63. json-data-encoding
  64. ketrew
  65. lambda-runtime
  66. letsencrypt >= "0.3.0"
  67. links >= "0.9"
  68. liquidsoap >= "2.1.1" & < "2.2.0"
  69. liquidsoap-core
  70. mechaml
  71. message-switch
  72. minima-theme
  73. mirage-block-unix >= "2.4.0"
  74. monorobot
  75. moss
  76. nbd >= "2.0.1"
  77. nbd-tool
  78. obi
  79. ocplib-json-typed
  80. oidc
  81. omigrate
  82. opam-query
  83. opam2web >= "1.3.0"
  84. opamfu
  85. opium_kernel < "0.17.1"
  86. paf
  87. paf-cohttp
  88. piaf
  89. rdf >= "0.10.0" & < "0.12.0"
  90. resto
  91. resto-acl
  92. resto-cohttp-client
  93. resto-cohttp-self-serving-client
  94. scgi
  95. sentry
  96. slack
  97. sociaml-facebook-api
  98. sociaml-oauth-client
  99. sociaml-tumblr-api
  100. spotify-web-api
  101. stog >= "0.17.0" & < "0.19.0"
  102. syndic
  103. textrazor
  104. tezos-stdlib-unix < "7.4"
  105. tezos-test-helpers >= "10.2" & < "14.0"
  106. trakeva >= "0.1.0"
  107. validate
  108. vhd-tool
  109. wamp
  110. xapi-idl
  111. xe
  112. xen-api-client
  113. xentropyd

Conflicts

None

OCaml

Innovation. Community. Security.