Skip to main content

Galaxy BEEP frame

Build and manage Block Extensible Exchange Protocol (BEEP) Frame.

Getting started

Requirements

  • Python >= 3.14

Installation

To install this package in the current python environment, use: python -m pip install galaxy_beep_frame

Usage

from io import BytesIO

from galaxy_beep_frame.frame import Frame, ContinuationIndicator
from galaxy_beep_frame.header_type import PossibleHeaderType
from galaxy_beep_frame.converter import Lexer, Parser

# emitter
frame = Frame(
    payload=(
        b"Content-Type: application/beep+xml\r\n"
        b"\r\n"
        b"<greeting>\r\n"
        b"   <profile uri='http://iana.org/beep/TLS' />\r\n"
        b"</greeting>\r\n"
    ),
    channel_number=0,
    message_number=0,
    sequence_number=0,
    answer_number=None,
    continuation_indicator=ContinuationIndicator.COMPLETE,
    header_type=PossibleHeaderType.RPY,
)

bus = BytesIO(frame.build())

# client
lexer = Lexer()
frames = Parser.parse(lexer.lex(bus))

if len(frames) > 0:
    greeting_frame = frames[0]

Documentation

A complete documentation is available in the wiki.

Development

Development Requirements

This project use mise to manage development tools.

This project use the following tools:

  • just: command runner
  • hatch: project manager and package builder
  • uv: package installer
  • ruff: python linter and formatter
  • ty: python type checker
  • jujutsu: version control

Development Usage

just can be used to speed up development for an identical toolchain.

Before making a commit, just fix will run all tests, format the code, lint and type check. If you don’t want to modify the code, just check will run all tests, lint and type check without any attempt to fix any issue.

Before a version change, just release will push all local commits to repository and publish the new package version.

All available commands can be listed with just -l.

License

This project is licensed under the GNU GPL v3+. See license file for more information.

Acknowledgement

Thanks to all the people that worked on the tools used, like python, neovim and mise.

Metadata

Release files for galaxy_beep_frame 0.1.1

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

Source distribution (sdist)

Source distribution for galaxy_beep_frame 0.1.1
File Size Uploaded
galaxy_beep_frame-0.1.1.tar.gz 252.2 kB Details

Built distribution (wheel)

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

Total release size: 292.4 kB

Release files / galaxy_beep_frame-0.1.1.tar.gz

Download URL galaxy_beep_frame-0.1.1.tar.gz
Size 252.2 kB
Tags Source
SHA-256 checksum
How to use checksums
af1af33fed37c3ccb59fa3d45df86df17283e5520b8483fc80c74ced9d386e8f
BLAKE2b-256 checksum
How to use checksums
c66e37a028ae9426634b30f0b65ad1348ac42e25b6397340c4a6d5b358964836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.7 HTTPX/0.28.1

Release files / galaxy_beep_frame-0.1.1-py3-none-any.whl

Download URL galaxy_beep_frame-0.1.1-py3-none-any.whl
Size 40.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72487be4954da23d573a3a3d9924717fd6c880833bc7d392121d87afe552ecb4
BLAKE2b-256 checksum
How to use checksums
157f075e1c4dcd0d22a6fb403f7d7bd35c40495e120d141e3a3b98f3d308411e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.7 HTTPX/0.28.1

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release 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