Code Monkey home page Code Monkey logo

pythonista_suncalculator_ipad's Introduction

Pythonista_SunCalculator_iPad

Sun Calculator installation manual ———————————————

  1. Install Stash Shell for Pythonista https://github.com/ywangd/stash

  2. Install odfpy via pip on Stash Shell and start ‚launch_stash.py‘

  3. Enter ‚Pip install odfpy‘ in Stash

If installation aborts under Python3 version of Stash, switch to Python2 version by inserting the following first line at the top of the ‚launch_stash.py‘ script:

#! python2

Then re-open Stash and enter ‚pip install odfpy‘

Copy the odf install files manually from Python2 to Python3 directory in Pythonista App, i.e. Python Modules -> site-packages-2/odf to site-packages-3/odf.

  1. Optional for PDF export: Get a free Cloudmersive API key here: https://account.cloudmersive.com/signup

Copy you API key into the text file ‚cloudmersive-apikey.txt‘ contained in this package (you can use Pythonista app for editing)

Note that without API you will only be able to generate Open Document reports that will be stored in your program folder within Pythonista App.

  1. Enter in Stash in Python3 mode (e.g. remove #! python2 tag from launch_stash.py script) and enter: ‚Pip install cloudmersive_convert_api_client‘

  2. Open Stash in Python3 mode and enter: ‚Pip install timezonefinder‘

  3. Due to dependencies, URLLib3 could already have been installed via Pip. To be sure, try in Stash in Python3 mode: ‚Pip install urllib3‘

  4. Now copy the software to your iPad: a. Extract SunCalc.zip to your iCloud-Pythonista3-folder into a separate iCloud directory b. Open Pythonista, create a local directory SunCalc on your iPad and enter that directory c. Use ‚+‘ and ‚File Import‘ and import all files from the iCloud SunCalc directory to your local directory within the Pythonista App (17 files in total including this manual) d. Rename the following files in your local directory using Pythonista App:

sonne-ipad.txt—> sonne-ipad.pyui reportsettings.txt —> reportsettings.pyui slidertest.txt —> slidertest.pyui FreeMono.txt —> FreeMono.ttf

  1. Now you should be ready to go: Launch suncalc.py in your iPad and explore!

pythonista_suncalculator_ipad's People

Contributors

bambla78 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.