# Aktor: Generisches Python-Template für "Process"

### Generisches Python-Template für Aktoren

Das nachfolgende Template ist Grundlage für die meisten in Python geschriebenen [Aktoren](https://docs.fab-access.org/books/was-ist-fabaccess-grundkonzepte/page/aktoren-actors-und-initiatoren-initiators#bkmrk-aktoren-%28actors%29 "Aktoren (Actors) und Initiatoren (Initiators)")-Plugin und dient dazu Zustände von Ressourcen von einem Zustand in anderen Zustand zu verändern. Eine Übersicht über die erlaubten Zustände, die gesetzt werden können, findet sich [hier](https://docs.fab-access.org/books/was-ist-fabaccess-grundkonzepte/page/zustande-traits#bkmrk-fabaccess-api).

Es implementiert einen einfachen Python-Zugang zu den in Rust geschriebenen Methoden des [Prozess-Aktors](https://docs.fab-access.org/books/fabaccess-konfiguration/page/hauptkonfiguration-bffhdhall#bkmrk-process-actor). Das Template eignet sich also **nicht** für [Initiatoren](https://docs.fab-access.org/books/was-ist-fabaccess-grundkonzepte/page/aktoren-actors-und-initiatoren-initiators#bkmrk-initiatoren-%28initiat)!

Im Code ist das passende Gegenstück (Plugin) [hier](https://gitlab.com/fabinfra/fabaccess/bffh/-/blob/development/bffhd/actors/process.rs?ref_type=heads) zu finden.

Quellcode: [https://gitlab.com/fabinfra/fabaccess/actors/python\_process\_template](https://gitlab.com/fabinfra/fabaccess/actors/python_process_template)

<p class="callout info">Siehe auch [Initiator: Generisches Python-Template für "Process"](https://docs.fab-access.org/books/plugins-aktoren-initiatoren/page/initiator-generisches-python-template-fur-process "Initiator: Generisches Python-Template für "Process"")  
</p>