semvec/pypi-packages huggingface dataset:
dbc-editor 0.6.1
An editor for CAN bus database files like dbc or sym, based on cantools and urwid
Requires Python: >=3.7

# dbc-editor

An editor for CAN bus database files like dbc or sym,
based on [cantools](https://github.com/cantools/cantools) and [urwid](http://urwid.org/).


# Usage

Pass the file that you want to open as command line argument.
You can also pass the name of a not existing file in order to create a new file.

When you open the program a list of all messages defined in the passed file is displayed.
If it is a new file this list is empty.

How to navigate in the list view:
- 'arrow up' / 'arrow down' to select a message
- 'G'/'\_' to jump to last/first line
- 'arrow right' to display the signals of the currently selected message
- 'arrow left' to return from the list of signals to the list of messages
- 'i' to edit the selected message (if you are in the list of messages) / signal (if you are in the list of signals)
- 'v' to get a visualization of the message layout
- '+' to create a new message/signal
- '-' to delete the selected message/signal
- 'w' to write/save
- 'q' to quit
- '1' if you are in the list of messages: sort by message id
- '2' if you are in the list of messages: sort by message name
- '0' if you are in the list of messages: sort by the order how they appear in the dbc file

How to navigate in the edit view:
- 'arrow up' / 'arrow down' to select the entry field
- 'arrow left' / 'arrow right' to select a radio button.
  Be careful to not press these buttons too often:

  - If you are on the left most position, pressing 'arrow left' returns to the list view. If you have made changes it will ask you whether you want to save the changes. You can press 'escape' in this dialog to return to the edit view.
  - If you are on the right most position, pressing 'arrow right' saves the changes and returns to the list view. (Same like 'enter')

  Maybe I will change this in the future but this does not have a priority.

- 'enter' to save changes and return to the list of messages/signals
- 'escape' to discard changes and return to the list of messages/signals


# Installation

```
$ pipx install dbc-editor
```

# TODO

Missing message attributes:
- senders
- send_type
- cycle_time

Missing signal attributes:
- initial
- minimum
- maximum
pyloadprofilegenerator 0.1.1
Python Bindings for the LoadProfileGenerator
Keywords: buildings, thermal load, electricity load

 [![PyPI Version](https://img.shields.io/pypi/v/pyloadprofilegenerator.svg)](https://pypi.python.org/pypi/pyloadprofilegenerator)
 [![PyPI - License](https://img.shields.io/pypi/l/pyloadprofilegenerator)](LICENSE)

# pyLPG

This package provides bindings and binaries to execute the [LoadProfileGenerator](https://www.loadprofilegenerator.de/) (LPG) from python.

Basically it 
* converts your settings into a JSON file for the LPG that specifies what the LPG should calculate,
* starts the binary depending on your platform (Windows/Linux), 
* waits for the results,
* and then returns the results as pandas dataframe.

Look into the [single household example](examples/single_household.py) for a simple example on use.

Example of a generated electricity load profile as a carpet plot:

<a href=examples/example_carpet_plot.png><img src="examples/example_carpet_plot.png" alt="electric load carpet plot" width="500px"></a> 

Note that this package downloads the full LPG binaries and the database on first use.

If you want to use a different database than the one that comes with the package, you need to replace the files.

## Installation

This package can be installed via pip:

    pip install pyloadprofilegenerator

## License

MIT License

Copyright (C) 2022 Noah Pflugradt (FZJ IEK-3), David Neuroth (FZJ IEK-3), Peter Stenzel (FZJ IEK-3), Leander Kotzur (FZJ IEK-3), Detlef Stolten (FZJ IEK-3)

You should have received a copy of the MIT License along with this program.
If not, see https://opensource.org/licenses/MIT

## Citing

If you use pylpg in a published work, please cite:

Noah Pflugradt, Peter Stenzel, Leander Kotzur, and Detlef Stolten (2022). LoadProfileGenerator: An Agent-Based Behavior Simulation for Generating Residential Load Profiles. Journal of Open Source Software, 7(71), 3574, https://doi.org/10.21105/joss.03574

## About Us 

The package is mainted by the [Institute of Energy and Climate Research â€“ Techno-Economic Systems Analysis (IEK-3)](https://www.fz-juelich.de/en/iek/iek-3) belonging to the [Forschungszentrum JÃ¼lich](https://www.fz-juelich.de/). 


## Contributing

We need your help to make pyLPG an even better tool than it is. Please raise an issue, if it is not clear how to use the package, if you find a bug, or if you have an idea how to improve. If you have implemented a solution, you are invited to contribute with a pull request.

<a href="https://www.fz-juelich.de/en/iek/iek-3"><img src="https://www.fz-juelich.de/static/media/Logo.2ceb35fc.svg" alt="Forschungszentrum Juelich Logo" width="230px"></a>