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.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for simple_plotter4a-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb9fc198b35172e8cac4a2298d94bc451c08549dce434f5523274048466170f |
|
MD5 | 6e8ed3edd8b223ae632132da2ca8d97f |
|
BLAKE2b-256 | a6ac956c59a850c0ebf2314e66b797ae42f98b5ac249d4fc1c0fca3ea9ce605c |