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
Release files for librds 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| librds-2.1.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| librds-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.6 kB
Release files / librds-2.1.tar.gz
| Download URL | librds-2.1.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13486305a8c3dfd432643f8bac288ddaa462e9dc2c5e0d35e01c9ac43511a321
|
|
BLAKE2b-256 checksum How to use checksums |
e7a1d5a37b651a50d948cde0f63fdebcb31130b7f1e513dd1b00d4e46e3d8c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|
Release files / librds-2.1-py3-none-any.whl
| Download URL | librds-2.1-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8579b2300cf34d72ece90c0b5efce6a12620a883d67a6dcf9a358965af42122
|
|
BLAKE2b-256 checksum How to use checksums |
bd3ba2f043de5fb9d9baeba12f7c32bd0afa4f62702d0f8ddb2489a509f81b15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|