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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| galaxy_beep_frame-0.1.2.tar.gz | 282.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| galaxy_beep_frame-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 340.0 kB
Release files / galaxy_beep_frame-0.1.2.tar.gz
| Download URL | galaxy_beep_frame-0.1.2.tar.gz |
|---|---|
| Size | 282.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b3ea1d8b7b2f8935b59ab21ed1f0014f0296a0d0eb6c820eb7666158e8fe054
|
|
BLAKE2b-256 checksum How to use checksums |
f4414401f651189cb57127ce29860cbc6fe2a114d907174f7961b2e12fed8d7e
|
| 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.2-py3-none-any.whl
| Download URL | galaxy_beep_frame-0.1.2-py3-none-any.whl |
|---|---|
| Size | 57.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14a9f40b46206d1459caee9408f4172a7e7e6aff6ad9a641b99cc3ba439777b2
|
|
BLAKE2b-256 checksum How to use checksums |
26d0fc393ec31c569cedaf7c6c625eb69be6e651fb10cf6c03aad014c826acd1
|
| 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
|