package uri

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

Install

Dune Dependency

Authors

Maintainers

Sources

uri-v4.1.0.tbz
sha256=d269901cd27cffaadfa077fe761ef334ad4cdbebeb065faeb833824617ab2ce1
sha512=bf9eb9aa29ced3ae9d39cb3ca8772de118bfe67d8fe2280f213e627f0fef7e80c7703a0dbb7d16c3d23c427866ee6b09c0973e6836e9c3b7225f55597356537c

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-re - the legacy implementation At the beginning, uri used re to parse a string. Since 4.0.0, we use angstrom - if something breaks with uri.4.0.0, you should compare with uri-re and submit an issue. uri-re is deprecated and it will be removed on the next release (see #150)

  • 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 (4)

  1. angstrom >= "0.14.0"
  2. stringext >= "1.4.0"
  3. dune >= "1.2.0"
  4. ocaml >= "4.04.0"

Dev Dependencies (2)

  1. ppx_sexp_conv with-test & >= "v0.9.0"
  2. 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-uri < "0.2" | = "0.3.0"
  6. async_js >= "v0.13.0"
  7. aws >= "1.0.0"
  8. aws-s3 >= "4.0.0"
  9. azblob
  10. azure-cosmos-db
  11. bap >= "0.9.4" & < "1.0.0"
  12. bap-bundle
  13. bap-byteweight >= "2.2.0"
  14. bap-plugins >= "2.2.0"
  15. bap-server
  16. bap-std < "2.0.0" | >= "2.2.0"
  17. bap-trace >= "2.2.0"
  18. bap-traces
  19. bap-veri
  20. biocaml >= "0.4.0"
  21. bonsai >= "v0.16.0"
  22. bt
  23. builder-web
  24. calculon-web
  25. caldav
  26. canary
  27. capnp-rpc-lwt >= "0.2"
  28. capnp-rpc-net
  29. caqti
  30. caqti-driver-postgresql >= "1.9.1"
  31. carbon
  32. cohttp >= "2.1.3"
  33. cohttp-async >= "2.1.3"
  34. cohttp-eio
  35. cohttp-lwt >= "4.0.0"
  36. conduit >= "1.3.0" & != "3.0.0"
  37. conduit-async = "2.3.0" | >= "4.0.0"
  38. conduit-lwt-unix
  39. conduit-mirage = "2.3.0" | >= "4.0.0"
  40. cookie
  41. cow >= "0.5.4"
  42. current_examples >= "0.4"
  43. current_github >= "0.4"
  44. current_slack >= "0.4"
  45. current_web >= "0.4"
  46. datakit
  47. datakit-bridge-github
  48. datakit-ci >= "1.0.0"
  49. datakit-client < "0.11.0"
  50. datakit-github
  51. datakit-server < "0.11.0"
  52. dns < "0.7.0" | >= "1.0.0" & < "4.0.0"
  53. doi2bib = "0.4.0"
  54. dream < "1.0.0~alpha2"
  55. dropbox < "0.2"
  56. ezresto
  57. facebook-sdk
  58. gemini
  59. git
  60. git-cohttp
  61. git-cohttp-mirage
  62. git-cohttp-unix
  63. git-mirage >= "3.7.0"
  64. git-paf
  65. git-unix >= "3.0.0"
  66. github >= "0.3.1"
  67. gitlab
  68. grpc
  69. httpaf_caged
  70. hvsock >= "2.0.0"
  71. hyper
  72. icalendar
  73. ip2locationio
  74. ip2whois
  75. irmin
  76. irmin-cli
  77. irmin-git >= "2.3.0"
  78. irmin-http >= "2.3.0"
  79. irmin-mirage-git >= "2.3.0"
  80. irmin-mirage-graphql >= "2.3.0"
  81. irmin-server
  82. irmin-unix >= "2.3.0"
  83. json-data-encoding
  84. ketrew
  85. kubecaml
  86. lambda-runtime
  87. letsencrypt >= "0.3.0"
  88. links >= "0.9"
  89. liquidsoap >= "2.1.1" & < "2.2.0"
  90. liquidsoap-core
  91. lsp = "1.12.3"
  92. mechaml >= "1.2.0"
  93. memtrace_viewer < "v0.15.0"
  94. message-switch
  95. minima-theme
  96. mirage-block-unix >= "2.4.0"
  97. monorobot
  98. moss
  99. naboris
  100. nbd >= "2.0.1"
  101. nbd-tool
  102. obi
  103. ocaml-lsp-server = "1.12.3"
  104. ocaml_openapi_generator
  105. ocplib-json-typed
  106. octez-client
  107. octez-internal-libs
  108. octez-libs
  109. octez-node
  110. octez-protocol-001-PtCJ7pwo-libs
  111. octez-protocol-002-PsYLVpVv-libs
  112. octez-protocol-003-PsddFKi3-libs
  113. octez-protocol-004-Pt24m4xi-libs
  114. octez-protocol-005-PsBabyM1-libs
  115. octez-protocol-006-PsCARTHA-libs
  116. octez-protocol-007-PsDELPH1-libs
  117. octez-protocol-008-PtEdo2Zk-libs
  118. octez-protocol-009-PsFLoren-libs
  119. octez-protocol-010-PtGRANAD-libs
  120. octez-protocol-011-PtHangz2-libs
  121. octez-protocol-012-Psithaca-libs
  122. octez-protocol-013-PtJakart-libs
  123. octez-protocol-014-PtKathma-libs
  124. octez-protocol-015-PtLimaPt-libs
  125. octez-protocol-016-PtMumbai-libs
  126. octez-protocol-017-PtNairob-libs
  127. octez-protocol-018-Proxford-libs
  128. octez-protocol-019-PtParisB-libs
  129. octez-protocol-020-PsParisC-libs
  130. octez-protocol-alpha-libs
  131. octez-proxy-server
  132. octez-shell-libs
  133. octez-smart-rollup-client-PtMumbai < "17.1"
  134. octez-tx-rollup-client-PtKathma
  135. octez-tx-rollup-client-PtLimaPt
  136. oidc
  137. omigrate
  138. opam-query
  139. opam2web >= "1.3.0"
  140. opamfu
  141. opium >= "0.19.0"
  142. paf
  143. paf-cohttp
  144. pf-qubes
  145. piaf
  146. rdf >= "0.10.0" & < "0.12.0"
  147. resto
  148. resto-acl
  149. resto-cohttp-client
  150. resto-cohttp-self-serving-client
  151. satyrographos >= "0.0.2.1"
  152. scgi
  153. sentry
  154. slack
  155. sociaml-facebook-api
  156. sociaml-oauth-client
  157. sociaml-tumblr-api
  158. spotify-web-api
  159. stog >= "0.17.0" & < "0.19.0"
  160. syndic
  161. textrazor
  162. tezos-baking-012-Psithaca >= "14.0"
  163. tezos-baking-012-Psithaca-commands >= "14.0"
  164. tezos-baking-013-PtJakart >= "14.0"
  165. tezos-baking-013-PtJakart-commands >= "14.0"
  166. tezos-baking-014-PtKathma
  167. tezos-baking-014-PtKathma-commands
  168. tezos-baking-015-PtLimaPt
  169. tezos-baking-015-PtLimaPt-commands
  170. tezos-baking-016-PtMumbai
  171. tezos-baking-016-PtMumbai-commands
  172. tezos-baking-017-PtNairob
  173. tezos-baking-017-PtNairob-commands
  174. tezos-baking-alpha >= "14.0"
  175. tezos-baking-alpha-commands >= "14.0"
  176. tezos-base >= "14.0"
  177. tezos-client >= "14.0"
  178. tezos-client-001-PtCJ7pwo >= "14.0"
  179. tezos-client-002-PsYLVpVv >= "14.0"
  180. tezos-client-003-PsddFKi3 >= "14.0"
  181. tezos-client-004-Pt24m4xi >= "14.0"
  182. tezos-client-005-PsBabyM1 >= "14.0"
  183. tezos-client-006-PsCARTHA >= "14.0"
  184. tezos-client-007-PsDELPH1 >= "14.0"
  185. tezos-client-008-PtEdo2Zk >= "14.0"
  186. tezos-client-009-PsFLoren >= "14.0"
  187. tezos-client-010-PtGRANAD >= "14.0"
  188. tezos-client-011-PtHangz2 >= "14.0"
  189. tezos-client-012-Psithaca >= "14.0"
  190. tezos-client-013-PtJakart >= "14.0"
  191. tezos-client-014-PtKathma
  192. tezos-client-015-PtLimaPt
  193. tezos-client-016-PtMumbai
  194. tezos-client-017-PtNairob
  195. tezos-client-alpha >= "14.0"
  196. tezos-client-base >= "14.0"
  197. tezos-client-base-unix >= "14.0"
  198. tezos-client-commands >= "14.0"
  199. tezos-event-logging >= "14.0"
  200. tezos-mockup-proxy >= "14.0"
  201. tezos-mockup-registration >= "14.0"
  202. tezos-node >= "14.0"
  203. tezos-proxy >= "14.0"
  204. tezos-proxy-server >= "14.0"
  205. tezos-proxy-server-config
  206. tezos-rpc >= "14.0"
  207. tezos-rpc-http >= "14.0"
  208. tezos-signer-backends >= "14.0"
  209. tezos-stdlib-unix >= "14.0"
  210. tezos-test-helpers >= "10.2"
  211. tezos-tx-rollup-client-013-PtJakart
  212. tezos-tx-rollup-client-014-PtKathma
  213. tezos-tx-rollup-client-alpha
  214. tezt-performance-regression
  215. tezt-tezos
  216. trakeva >= "0.1.0"
  217. uri-sexp = "4.1.0"
  218. validate
  219. vhd-tool
  220. virtual_dom >= "v0.16.0"
  221. wamp >= "1.1"
  222. xapi-idl
  223. xe
  224. xen-api-client
  225. xentropyd

Conflicts

None

OCaml

Innovation. Community. Security.