11 Commits

Author SHA1 Message Date
Felix Weiler-Detjen
01d8042c3f Update README. 2025-09-16 11:02:36 +02:00
Felix Weiler
317a09972f Repo houskeeping (#220)
* Remove deprecated Makefile

* Fix zmq test warning

* Fix type hints in config class.

* Update linting rules

* Remove filter group

* Update pre-commit hook

* Update file test to stop creating files in current dir

* Add yaml-types.

* Update README
2025-05-06 13:35:16 +02:00
Felix Weiler
98099f5b00 Refactor heisskleber core, remove synchronous implementations (#156)
* #129 AsyncTcpSource enhancements
- retry connection on startup (behavior is configurable)
- reconnect if data receiving fails (EOF received)
- add Python logging
- add unit tests

* remove syncronous implementations.

* WIP: Refactor packer/unpacker

* Refactor type hints and topic handling in console sink.

* Remove comma from tcp config enum definitions

* Remove references to deleted synchronous classes.

* Hopefully stable interface for Packer and Unpacker.

* WIP: Working with protocols and generics

* Finalized Sink, Source definition.

* Rename mqtt source and sink files

* Rename mqtt publisher and subscriber.

* Fix start function to async.

* Update documentation.

* Remove recursion from udp source.

* rename unpack to unpacker, stay consistent.

* Renaming in tests.

* Make MqttSource generic.

* Configure pyproject.toml to move to uv

* Add nox support.

* Update documentation with myst-parser and sphinx.

* Mess with autogeneration of __call__ signatures.

* Add dynamic versioning to hatch

* Asyncio wrapper for pyserial.

* Add docstrings for serial sink and source.

* Refactor config handling (#171)

* Removes deprecated "verbose" and "print_std" parameters

* Adds class methods for config generation from dictionary or file (yaml or json at this point)

* Run-time type checking via __post_init__() function

* Add serial dependency.

* WIP

* Move broker to bin/

* Update docs.

* WIP: Need to update docstrings to make ruff happy.

* Move source files to src/

* Fix tests for TcpSource.

* WIP: Remove old tests.

* Fix docstrings in mqtt classes.

* Make default tcp unpacker json_unpacker.

* No failed tests if there are no tests

* Update test pipeline

* Update ruff pre-commit

* Updated ruff formatting

* Format bin/

* Fix type hints

* No type checking

* Make stop() async

* Only test on ubuntu for now

* Don't be so strict about sphinx warnings.

* Rename TestConf for pytest naming compability.

* Install package in editable mode for ci tests.

* Update dependencies for docs generation.

* Add keepalive and will to mqtt, fixes #112.

* Update readme to reflect changes in usage.

* Requested fixes for console adapters.

* Raise correct errors in unpacker and packer.

* Correct logger name for mqtt sink.

* Add config options for stopbits and parity to Serial.

* Remove exception logging call from yaml parser.

* Add comments to clear up very implicit test.

* Rename Sink -> Sender, Source -> Receiver.

* Rename sink and source in tests.

* Fix tests.

---------

Co-authored-by: Adrian Weiler <a.weiler@aldea.de>
2024-12-09 19:32:34 +01:00
Felix Weiler
efb8333aaa Add usage to readme. (#82) 2024-02-23 21:56:02 +08:00
Felix Weiler
03e6a056ff Add codecov action and dependencies. (#58) 2024-02-08 10:25:47 +01:00
felix
74a1fcacdd Solve merge conflicts by rerunning poetry lock. 2023-11-28 12:47:24 +01:00
Aljoscha Sander
d16a4ce341 WHY THE FUCK DOES THE PRE-COMMIT RUFF HOOK PRODUCE A DIFFERENT OUTPUT THAN POETRY RUN RUFF>?@ 2023-11-25 18:51:16 +01:00
felix
a9663a8646 Remove codecov from README. 2023-11-23 18:12:22 +01:00
felix
c5ddaa0ca1 Add missing links to README 2023-11-02 12:41:41 +01:00
Felix Weiler
7e92a4beb3 Update README 2023-10-31 17:09:22 +01:00
felix
5e2cbb8cb8 Initial commit. 2023-10-31 14:37:16 +01:00