{"id":13800209,"url":"https://github.com/blevic/nrarfcn","last_synced_at":"2026-04-16T00:03:20.980Z","repository":{"id":42969315,"uuid":"510176164","full_name":"blevic/nrarfcn","owner":"blevic","description":"5G NR-ARFCN calculator, as a Python package","archived":false,"fork":false,"pushed_at":"2022-11-14T11:49:47.000Z","size":81,"stargazers_count":9,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T21:35:36.379Z","etag":null,"topics":["3gpp","5g","5g-nr","earfcn","gscn","nrarfcn","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/blevic.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":"2022-07-04T01:32:17.000Z","updated_at":"2024-12-20T00:21:35.000Z","dependencies_parsed_at":"2023-01-21T15:01:58.695Z","dependency_job_id":null,"html_url":"https://github.com/blevic/nrarfcn","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blevic%2Fnrarfcn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blevic%2Fnrarfcn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blevic%2Fnrarfcn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blevic%2Fnrarfcn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blevic","download_url":"https://codeload.github.com/blevic/nrarfcn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237896569,"owners_count":19383545,"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":["3gpp","5g","5g-nr","earfcn","gscn","nrarfcn","python"],"created_at":"2024-08-04T00:01:10.481Z","updated_at":"2026-04-16T00:03:20.972Z","avatar_url":"https://github.com/blevic.png","language":"Python","funding_links":[],"categories":["Tools"],"sub_categories":["Diameter"],"readme":"# 5G NR-ARFCN calculator\n\u003cp align=\"left\"\u003e\n  \u003ca href='https://pypi.org/project/nrarfcn/'\u003e\n    \u003cimg src='https://img.shields.io/pypi/v/nrarfcn' alt='PyPi Version' /\u003e\n  \u003c/a\u003e\n  \u003ca href='https://pypi.org/project/nrarfcn/'\u003e\n    \u003cimg src='https://img.shields.io/pypi/dm/nrarfcn' alt='Downloads/Month' /\u003e\n  \u003c/a\u003e\n  \u003c/a\u003e\n    \u003ca href='https://github.com/blevic/nrarfcn/actions/workflows/package-tests.yml'\u003e\n    \u003cimg src='https://github.com/blevic/nrarfcn/actions/workflows/package-tests.yml/badge.svg?branch=main' alt='Package Tests' /\u003e\n  \u003c/a\u003e\n  \u003ca href='https://nrarfcn.readthedocs.io/en/latest/?badge=latest'\u003e\n    \u003cimg src='https://readthedocs.org/projects/nrarfcn/badge/?version=latest' alt='Documentation Status' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[``nrarfcn``](https://github.com/blevic/nrarfcn): a 5G NR-ARFCN calculator, as a Python package.\n\nThis is a Python package that calculates the frequency for a given NR-ARFCN, the NR-ARFCN for a given frequency, and related NR band information. 3GPP **Rel-17** remains the default table release, and **Rel-18** / **Rel-19** can be selected with the optional `release_3gpp` argument.\n\nIt follows [3GPP TS 38.104](https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3202): v17.6.0 by default, with v18.13.0 and v19.4.0 available when requested.\n\n### Documentation\n\n[``nrarfcn``](https://github.com/blevic/nrarfcn) is documented on: [nrarfcn.rtfd.io](https://nrarfcn.rtfd.io/).\n\n### Installation\n\n```bash\npip install nrarfcn\n```\n\n### Usage\n\n```python\n\u003e\u003e\u003e import nrarfcn as nr\n\n\u003e\u003e\u003e nr.get_frequency(620000)\n3300.0\n\n\u003e\u003e\u003e nr.get_nrarfcn(27500.0)\n2070832\n\n\u003e\u003e\u003e nr.get_bands_by_frequency(1850.0)\n['n2', 'n3', 'n25']\n\n\u003e\u003e\u003e nr.get_bands_by_nrarfcn(2564083)\n['n263']\n\n\u003e\u003e\u003e nr.get_duplex_mode('n71')\n'FDD'\n\n\u003e\u003e\u003e nr.get_nrarfcn_range('n25', direction='ul')\n(370000, 383000)\n\n\u003e\u003e\u003e nr.get_frequency_range('n100', direction='dl')\n(919.4, 925)\n\n\u003e\u003e\u003e nr.get_frequency_by_gscn(2156)\n862.85\n\n\u003e\u003e\u003e nr.get_gscn_by_frequency(4405.440)\n8475\n\n\u003e\u003e\u003e nr.get_gscn_range('n92')\n(3584, 3787)\n\n\u003e\u003e\u003e nr.get_frequency_range('n110', release_3gpp=19)\n(1432, 1435)\n```\n\n### Contributing\n\nEvery contribution is welcome. Make any requests, raise any issues, create pull requests, or directly contact me on [github.com/blevic/nrarfcn](https://github.com/blevic/nrarfcn). I'll be happy to help.\n\n### Author\n\nBy the way, hi there! I'm Breno. Follow me on github: [@blevic](https://github.com/blevic).\n\n### License\n\nThis software is licensed under the [MIT license](https://github.com/blevic/nrarfcn/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevic%2Fnrarfcn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblevic%2Fnrarfcn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevic%2Fnrarfcn/lists"}