{"id":18078360,"url":"https://github.com/techgaun/ex_sma","last_synced_at":"2025-07-19T20:11:05.293Z","repository":{"id":44466838,"uuid":"63513599","full_name":"techgaun/ex_sma","owner":"techgaun","description":"Simple Moving Average calculation in Elixir","archived":false,"fork":false,"pushed_at":"2017-01-15T00:08:12.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T06:18:16.909Z","etag":null,"topics":["elixir","sma"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.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}},"created_at":"2016-07-17T03:49:19.000Z","updated_at":"2022-07-11T10:45:24.000Z","dependencies_parsed_at":"2022-08-27T00:40:20.711Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/ex_sma","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techgaun/ex_sma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_sma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_sma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_sma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_sma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/ex_sma/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_sma/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265506668,"owners_count":23778792,"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":["elixir","sma"],"created_at":"2024-10-31T12:13:42.505Z","updated_at":"2025-07-19T20:11:05.270Z","avatar_url":"https://github.com/techgaun.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ex_sma [![Hex version](https://img.shields.io/hexpm/v/sma.svg \"Hex version\")](https://hex.pm/packages/sma) ![Hex downloads](https://img.shields.io/hexpm/dt/sma.svg \"Hex downloads\") [![Build Status](https://semaphoreci.com/api/v1/techgaun/ex_sma/branches/master/badge.svg)](https://semaphoreci.com/techgaun/ex_sma) [![Coverage Status](https://coveralls.io/repos/github/techgaun/ex_sma/badge.svg?branch=master)](https://coveralls.io/github/techgaun/ex_sma?branch=master)\n\nSimple Moving Average calculation in Elixir\n\n### Installation\n\nAdd sma in the list of dependencies as below:\n\n```\ndef deps do\n  [{:sma, \"~\u003e 0.1\"}]\nend\n```\n\nor directly from github\n\n```\ndef deps do\n  [{:sma, github: \"techgaun/ex_sma\"}]\nend\n```\n\n### Usage\n\n```elixir\nimport SMA\nsma([], 1)\n# :error\n\nsma([1,2,3,4,5], 2)\n# [1.5, 2.5, 3.5, 4.5]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fex_sma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fex_sma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fex_sma/lists"}