pytest-logger 1.0.0 released

2024-02-11 Thread Krzysztof Laskowski via Python-list

Hi All,

pytest-logger is pytest plugin for putting stdlib logging logs to files 
or terminal:


pypi: https://pypi.python.org/pypi/pytest-logger/1.0.0
repo: https://github.com/aurzenligl/pytest-logger
docs: http://pytest-logger.readthedocs.io

Best Regards,
Krzysztof Laskowski

--
https://mail.python.org/mailman/listinfo/python-list


pytest-logger 0.2.0

2017-08-15 Thread Krzysztof Laskowski

Hi All,

pytest-logger is a pytest plugin putting stdlib logs to:
- tmpdir directory structure mimicking test suite structure,
- pytest terminal output in real time, as test progresses.

pypi: https://pypi.python.org/pypi/pytest-logger/0.2.0
repo: https://github.com/aurzenligl/pytest-logger
docs: http://pytest-logger.readthedocs.io

* logs to filesystem in fine-grained way: per-logger and per-testcase
* logs to terminal in real-time: allows cmdline filtering by logger and 
level
* uses pytest hooks as user API, which makes plugin neutral unless 
deliberately hook-configured


# conftest.py example
def pytest_logger_config(logger_config):
'''logs:
- foo.warn, bar.warn and baz.warn to filesystem,
- foo.warn, bar.error to terminal
- allows to change default --log value to any combination of 
loggers and levels

'''
logger_config.add_loggers(['foo', 'bar', 'baz'], 
stdout_level='warn')

logger_config.set_log_option_default('foo,bar.error')

I'd happily receive feedback and suggestions via mail or github issues.

Best Regards,
Krzysztof Laskowski

--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


prophy 1.0.0 released

2017-01-15 Thread Krzysztof Laskowski

Hi All,

I'd like to announce prophy 1.0.0, the serialization framework.

Like protobuf, thrift, capnproto, flatbuffers or SBE, it comes with:
- protocol definition language,
- wire-format specification,
- compiler which generates codecs,
- runtime libraries for codecs.
Codecs come in Python and C++ languages.

Protocol/wire-format follows C language struct with natural alignment,
possibly with flexible arrays at the end, so performance of 
encoding/decoding is expected to be rather good, although protocol

is quite limited. Embedded systems is where such resource effective
protocol could be helpful.

License: MIT
Code: https://github.com/aurzenligl/prophy
Docs: http://prophy.readthedocs.io/en/latest/
Pypi: https://pypi.python.org/pypi/prophy
Issues: https://github.com/aurzenligl/prophy/issues

I'm open to feedback and suggestions, which I'd happily receive via
mail or github issues.

Best Regards,
Krzysztof Laskowski

--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


pytest-logger 0.1.3 released

2016-12-30 Thread Krzysztof Laskowski

Hi All,

I'd like to announce pytest-logger - pytest plugin handling stdlib logs.

Why yet another logging plugin?

* logs to filesystem in fine-grained way: per-logger and per-testcase
* logs to terminal in real-time: filtering by logger and level
* uses pytest hooks as user API, which leaves cmdline at user's disposal

Code, docs, pypi, etc. may be found via badges on github page:

https://github.com/aurzenligl/pytest-logger

I'm open to feedback and suggestions, which I'd happily receive via mail 
or github issues.


Best Regards,
Krzysztof Laskowski

https://github.com/aurzenligl/pytest-logger;>pytest-logger 
0.1.3
- Pytest plugin configuring handlers for loggers from Python logging 
module. (29-Dec-16)


--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


prophy 0.4.2 - fast serialization protocol

2014-09-07 Thread Krzysztof Laskowski

Hello,

I'd like to announce Prophy, the serialization protocol.
It has a schema language and compiler generating codecs for Python and C++.
It's aimed to provide tools similar to Google Protobuf to handle messages
of XDR-like wire format: no tags, unpacked ints, padding for alignment.

Reason for starting up the project when so many outstanding serialization
protocols exist is the simplicity of native binary wire format.
Prophy lets severely restricted embedded environments to encode messages
efficiently (in-place) and allows acceptance tests and cooperating devices
to use automatic but more resource-hungry codecs.

License: MIT
PyPI: https://pypi.python.org/pypi/prophy/0.4.2
Documentation: http://prophy.readthedocs.org
Github: https://github.com/aurzenligl/prophy
Email: krzysztof.laskowski.1...@gmail.com

Current release is 0.4.2. Before 1.0 I plan to do:
- Python 3 support,
- full C++ codec (structs and unions with vectors instead of arrays
  and generated encode, decode, print methods),
- language enhancements (includes, inner definitions, bool, string).

Feel free to provide feedback.

Best Regards,
Krzysztof Laskowski

--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/