Skip to main content

rf-info

https://img.shields.io/github/v/release/cosmicc/rf_info.svg?include_prereleases https://img.shields.io/pypi/v/rf_info.svg Python 3 https://img.shields.io/github/license/cosmicc/rf_info.svg https://coveralls.io/repos/github/cosmicc/rf_info/badge.svg?branch=master https://img.shields.io/travis/cosmicc/rf_info.svg Documentation Status Updates

Command line & Python library for obtaining details about a radio frequency

Features

Returns information about a radio frequency (US only for now)

  • Band Use

  • Wavelength

  • ITU Band Description

  • ITU Band Abbreviation

  • ITU Band Number

  • IEEE Band Name

  • NATO Band Name

  • Waveguide Band Name

  • Amateur Radio Details (Type, Class, Max Power), - Not yet Implimented

Let me know if there is additional details you would like to see added, or if someone would like to donate some EU/Other band info to add ;-)

Usage

Frequency format examples: 89910000, 23,450,000, 12,634.534, 12_000_000, 344_500.100

Also supports “Radio Display” frequency representation (Dotted notation): 124.125.000, 198.000.050, 1.500.125.000, .015, 000.012.500

Suffix examples: hz, khz, Mhz, Ghz (Case Insensitive)

Command Line:

rf-info <frequency> [<suffix>]

Python:

from rf-info import Frequency

freq = Frequency(‘112.434.000’)

Then:

freq.details()

returns a dictionary:

{‘display’: ‘144.051.000’, ‘hz’: 144051000, ‘khz’: 144051.0, ‘mhz’: 144.051, ‘ghz’: 0.144051, ‘wavelength’: ‘2m’, ‘itu_band’: ‘Very High Frequency’, ‘itu_abbr’: ‘VHF’, ‘itu_num’: 8, ‘ieee_band’: ‘VHF’, ‘ieee_description’: ‘Very High Frequency’, ‘nato_band’: ‘A’, ‘waveguide_band’: None, ‘band_use’: (), ‘amateur_band’: (True, ‘Class’, ‘Use’, ‘General CW and weak signals’)}

or you can get individual items directly:

freq.itu_band

freq.wavelength

Also supports adding and subtracting frequencies. Either a frequency object, int, or string representation of a frequency, returns a new frequency object:

new_freq_object = Frequency(‘000.123.000’) + Frequency(‘7’, ‘khz’) # Adds 7khz to 123khz

new_freq_object = Frequency(‘1’, ‘mhz’) + 7000 # Adds 7khz to 1mhz

new_freq_object = Frequency(‘123,000’) - ‘000.007.000’ # Subtracts 7khz from 123khz

Todo

  • Finish Amateur Radio Details

  • WIFI band details

  • Cellular band details

  • Sattelite band details

  • GMRS, CB, & WIFI Specific Channels

  • Add more reserved frequency details

Credits

Ian Perry (ianperry99@gmail.com)

History

0.1.0 (2020-01-12)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rf_info-0.5.3.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rf_info-0.5.3-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rf_info-0.5.3.tar.gz.

File metadata

  • Download URL: rf_info-0.5.3.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for rf_info-0.5.3.tar.gz
Algorithm Hash digest
SHA256 2eedda3e4bbf956a305954b7c97e0f24ead980ac626c29241bd933d96d340799
MD5 5785d1c7e1c9e59429cbde3f5c6553f2
BLAKE2b-256 cd90412f295035aea0b3e0e89433423cfac35d3018b79fc36f0c3ae275559380

See more details on using hashes here.

File details

Details for the file rf_info-0.5.3-py2.py3-none-any.whl.

File metadata

  • Download URL: rf_info-0.5.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for rf_info-0.5.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 14f2ad2eaad06513c90a82aa687fdd2eb5f15f0e2eb66b397c23bb6bff47fb85
MD5 03a959b3f185d354a947dff0ba3813f9
BLAKE2b-256 70d0872dbb18a70294851f53b92af6f55a3681bd2b660cdff0db07d9edd66fe3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.2

2 files

0.8.0

2 files

0.7.2

2 files

0.6.3

2 files

This release

0.5.3 This release

2 files

0.4.5

2 files

0.4.3

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page