/carta-views

A template repo for the Carta wrapper around simple that uses my views folder

Primary LanguagePythonMIT LicenseMIT

rm1 rm2 Discord

reMarkable Template Python Carta Application

Testing

Simulate

You can use rmkit-sim to test your application on your local machine.

make simulate

On Device

First you will need to install the following dependencies on the device:

opkg update
opkg install python3 python3-pip
pip install carta

You can now copy the contents of this folder to your device, and run your app with the following from the folder with the code:

pip install -r ./requirements.txt
python -m myapp

Creating Views

A view is an instance of BaseView. An example can be found in [myapp/views/ExampleView.py]

Passing data thru views

additional_args is a dictionary containing additional arguments (or state) to be passed to a new view

Handling buttons

An example of buttons handling can be found in [views/ExampleView.py]