{"id":13507164,"url":"https://github.com/gmcabrita/bloomex","last_synced_at":"2025-10-21T18:50:45.035Z","repository":{"id":22113178,"uuid":"25443661","full_name":"gmcabrita/bloomex","owner":"gmcabrita","description":":hibiscus: A pure Elixir implementation of Scalable Bloom Filters","archived":true,"fork":false,"pushed_at":"2021-06-08T19:02:15.000Z","size":90,"stargazers_count":113,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-08T18:29:16.014Z","etag":null,"topics":["bloom-filter","data-structures","elixir","hex","probabilistic-data-structures","scalable-bloom-filters"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmcabrita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"gmcabrita","github":"gmcabrita"}},"created_at":"2014-10-19T23:43:40.000Z","updated_at":"2023-11-15T02:29:43.000Z","dependencies_parsed_at":"2022-08-20T16:20:20.215Z","dependency_job_id":null,"html_url":"https://github.com/gmcabrita/bloomex","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmcabrita%2Fbloomex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmcabrita%2Fbloomex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmcabrita%2Fbloomex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmcabrita%2Fbloomex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmcabrita","download_url":"https://codeload.github.com/gmcabrita/bloomex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222535160,"owners_count":16999232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bloom-filter","data-structures","elixir","hex","probabilistic-data-structures","scalable-bloom-filters"],"created_at":"2024-08-01T02:00:25.807Z","updated_at":"2025-10-21T18:50:44.679Z","avatar_url":"https://github.com/gmcabrita.png","language":"Elixir","funding_links":["https://ko-fi.com/gmcabrita","https://github.com/sponsors/gmcabrita"],"categories":["Algorithms and Data structures","Algorithms and Datastructures"],"sub_categories":[],"readme":"Bloomex\n=======\n\n[![Build Status](https://img.shields.io/github/workflow/status/gmcabrita/bloomex/CI/master.svg)](https://github.com/gmcabrita/bloomex/actions)\n[![Coverage Status](https://img.shields.io/coveralls/gmcabrita/bloomex.svg?style=flat)](https://coveralls.io/r/gmcabrita/bloomex?branch=master)\n[![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/bloomex)\n[![Hex Version](http://img.shields.io/hexpm/v/bloomex.svg?style=flat)](https://hex.pm/packages/bloomex)\n[![License](http://img.shields.io/hexpm/l/bloomex.svg?style=flat)](https://github.com/gmcabrita/bloomex/blob/master/LICENSE)\n\nBloomex is a pure Elixir implementation of [Scalable Bloom Filters](http://haslab.uminho.pt/cbm/files/dbloom.pdf).\n\n# Usage\n\nAdd Bloomex as a dependency in your mix.exs file.\n\n```elixir\ndef deps do\n  [{:bloomex, \"~\u003e 1.0\"}]\nend\n```\n\nWhen you are done, run `mix deps.get` in your shell to fetch and compile Bloomex.\n\n# Examples\n\n```iex\niex\u003e bf = Bloomex.scalable(1000, 0.1, 0.1, 2)\n%Bloomex.ScalableBloom...\n\niex\u003e bf = Bloomex.add(bf, 5)\n%Bloomex.ScalableBloom...\n\niex\u003e Bloomex.member?(bf, 5)\ntrue\n\niex\u003e bf = Bloomex.add(bf, 100)\n%Bloomex.ScalableBloom...\n\niex\u003e Bloomex.member?(bf, 100)\ntrue\n\niex\u003e Bloomex.member?(bf, 105)\nfalse\n```\n\nYou can also pass in a hashing function to be used by the Bloom filter when creating one.\n\n(assuming we have [Murmur](https://hex.pm/packages/murmur/) installed as a dependency)\n\n```iex\niex\u003e bf = Bloomex.scalable(1000, 0.1, 0.1, 2, \u0026Murmur.hash_x86_128/1))\n%Bloomex.ScalableBloom...\n\niex\u003e bf = Bloomex.add(bf, 5)\n%Bloomex.ScalableBloom...\n\niex\u003e Bloomex.member?(bf, 5)\ntrue\n\niex\u003e bf = Bloomex.add(bf, 100)\n%Bloomex.ScalableBloom...\n\niex\u003e Bloomex.member?(bf, 100)\ntrue\n``````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmcabrita%2Fbloomex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmcabrita%2Fbloomex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmcabrita%2Fbloomex/lists"}