semvec/pypi-packages huggingface dataset:
PyONMS 0.0.7
A Python library for accessing the OpenNMS REST API.
Requires Python: >=3.8

![package version](https://img.shields.io/pypi/v/pyonms)
![python version](https://img.shields.io/pypi/pyversions/pyonms)

# PyONMS

A Python library for accessing the OpenNMS REST API.

This is being developed with Python 3.10 and OpenNMS 31.
It may work on older versions, but they haven't been tested yet.

- [OpenNMS REST API documentation](https://docs.opennms.com/horizon/31/development/rest/rest-api.html)

## Information

This currently is an early, pre-release version of this library.
It is not maintained or published by The OpenNMS Group.


## Endpoints Supported

Currently supported endpoints include:

* Alarms (read-only)
* Business Services (read-write)
* Events (read, send)
* Foreign Sources (read-write)
* Heath (read-only)
* Info (read-only)
* Nodes (read-only)
* Requisitions (read-write)

## Getting Started

See the [project documentation](https://mmahacek.github.io/PyONMS/) for instructions on using this library.
mosaik.HouseholdSim-SemVer 2.0.4rc20230412010342
A simple simulator for household profiles.

HouseholdSim
============

This is pseudo simulator to serve residual load profiles to mosaik.

Status
------

.. image:: https://gitlab.com/offis.energy/mosaik/mosaik.householdsim_semver/badges/master/pipeline.svg
    :target: https://gitlab.com/offis.energy/mosaik/mosaik.householdsim_semver/-/jobs
    :alt: Pipeline status

.. image:: https://gitlab.com/offis.energy/mosaik/mosaik.householdsim_semver/badges/master/coverage.svg
    :target: https://gitlab.com/offis.energy/mosaik/mosaik.householdsim_semver/commits/master
    :alt: Coverage Report

.. image:: https://img.shields.io/librariesio/release/pypi/mosaik.householdsim_semver
    :target: https://libraries.io/pypi/mosaik.householdsim_semver
    :alt: Libraries status

.. image:: https://img.shields.io/pypi/l/mosaik.householdsim_semver
    :target: https://pypi.org/project/mosaik.householdsim_semver/
    :alt: License badge

.. image:: https://img.shields.io/pypi/v/mosaik.householdsim_semver
    :target: https://pypi.org/project/mosaik.householdsim_semver/#history
    :alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/mosaik.householdsim_semver
    :target: https://pypi.org/project/mosaik.householdsim_semver/
    :alt: Python Versions

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

::

    $ pip install mosaik-householdsim

Tests
-----

You can run the tests with::

    $ git clone https://bitbucket.org/mosaik/mosaik-householdsim
    $ cd mosaik-householdsim
    $ pip install -r requirements.txt
    $ pip install -e .
    $ pytest
    $ tox


Documentation
-------------

This simulator consists of a a *model* (``householdsim/model.py``) and the
mosaik API implemenation (``householdsim/mosaik.py``).

The model processes the data from a NumPy *\*.npz* file (see
``householdsim/test/test_model.py`` for an example of its layout). Basically,
the file contains a number of load profiles for a given period of time. It
also contains *ID lists* that describe which load profile belongs to which
node ID in a power grid. The first entry in an ID list relates to the first
entry of the profiles list, the second entry in the ID list to the second
load profile and so on. If the number of entires in the ID list is larger than
the number of load profiles, we start again with the first load profile.

Internally, the model works with minute. Since mosaik is based on seconds,
the mosaik API implementation converts between them.

Usually, residual load profiles have a resolution of 15 minutes. It is no
problem for this simulator to step in 1 minute steps, though.


Changelog
=========

2.0.3 – 2019-09-27
------------------

- [FIX] Fixed incompatibility with new arrow version.
- [FIX] Fixed time offset bug.


2.0.2 – 2014-09-22
------------------

- [CHANGE] Updated to mosaik-api 2.0.


2.0.1 – 2014-06-26
------------------

- [CHANGE] Adopted latest changes of the mosaik low-level API.


2.0 – 2014-03-26
----------------

- Updated API implementation for mosaik2.


1.0 – 2014-01-30
----------------

- Initial release.


Authors
=======

The household simulator was created by Stefan Scherfke and Ontje Lünsdorf.