{ "info": { "author": "Ash Wilson", "author_email": "ash.d.wilson@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2.7" ], "description": "arfcnreference\n---------------\n\n.. image:: https://travis-ci.org/sitch-io/arfcn-reference.svg?branch=master\n :target: https://travis-ci.org/sitch-io/arfcn-reference\n.. image:: https://codeclimate.com/github/sitch-io/arfcn-reference/badges/coverage.svg\n :target: https://codeclimate.com/github/sitch-io/arfcn-reference/coverage\n :alt: Test Coverage\n.. image:: https://codeclimate.com/github/sitch-io/arfcn-reference/badges/gpa.svg\n :target: https://codeclimate.com/github/sitch-io/arfcn-reference\n :alt: Code Climate\n.. image:: https://codeclimate.com/github/sitch-io/arfcn-reference/badges/issue_count.svg\n :target: https://codeclimate.com/github/sitch-io/arfcn-reference\n :alt: Issue Count\n\n\nARFCN reference Python module\n=============================\n\nThis Python module contains a reference for all GSM channels by ARFCN.\n\nInstallation:\n_____________\n\npip install arfcnreference\n\nUsage:\n______\n\nGet a channel by uplink frequency:\n\n::\n\n >>> import arfcnreference\n >>> arf_ref = arfcnreference.ArfcnReference()\n >>> arf_ref.get_for_uplink(890.2)\n {'band': 'GSM-900', 'downlink': 935.2, 'channel': 1}\n >>> arf_ref.get_for_downlink(887.4)\n {'band': 'EGSM-900', 'uplink': 887.4, 'channel': 1011}\n\n\n\nFrequencies are returned in MHz.\n\nGetting channels for a range of frequencies:\n\n::\n\n >>> for x in arf_ref.arfcn_for_downlink_range(842, 942):\n ... print x\n ...\n {'1853': {'band': 'GSM-1900', 'uplink': 1853, 'channel': 526}}\n {'1867': {'band': 'GSM-1900', 'uplink': 1867, 'channel': 596}}\n {'1855': {'band': 'GSM-1900', 'uplink': 1855, 'channel': 536}}\n {'1868': {'band': 'GSM-1900', 'uplink': 1868, 'channel': 601}}\n (and so on)\n\n\nGetting all channels in a band:\n\n\n::\n\n >>> for x in arf_ref.channels_in_band(\"GSM-850\"):\n ... print x\n ...\n {'downlink': 869.2, 'uplink': 824.2, 'channel': 128}\n {'downlink': 869.4, 'uplink': 824.4, 'channel': 129}\n {'downlink': 869.6, 'uplink': 824.6, 'channel': 130}\n {'downlink': 869.8, 'uplink': 824.8, 'channel': 131}\n {'downlink': 870, 'uplink': 825, 'channel': 132}\n (and so on)\n\n\nTesting:\n________\n\nrun `py.test` from the root of this repo.\n\nSpecial thanks:\n_______________\n\nThe reference information was lifted, with gratitude, from http://gnuradio.org/redmine/attachments/115/all_gsm_channels_arfcn.txt\n\nChangelog\n=========\n\nv0.1\n----\n\nNew\n~~~\n\n- First working commit, provides GSM channel info. Queryable by\n frequency, channel number, band, and range of frequencies. [Ash\n Wilson]\n\nOther\n~~~~~\n\n- Initial commit. [Ash Wilson]", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ashmastaflash/opencellid-wrapper", "keywords": "arfcn gsm reference", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "arfcnreference", "package_url": "https://pypi.org/project/arfcnreference/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/arfcnreference/", "project_urls": { "Homepage": "https://github.com/ashmastaflash/opencellid-wrapper" }, "release_url": "https://pypi.org/project/arfcnreference/0.1/", "requires_dist": null, "requires_python": null, "summary": "A python module for referencing ARFCNs in GSM", "version": "0.1" }, "last_serial": 2604084, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5e6b14312a7f84125d68b5150ce56475", "sha256": "2e7b4a03dec7702ae01956e954b4760cd7962bec55c77e966557068d51d9ed88" }, "downloads": -1, "filename": "arfcnreference-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5e6b14312a7f84125d68b5150ce56475", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12389, "upload_time": "2017-01-28T21:07:49", "url": "https://files.pythonhosted.org/packages/19/af/e0550306551cf39e5a9fbd5183661bdc152eaceef9ecb3850fb47a39f275/arfcnreference-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6556fd777806deafcb004aa53aa323be", "sha256": "5de6957f44e81721757ff23eb90810f8c3ff1c3e5a35907d32efabfb9a4aa98e" }, "downloads": -1, "filename": "arfcnreference-0.1.tar.gz", "has_sig": false, "md5_digest": "6556fd777806deafcb004aa53aa323be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11852, "upload_time": "2017-01-28T21:07:51", "url": "https://files.pythonhosted.org/packages/2a/c7/e2e13a1835a30b7ab800284f109eb24ad4e85f792b9edd2fd7f8fc81ae02/arfcnreference-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e6b14312a7f84125d68b5150ce56475", "sha256": "2e7b4a03dec7702ae01956e954b4760cd7962bec55c77e966557068d51d9ed88" }, "downloads": -1, "filename": "arfcnreference-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5e6b14312a7f84125d68b5150ce56475", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12389, "upload_time": "2017-01-28T21:07:49", "url": "https://files.pythonhosted.org/packages/19/af/e0550306551cf39e5a9fbd5183661bdc152eaceef9ecb3850fb47a39f275/arfcnreference-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6556fd777806deafcb004aa53aa323be", "sha256": "5de6957f44e81721757ff23eb90810f8c3ff1c3e5a35907d32efabfb9a4aa98e" }, "downloads": -1, "filename": "arfcnreference-0.1.tar.gz", "has_sig": false, "md5_digest": "6556fd777806deafcb004aa53aa323be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11852, "upload_time": "2017-01-28T21:07:51", "url": "https://files.pythonhosted.org/packages/2a/c7/e2e13a1835a30b7ab800284f109eb24ad4e85f792b9edd2fd7f8fc81ae02/arfcnreference-0.1.tar.gz" } ] }