{"id":16889616,"url":"https://github.com/benoitc/inet_cidr","last_synced_at":"2025-03-17T06:31:43.966Z","repository":{"id":4197906,"uuid":"52312662","full_name":"benoitc/inet_cidr","owner":"benoitc","description":"CIDR erlang library","archived":false,"fork":false,"pushed_at":"2024-02-19T23:27:17.000Z","size":74,"stargazers_count":27,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-13T04:34:10.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-22T23:03:12.000Z","updated_at":"2023-12-10T17:35:01.000Z","dependencies_parsed_at":"2024-10-27T12:12:26.160Z","dependency_job_id":"f5752c06-05f6-4592-8c4e-97be895ce1d7","html_url":"https://github.com/benoitc/inet_cidr","commit_stats":{"total_commits":18,"total_committers":7,"mean_commits":"2.5714285714285716","dds":0.5,"last_synced_commit":"b56458e227e0eb09c12a5112ad2582a2167628bf"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Finet_cidr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Finet_cidr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Finet_cidr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Finet_cidr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitc","download_url":"https://codeload.github.com/benoitc/inet_cidr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847062,"owners_count":20357317,"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":[],"created_at":"2024-10-13T16:57:59.020Z","updated_at":"2025-03-17T06:31:43.582Z","avatar_url":"https://github.com/benoitc.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Hex.pm version](https://img.shields.io/hexpm/v/erl_cidr.svg?style=flat)](https://hex.pm/packages/erl_cidr)\n\n# inet_cidr\n\nCIDR library for Erlang.\n\n\u003e Based on the Elixir library [InetCidr](https://github.com/Cobenian/inet_cidr) \nbut rewritten so it can be easily used in an Erlang application without \nrequiring Elixir.\n\nAvailable on [hex.pm](https://hex.pm) as [erl_cidr](https://hex.pm/packages/erl_cidr).\n\n## Usage\n\n### Parsing a CIDR string\n\n```erlang\n1\u003e inet_cidr:parse(\"192.168.0.0/16\").\n{{192,168,0,0},{192,168,255,255},16}\n2\u003e inet_cidr:parse(\"2001:abcd::/32\").\n{{8193,43981,0,0,0,0,0,0},\n {8193,43981,65535,65535,65535,65535,65535,65535},\n 32}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Finet_cidr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitc%2Finet_cidr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Finet_cidr/lists"}