ex_rfc3986 alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view ex_rfc3986 alternatives based on common mentions on social networks and blogs.
-
Ex_Money
Money arithmetic, conversion, serialisation with Ecto and exchange rate service integration. -
number
Number is a pretentiously-named Elixir library which provides functions to convert numbers into a variety of different formats. -
secure_random
Convenience library for random base64 strings modeled after my love for Ruby's SecureRandom. -
chinese_translation
Translate between traditional chinese and simplified chinese based on wikipedia data, and translate chinese words/characters to pinyin (or slug with or without tone). -
inet_cidr
Classless Inter-Domain Routing (CIDR) for Elixir that is compatible with :inet and supports both IPv4 and IPv6. -
unit_fun
Attempt to add units to numbers in elixir to give some added type saftey when dealing with numeric quantities. -
bencode
A Bencode encoder and decoder for Elixir. The decoder will return the checksum value of the info dictionary, if an info dictionary was found in the input.
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of ex_rfc3986 or a related project?
README
RFC3986
An URI parser trying to be strictly compatible with RFC3986.
This project uses ex_abnf with the official uri grammar
Example
iex> RFC3986.init # Call this one first to initialize the grammar.
iex> {_matched_uri, _not_matched_input, result} = RFC3986.parse 'http://user:[email protected]:8812/docs/stable/elixir/Enum.html?k1%2A=v1&k2=v2#fragment'
iex> result
%RFC3986.Result{
fragment: 'fragment',
host: 'elixir-lang.org',
host_type: :reg_name,
password: 'pass',
port: 8812,
query: 'k1%2A=v1&k2=v2',
query_string: %{'k1%2A' => 'v1', 'k2' => 'v2'},
scheme: 'http',
segments: ['docs', 'stable', 'elixir', 'Enum.html'],
type: :authority,
userinfo: 'user:pass',
username: 'user'
}
Using it with Mix
To use it in your Mix projects, first add it as a dependency:
def deps do
[{:ex_rfc3986, "~> 0.2.7"}]
end
Then run mix deps.get to install it.
License
The source code is released under Apache 2 License.
Check LICENSE file for more information.
*Note that all licence references and agreements mentioned in the ex_rfc3986 README section above
are relevant to that project's source code only.