[Python-announce] makepackage 0.1.8 released

2022-12-27 Thread Marcin Kozak
Hello, I am happy to inform you about a new release of makepackage (v0.1.8). The new version comes with - `--cli` being the main flag for a package with the command-line inference; the `-cli` will work, too, and even the `cli` flag will work, the latter for backward compatibility; - bug fix: after

[Python-announce] perftester: A framework for performance testing of Python functions

2022-09-09 Thread Marcin Kozak
The perftester package enables you to run performance tests of Python functions/callables. Performance is understood in terms of both execution time and memory usage. In addition, perftester enables you to run benchmarks, an important functionality when you need to set limits for your tests. You h

[Python-announce] makepackage: A lightweight tool for creating a Python package

2022-09-07 Thread Marcin Kozak
Packaging code is a frequent approach in both open-source and business Python development. You can use various tools, such as Cookiecutter, or you can package your package manually. Now, you also have a much simpler solution, a makepackape Python package, with which it takes just one simple shell

[Python-announce] rounder: A Python package for rounding numbers in complex objects

2022-08-30 Thread Marcin Kozak
Hi all! When you work with numbers and need to print them, more often than not you want to round them. You can use the built-in round() function: >>> round(1.123, 2) 1.12 >>> x = [1.123, 44.32, 12.11234] >>> [round(x_i, 2) for x_i in x] [ 1.12, 44.32, 12.11] However, when you want to round number

[Python-announce] Checking conditions with the easycheck package

2022-08-17 Thread Marcin Kozak
We all know that the assert statement should not be used in production code. Instead, you can use assertion-like functions from the easycheck package. Consider the following example. You have a function that fits a statistical model that requires sample size (n) to be at least 20. So, >>> assert n