Skip to main content

kivy based / Android optimized front-end for simple_plotter

Project description

simple-plotter4a (i.e. simple-plotter for Android) is an alternative front-end to simple-plotter based on kivy and the kivy-garden/graph module. While it is a cross-platform (completely written in python) its main purpose is to provide a GUI for mobile/touch devices.

simple-plotter4a can be compiled into a stand-alone APK via buildozer / python-for-android and thus requires no further software installed to run on your Android device.

https://simple-plotter.readthedocs.io/en/latest/_images/screen_shot_android.png

For usage instructions see: https://simple-plotter.readthedocs.io/en/latest/user_guide.html

simple-plotter4a is released under the GPLv3 license - for details see NOTICE and LICENSE file. The binary version (e.g. Android APK) will be linked and/or bundled with 3rd party libraries. The copyright disclaimers and licenses of the 3rd party components can be found in the ‘Licenses’ folder or in the documentation in the licenses chapter:

https://simple-plotter.readthedocs.io/en/latest/license.html#simple-plotter4a-binary-releases-android

Installing on desktop and Android

If you just want ot use the software please see the Getting started chapter in the simple_plotter documentation.

Compiling for Android

Prerequisites

Make sure you have the required components installed - see buildozer / python-for-android documentation for details.

simple-plotter4a comes with build instructions for ant . You will need to Apache ant installed in order to run the build.

Build the APK

The ant build script (see build.xml) performs some clean-up and version-control tasks before calling the action build process via buildozer. To build a debug APK simply clone the repository and run ant inside:

git clone https://gitlab.com/thecker/simple-plotter4a.git
cd simple-plotter4a
ant

This will automatically deploy the App to your connected Android device (via adb) and run logcat.

For building (unsigned) release APKs you can run ant with the release target.

ant release

Compiling against a modified version of simple-plotter (base)

By default the base modules of simple-plotter will be downloaded and installed via pip from the official PyPI repository. If you want to compile the APK against a local, modified base version you should do following.

Make sure, that the modified base is cloned from the git.

cd ~/your_work_dir
git clone https://gitlab.com/thecker/simple-plotter.git

Afterwards clone this repo:

git clone https://gitlab.com/thecker/simple-plotter4a.git
cd simple-plotter4a

Edit the buildozer.spec and uncomment the requirements.source.simple-plotter line and adjust the path accordingly - e.g.

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
requirements.source.simple-plotter = ../simple_plotter

Now start the compilation process with:

ant clean-all
ant

Note to run ant clean-all to remove any pre-built dependencies (this step, which will make buildozer recompile all dependencies is not required, if you just make changes to simple-plotter4a). It should now compile against your local, modified version of simple-plotter.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_plotter4a-0.1.0.tar.gz (405.2 kB view hashes)

Uploaded Source

Built Distribution

simple_plotter4a-0.1.0-py3-none-any.whl (87.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page