semvec/pypi-packages huggingface dataset:
oemof.visio 0.0.3a1
A package that contains postprocessing and visualisation tools for oemof-solph models
Requires Python: >=3.10

**oemof's visualisation package**   |badge|

.. |badge| image:: https://github.com/oemof/oemof-visio/blob/master/docs/mit_badge.svg
   :target: https://opensource.org/licenses/MIT


Installation
============

Use pypi to install the latest version.
You can install the version just to plot graphs on oemof-solph results with

.. code:: bash

  pip install oemof.visio

or you can install the extra requirements to also produce an image of the energy system

.. code:: bash

  pip install oemof.visio[network]

You can also clone this repository and install locally with

.. code:: bash

  pip install .

or

.. code:: bash

  pip install .[network]


Special for Windows in case of optional `network` setting: download Graphviz (https://graphviz.org/download/) install it on your system -> activate "add PATH" variables during installation process otherwise the executable cannot be found. Afterwards, restart your environment.

Examples
========

Have a look at the plotting examples at the
`'oemof_example' repository <https://github.com/oemof/oemof_examples>`_ to
learn how to create the following examples.

(scientifically correct)
------------------------

.. image:: docs/io_plot.png

(smooth)
--------

.. image:: docs/io_plot_smooth_pre.png


Render energy system
--------------------

To render the component of an energy system, you can insert this code before you turn your EnergySytem instance into a model (not well suited for very large models).

.. code:: python

    from oemof.visio import ESGraphRenderer
    esgr = ESGraphRenderer(
        <your EnergySystem instance>,
        legend=True,
        filepath="full path including filename without extension",
        img_format="pdf"
    )
    esgr.render()

Render depth
------------

Since oemof-network release above 0.5.1, the SubNetwork class allows to create energy systems with nested subnodes.

By default `esgr.render()` will display all the subnodes. However, if you want to hide complexity of subnodes you can use
`esgr.render(max_depth=2)` to hide all subnodes with depth greater than 2 within their parent.



Sankey diagramm
---------------

To produce a sankey diagramm from the raw oemof-solph results you can use this code snippet into your own model file

.. code:: python

    import plotly.io as pio

    from oemof.visio import ESGraphRenderer
    esgr = ESGraphRenderer(<your EnergySystem instance>)

    # after the solve method of the model has been called
    results = solph.processing.results(model)
    fig_dict = esgr.sankey(results)
    pio.show(fig_dict)
cegalprizm-pycoderunner 1.4.0
Cegal Prizm PyCode Runner
Requires Python: >=3.6

# Introduction

A Python client library to use with a CegalPrizm. This library allows remote python scripts to be executed via Cegal Hub.  

# Further information and examples
Please see the Cegal Prizm Documentation site [here](https://docs.prizm.cegal-geo.com)

# License
Copyright (2025) Cegal, As. This library (the "Software") may not be used except in connection with the Licensees use of the Cegal Prizm Hub pursuant to an Agreement (defined below) between Licensee (defined below) and Cegal, AS. ("Cegal"). This Software shall be deemed part of the "Subscription Services" under the Agreement. Licensees use of the Software must comply at all times with any restrictions applicable to the Subscription Services, generally, and must be used in accordance with any applicable documentation. If you have not agreed to an Agreement or otherwise do not agree to these terms, you may not use the Software. This license terminates automatically upon the termination of the Agreement or Licensees breach of these terms. Agreement: the agreement between Cegal and Licensee governing the use of the Cegal Prizm Hub, which shall be, with respect to Cegal, and the Cegal Terms of Service located at https://cegal.com/about/terms-and-conditions , in each case unless Licensee has entered into a separate written agreement with Cegal governing the use of the applicable Cegal Services. Licensee: the user of the Software, or, if the Software is being used on behalf of a company, the company.
dbbs-catalogue 6.0.1
DBBS NMODL Catalogue

====================
DBBS NMODL Catalogue
====================


.. image:: https://img.shields.io/pypi/v/dbbs_catalogue.svg
        :target: https://pypi.python.org/pypi/dbbs_catalogue


NMODL Mechanism collection of the DBBS laboratory of the University of Pavia
mdtoreveal 0.4
Transform a flat markdown to a reveal.js presentation.
Requires Python: >=3.6

# mdtoreveal

It's an extremly basic
[Markdown](https://daringfireball.net/projects/markdown/) to
[reveal.js](https://revealjs.com/) conversion tool.

Yes reveal already supports Markdown, but it needs specifically
crafted Markdown with strange separators which I don't personally
like. And yes you can also do this using pandoc but it mess with
syntax highlighting by handling it.

## Usage

    mdtoreveal my_prez.md --output my_prez.html

It's also allowed to skip the output file, so its name is guessed, the
previous command is equivalent to the following one:

    mdtoreveal my_prez.md

## Syntax

Let's start with pure Markdown:

    # Big titles makes reveal.js "columns"

    ## Sub titles make reveal.js "slides" inside columns.

    ```python
    print("Syntax highlighting works")
    ```

    ::: notes

    Look, this is a personal note, it's not mandatory to use them, but you still can.
    Everything betwen `::: notes` and the next slide is only visible by the presenter.

    ## 2nd slide

    Blah blah …


## Example

It converts
[this](https://framagit.org/JulienPalard/atelier-perf/-/blob/master/perf.md)
into [this](https://julienpalard.frama.io/atelier-perf/perf.html)
(this one uses a
[.gitlab-ci.yml](https://framagit.org/JulienPalard/atelier-perf/-/blob/master/.gitlab-ci.yml)
to publish on push).


## Configuration

There's not, deal with it, don't loose your time on fine-tuning, and
focus on your presentation.

Still, you prefer a dark theme? It's unreadable on video projectors,
keep this one, trust me.

You want bigger code blocks? You already have 12 lines and 61 columns,
if you stuff more, it won't be readable anyway, stick to it.

You want a bigger font for your code blocks, so it's still readable
from the end of the room? I can understand that, I used to use a
bigger one too, let's talk in the issues.


## You're using a Makefile?

Me too ♥ this should do:

```Makefile
SRCS := $(wildcard *.md)
HTML := $(SRCS:.md=.html)

.PHONY: static
static: $(HTML)

%.html: %.md
	mdtoreveal $< -o $@
```


# Contributing

    pip install -e .[dev]
    tox -p all