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. ppx_sexp_conv >= "v0.9.0"
  5. ocaml-migrate-parsetree < "2.0.0"
  6. jbuilder >= "1.0+beta7"
  7. ocamlfind build
  8. base-bytes
  9. ocaml >= "4.03.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. pf-qubes
  89. piaf
  90. rdf >= "0.10.0" & < "0.12.0"
  91. resto
  92. resto-acl
  93. resto-cohttp-client
  94. resto-cohttp-self-serving-client
  95. scgi
  96. sentry
  97. slack
  98. sociaml-facebook-api
  99. sociaml-oauth-client
  100. sociaml-tumblr-api
  101. spotify-web-api
  102. stog >= "0.17.0" & < "0.19.0"
  103. syndic
  104. textrazor
  105. tezos-stdlib-unix < "7.4"
  106. tezos-test-helpers >= "10.2" & < "14.0"
  107. trakeva >= "0.1.0"
  108. validate
  109. vhd-tool
  110. wamp
  111. xapi-idl
  112. xe
  113. xen-api-client
  114. xentropyd

Conflicts

None