bencoder VS decimal

Compare bencoder vs decimal and see what are their differences.

bencoder

a library to handle bencode in elixir (by alehander92)

decimal

Arbitrary precision decimal arithmetic (by ericmj)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
bencoder decimal
- 2
4 452
- -
0.0 3.7
almost 9 years ago 24 days ago
Elixir Elixir
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bencoder

Posts with mentions or reviews of bencoder. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning bencoder yet.
Tracking mentions began in Dec 2020.

decimal

Posts with mentions or reviews of decimal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-18.
  • How to write a CRUD CLI using Elixir and ScyllaDB
    6 projects | dev.to | 18 Sep 2023
    Decimal: Arbitrary precision decimal arithmetic.
  • Render beautiful pdf invoice with phoenix and pagedjs
    3 projects | dev.to | 22 Jun 2022
    defmodule Billing.Invoice do defstruct ~w( id title number seller client issued_on payment_due_date articles total payment_information )a @type t :: %__MODULE__{ id: pos_integer(), title: String.t(), number: String.t(), seller: Company.t(), client: Company.t(), issued_on: DateTime.t(), payment_due_date: DateTime.t(), number: String.t(), articles: [Article.t()], total: Total.t(), payment_information: PaymentInformation.t() } defmodule Company do defstruct ~w( name logo address zip_code city country registration_number vat_number )a @type t :: %__MODULE__{ name: String.t(), logo: String.t(), address: String.t(), zip_code: String.t(), city: String.t(), country: String.t(), registration_number: String.t(), vat_number: String.t() } end defmodule Article do defstruct ~w( details qty unit_price vat total_excl_vat total )a @type t :: %__MODULE__{ details: String.t(), qty: integer(), # I recommand using https://hexdocs.pm/decimal or # https://hexdocs.pm/money in a real project unit_price: float(), vat: float(), total_excl_vat: float(), total: float() } end defmodule Total do defstruct ~w( total_excl_vat vat_amount total )a @type t :: %__MODULE__{ # I recommand using https://hexdocs.pm/decimal or # https://hexdocs.pm/money in a real project total_excl_vat: float(), vat_amount: float(), total: float() } end defmodule PaymentInformation do defstruct ~w( bic iban reference )a @type t :: %__MODULE__{ bic: String.t(), iban: String.t(), reference: String.t() } end end

What are some alternatives?

When comparing bencoder and decimal you can also consider the following projects:

calliope - An elixir haml parser

money - Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog.

brcpfcnpj - Validação,Formatação e Gerador Cpf/Cnpj em Elixir

Ex_Money - Elixir implementation of Money with Currency

inflex - An Inflector library for Elixir

elixir-range-extras - Elixir range utilities: constant-time random sampling and set operations.

quickrand - Quick Erlang Random Number Generation

exmoji - :sunglasses: Emoji encoding swiss army knife for Elixir/Erlang

base58 - Base58 encoding/decoding for Elixir

erldn - edn format parser for the erlang platform

tau - Elixir module for tau