semvec/pypi-packages huggingface dataset:
metrics-exporter 0.0.2
Metrics exporter.
License: MIT

# metrics_exporter

## How to use
Set the metrics names and the postgres connection:
```python
me = MetricsExporter(
    metricsGroups=[['metric1', 'metric2'], ['metric3']],
    tableName='it',
    user='root',
    password='root',
    dbname='postgres',
    host='localhost',
    port=5432,
    bufferSize=10000
)
```
For each metrics, 3 other metrics will be calculated:
* Nomamlized value over the metric group
* Accumulated value of the metric
* Normalized accumulated value over the metric group

Now you can insert a new metric for a month in a page/user:
```python
me.insertMetric(
    1, 'pippo', '201005',
    [{
        'metric1': 2,
        'metric2': 4
    }, {
        'metric3': 2
    }]
)
```

To be sure that all metrics have been saved to the database in the end run:
```python
me.finalize()
```


## Pip package
To update the pip package
```bash
python setup.py sdist
twine upload dist/*
```
leap 2021.1
Time integration by code generation
License: MIT
Requires Python: ~=3.6

leap: Descriptive Time Integration with Flexbile Multi-Rate Algorithms
======================================================================

.. image:: https://gitlab.tiker.net/inducer/leap/badges/main/pipeline.svg
    :alt: Gitlab Build Status
    :target: https://gitlab.tiker.net/inducer/leap/commits/main
.. image:: https://github.com/inducer/leap/workflows/CI/badge.svg?branch=main&event=push
    :alt: Github Build Status
    :target: https://github.com/inducer/leap/actions?query=branch%3Amain+workflow%3ACI+event%3Apush
.. image:: https://badge.fury.io/py/leap.png
    :alt: Python Package Index Release Page
    :target: https://pypi.org/project/leap/


leap describes both implicit and explicit `time stepping methods
<https://en.wikipedia.org/wiki/Time_stepping>`_. Methods are
described using a small virtual machine whose statements can
then be used to either generate code or simply execute the time
integrator.

Execution and code generation is provided by
`dagrt <https://github.com/inducer/dagrt>`__. Further
supported operations include finding of stability regions, building
of companion matrices, and more.

leap is licensed under the MIT license.

leap requires Python 2.6 or newer.

Resources:

* `Documentation <https://documen.tician.de/leap>`_
* `source code via git <https://github.com/inducer/leap>`_
dagrt 2021.1
Time integration by code generation
License: MIT
Requires Python: ~=3.6

dagrt: A Concurrent Runtime for Time Integration
================================================

.. image:: https://gitlab.tiker.net/inducer/dagrt/badges/main/pipeline.svg
    :alt: Gitlab Build Status
    :target: https://gitlab.tiker.net/inducer/dagrt/commits/main
.. image:: https://github.com/inducer/dagrt/workflows/CI/badge.svg?branch=main&event=push
    :alt: Github Build Status
    :target: https://github.com/inducer/dagrt/actions?query=branch%3Amain+workflow%3ACI+event%3Apush
.. image:: https://badge.fury.io/py/dagrt.png
    :alt: Python Package Index Release Page
    :target: https://pypi.org/project/dagrt/

dagrt is a DAG-based run-time system for evaluation of (mainly) time
integration methods, capable of operator fusion and versatile code generation.

See also its companion package `leap <https://github.com/inducer/leap>`__.

Resources:

* `source code via git <https://github.com/inducer/dagrt>`_
* `Documentation <https://documen.tician.de/dagrt>`_