This package uses semantic versions.
- Bugfixes:
- Adjust URLs to GitHub account due to renaming munterfinger to munterfi.
- Features:
- A token for authentication in the requests from the client to the server can now be set (closes #16).
- Option to initialize the server from a file containing the task definitions (closes #14).
- New token module for handling tokens.
- Features:
- CLI command
bgpy versionto check for the version of the package. - Restructure environment variables, remove
HOSTandPORTfrom core socket classes. - Move log file handling to the interface, create seperate log file for each test and upload as artifacts in github action package check.
- Split
interface.pyinto aServercontext class and aClientcontext class. - Added
__repr__methods toClient,ServerandMessageclasses. - Define
__slots__for all classes. - Use
loggingpackage from the standard library to perform logging tasks. Split logs at level INFO into STDOUT and STDERR on the stream handler for the console. - Documented CLI help pages.
- Detailed usage section in README.
- CLI command
- Bugfixes:
- Updated docstrings.
- Cleaned environment and removed the need for a directory in the users home (
~/.bgpy). - Render module index and docstrings on readthedocs.
- Pass mypy type checks.
- Run sphinx-apidoc in
check.shscript to avoid errors in documentation build when changing submodule structure.
- Initial release of the bgpy on pypi.org package; Running local or remote Python servers in the background and establish stream socket-based communication with clients.
- Development setup:
poetry: Managing dependencies and package build env.pytest: Framework for testing.mypy: Static type checking.flake8: Code linting.sphinx: Documentation of the package usingnumpydocdocstring style.
- Submodules:
- example: Example
init_task,exec_taskandexit_taskfor testing. - cli:
bgpy server <host> <port>to run a server andbgpy terminate <host> <port>to send exit message to a server.
- example: Example
- Scripts:
install.sh: Builds the package and installs it to the global Python version.check.sh: Automates checks and documentation build.