Skip to main content

RPPS

RF Parameter Processor Suite

RPPS is a generic signal processor/generator library.

Usage

Everything is driven by operators: * encodes / modulates / scrambles, / undoes it, + runs a DSP stage. The data carries its sample rate and the state of every stage, so there is nothing to set up or reset.

Bits to symbols and back (file)

import rpps as rp

mod = rp.mod.load("QPSK")           # first bit map; load("QPSK", "R090 inverted") for a rotated / spectrally inverted one. Or rp.mod.QAM(16), rp.mod.PSK(8), rp.mod.APSK(32), rp.mod.FSK(4)...
ecc = rp.coding.Hamming(7, 4)       # or rp.coding.load("block", "hamming/7_4")
scr = rp.scram.load("fdt", "v35")

msg = rp.Data(b"Hello World!")
syms = msg * scr * ecc * mod        # Scramble, encode, modulate
out = syms / mod / ecc / scr        # Demodulate, decode, descramble
assert out.as_bytes().hex == msg.as_bytes().hex

# Pipes multiplied together make a reusable link, decoded in the opposite order
link = scr * ecc * mod
syms = msg * link
out = syms / link

Receiving a signal

# docs: skip
src = rp.serial.File("ci32t", "capture.cs16", Fs=100e6, cf=1.0e9)       # or rp.serial.Device("hackrf", cf=..., Fs=...)
rx = (rp.filters.ShiftFreq(22.3e6)  + rp.filters.low_pass(401, 3e6, 100e6) + rp.sample.down.Decimate(8)
      + rp.sync.Acquire() + rp.sync.time.Mat() + rp.sync.phase.FFCarrier())     # stages added together make a pipeline

for out in src(16384) + rx:          # blocks flow through, state carried from one to the next
    print(out.Fs, out.sps, out.det)  # rates follow the stages; Acquire's detection is on the data

src(16384) + rx >> rp.serial.Sink("cf64", "symbols.iq")       # or straight into a file

A stage can also be applied by hand to a block: blk + rp.filters.ShiftFreq(1e3). rp.channel has impairments to test against (AWGN, CFO, Fading, Multipath, ClockDrift...).

Real-time spectrum

RT

Install

  1. Run python3 -m pip install rpps (rpps[viz] adds matplotlib for rp.viz)
  2. In your project, import rpps as rp

Definitions (codes, scramblers, modulations) ship with the package. Add your own without touching it: rp.add_config_path("my_config") (laid out like src/rpps/config) or set RPPS_CONFIG. Logging is off until you ask: rp.logger.enable("DEBUG").

Roadmap

  • Serial
    • File
    • (Linux only) tun/tap
    • Socket
  • Filters
    • Pulse Shaping
    • Window functions
  • Sample
  • Sync
    • Frequency
    • Phase
    • Time
  • Mod
    • PSK
    • QAM
    • APSK
    • ASK
    • FSK
  • Coding
    • Block
      • Repetition
      • Hamming (decoded on its syndrome trellis)
      • BCH
      • Reed-Solomon
      • LDPC (min-sum, DVB-S2 tables)
      • TPC
    • Convolutional
      • Viterbi (hard and soft)
      • BCJR / trellis (log-MAP, max-log-MAP)
    • Soft decisions (demodulator LLRs into the decoders)
  • Scram
    • fibonacci
    • galois
    • V.35
  • Encapsulation
    • CRC
    • HDLC
    • PPP
  • Viz
    • Real-Time (STFT)
    • Over-Time

Contributing

  1. git clone https://github.com/Anonoei/RPPS
  2. cd RPPS
  3. git branch -c feature/<your feature>
  4. python3 builder.py -b -l build and install rpps locally
    • This also installs deps, and dev_deps automatically
  5. run python3 -m pytest (add -m "not slow" to skip the chain tests). Scratch scripts live in tests/dev
  6. Check out the dev branch for latest changes

Metadata

Release files for rpps 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpps 0.3.0
File Size Uploaded Provenance Actions
rpps-0.3.0.tar.gz 161.8 kB With provenance Details for rpps-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rpps 0.3.0
File Interpreter ABI Platform Actions
rpps-0.3.0-py3-none-any.whl Python 3 none any Details for rpps-0.3.0-py3-none-any.whl

Total release size: 379.1 kB

Release files / rpps-0.3.0.tar.gz

Download URL rpps-0.3.0.tar.gz
Size 161.8 kB
Tags Source
SHA-256 checksum
How to use checksums
500dc54cef274399a656883159899833281ed59a44da232e0200e913e5a4080e
BLAKE2b-256 checksum
How to use checksums
2cf8ae33ce79121fb2d1982d6d9a4d9887c5e6047861fb56bdebbfca08650e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / rpps-0.3.0-py3-none-any.whl

Download URL rpps-0.3.0-py3-none-any.whl
Size 217.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47e3d993dc1ce2f7aeeb448c50bbd55f6b3fd3c08d283160603c8f4fcddd887c
BLAKE2b-256 checksum
How to use checksums
3b579ca8a5194dcd260bde2f78269dec765e29496ad0bb70062b4fce7b5952e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for rpps 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rpps-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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