Skip to main content

RDS Group Generator

Project description

LibRDS

LibRDS is a simple library that you can use to generate and decode the RDS groups, just the groups, so something like 3000 2000 7575 7575 the origins of development of this started on 12 May, later creating the rdPy repository

Example code:

import librds

basic = librds.GroupGenerator.basic(0x3000)
print(basic)

ps = librds.GroupGenerator.ps(basic,"hi",0)
print(ps)

print(librds.GroupDecoder.decode(ps))

Output:

    Group(a=12288, b=0, c=0, d=0, is_version_b=False)
    Group(a=12288, b=0, c=57549, d=26729, is_version_b=False)
    DecodedGroup(raw_group=Group(a=12288, b=0, c=57549, d=26729, is_version_b=False), pi=12288, tp=False, pty=0, group=GroupIdentifier(group_number=0, group_version=False), details=PSDetails(segment=0, di_dpty=False, ta=False, text='hi', af=AlternativeFrequencyEntryDecoded(is_af=False, af_freq=0, af_freq1=0, lfmf_follows=False, all_af_lenght=0)))

Note that LibRDS required Python 3.10+ to run due to its use of match

Decoder

LibRDS also includes a RDS Group decoder, so you can encode with librds and then also decode it, currently librds's decoder decodes all of the groups it can encode

How to install it?

either clone this and do pip install . or be simple and do pip install librds

Project details


Download files

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

Source Distribution

librds-2.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

librds-2.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file librds-2.0.tar.gz.

File metadata

  • Download URL: librds-2.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for librds-2.0.tar.gz
Algorithm Hash digest
SHA256 fb9c3f307e931ddc3d90ecaca9b7bc0f413b84c64dbad480d36bbfcbf8b7ef8d
MD5 8a13718732db123cdfe8c5324b3613ee
BLAKE2b-256 9eac4e3218d41682161fa8245db1e358e9545336e73266d15a0925c1cc03aeaa

See more details on using hashes here.

File details

Details for the file librds-2.0-py3-none-any.whl.

File metadata

  • Download URL: librds-2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for librds-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 039986827a5ae7a761bff84af3d98089504d820083ecbac656551ae539af898e
MD5 7aead4c83ed3bbf77d97e214de73627a
BLAKE2b-256 966626d0ad786e29ce869120e27ee39f22765e2783f3572dc7485506dfaf9f9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page