{"id":21690001,"url":"https://github.com/poly2it/malar","last_synced_at":"2025-10-13T01:40:27.013Z","repository":{"id":205194025,"uuid":"713565550","full_name":"poly2it/malar","owner":"poly2it","description":"A wrapper for the Mälarenergi API.","archived":false,"fork":false,"pushed_at":"2023-12-09T14:12:52.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T14:44:49.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poly2it.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}},"created_at":"2023-11-02T19:27:07.000Z","updated_at":"2023-11-02T19:31:21.000Z","dependencies_parsed_at":"2023-12-09T15:25:53.573Z","dependency_job_id":"6c527654-e3f0-4ad6-a4cb-b53bcc2977d4","html_url":"https://github.com/poly2it/malar","commit_stats":null,"previous_names":["poly2it/malar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/poly2it/malar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly2it%2Fmalar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly2it%2Fmalar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly2it%2Fmalar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly2it%2Fmalar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poly2it","download_url":"https://codeload.github.com/poly2it/malar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly2it%2Fmalar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013903,"owners_count":26085326,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-25T17:28:29.536Z","updated_at":"2025-10-13T01:40:26.989Z","avatar_url":"https://github.com/poly2it.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Malar\nMalar is an asynchronous wrapper for the Mälarenergi API. It can be used for reading\nenergy pricing data in different energy sectors in Sweden.\n\n## Usage\n`./install`\n\n```py\nfrom malar import Api, Sector\nimport asyncio\n\n\nasync def main():\n    _, _, price = await Api.Pricing.current(Sector.SE1)\n    print(f\"The energy price in öre/kWh for sector SE1 is {price}\")\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n\n```\n\n```\nThe energy price in öre/kWh for sector SE1 is 41.97\n```\n\n---\n\n\u003cimg src=\"docs/lgpl.svg\" alt=\"drawing\" width=\"200\" align=\"right\"/\u003e\n\nThis project and its contributors are in no way assoicated with Mälarenergi AB or any of\ntheir associates. Their name is used in this project for attribution and illustrative\npurposes, such as clearly displaying the origin of the data available with this API \nwrapper.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoly2it%2Fmalar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoly2it%2Fmalar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoly2it%2Fmalar/lists"}