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

RBDS compatibility is not guranteed.

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.1.tar.gz (25.8 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.1-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for librds-2.1.tar.gz
Algorithm Hash digest
SHA256 13486305a8c3dfd432643f8bac288ddaa462e9dc2c5e0d35e01c9ac43511a321
MD5 6120660c14c6aba29f6de5f9fd10f53d
BLAKE2b-256 e7a1d5a37b651a50d948cde0f63fdebcb31130b7f1e513dd1b00d4e46e3d8c35

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for librds-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8579b2300cf34d72ece90c0b5efce6a12620a883d67a6dcf9a358965af42122
MD5 60572e1ee70923853d69ed379eef92ab
BLAKE2b-256 bd3ba2f043de5fb9d9baeba12f7c32bd0afa4f62702d0f8ddb2489a509f81b15

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