semvec/pypi-packages huggingface dataset:
rocore 1.0.8
Core classes and functions, reusable in any kind of Python application
License: MIT
Keywords: core utilities

[![Build status](https://robertoprevato.visualstudio.com/rocore/_apis/build/status/rocore-CI)](https://robertoprevato.visualstudio.com/rocore/_build/latest?definitionId=13) [![pypi](https://img.shields.io/pypi/v/rocore.svg?color=blue)](https://pypi.org/project/rocore/) [![Test coverage](https://img.shields.io/azure-devops/coverage/robertoprevato/rocore/13.svg)](https://robertoprevato.visualstudio.com/rocore/_build?definitionId=13)

# Core classes and functions, reusable in any kind of Python application

**Features:**
* [exception classes to express common scenarios](https://github.com/RobertoPrevato/rocore/wiki/Common-exceptions)
* [implementation of models annotations, useful to implement validation of business objects](https://github.com/RobertoPrevato/rocore/wiki/Models-annotations)
* [friendly JSON encoder](https://github.com/RobertoPrevato/rocore/wiki/User-friendly-JSON-dumps), handling `datetime`, `date`, `time`, `UUID`, `bytes`
* [implementation of simple in-memory cache, supporting expiration of items and capped lists](https://github.com/RobertoPrevato/rocore/wiki/Caching)
* utilities to work with `folders` and paths
* [`StopWatch` implementation](https://github.com/RobertoPrevato/rocore/wiki/StopWatch-implementation)
* [a base class to handle classes that can be instantiated from configuration dictionaries](https://github.com/RobertoPrevato/rocore/wiki/Registry)
* [common decorator to support retries](https://github.com/RobertoPrevato/rocore/wiki/Retry-decorator)
* [common decorator to support logging function calls](https://github.com/RobertoPrevato/rocore/wiki/Logs-decorator)
* [common decorator to control raised exceptions](https://github.com/RobertoPrevato/rocore/wiki/Exception-handle-decorator)

## Installation

```bash
pip install rocore
```

## Documentation
Please refer to documentation in the project wiki: [https://github.com/RobertoPrevato/rocore/wiki](https://github.com/RobertoPrevato/rocore/wiki).

## Develop and run tests locally
```bash
pip install -r requirements.txt

# run tests using automatic discovery:
pytest

# with code coverage:
make testcov
```
reportermate 0.6.2
Automated news stories and reports from datasets
License: MIT
Keywords: data-analysis text data analysis

ReporterMate
============

Reportermate is an open source project to `create an automated news
reporting system <http://reportermate.com/>`__. This library forms the
base of the system, and combines the pandas data analysis library, the
handlebars templating language, and a whole bunch of helper functions to
automate the generation of text reports from data.

Installation
------------

::

    pip install reportermate

Usage
-----

Installing the reportermate lib adds the reportermate function to your
command line.

::

    reportermate my-data.csv my-template.txt

Using this function will take your data and then analyse and render it
according to the template provided.

To use reportermate from within another python script, import the
analyseAndRender function:

.. code:: python

    from reportermate import analyseAndRender
    analyseAndRender(my-data.csv,my-template.txt)

Templates
---------

Reportermate uses the handlebars template language to define the
analysis of the dataset, and how the results should be rendered into
text. The template functions are the key to generating your text
results.

*Template function definitions and examples coming soon...*