Saturday, August 3, 2019

Parashar21 : pyswisseph

The fortuitous location of a python package pyswisseph  that implements ver 2.0 of the Swiss Ephmeris software means that the earlier way of running an executable file and then collecting the results is no more required. Now it is  possible to call the Swiss Ephemeris functions directly from Python code running in Jupyter notebook located on Google Colab. A skeletal demo of this approach is given in this demo notebook.

Based on this technology, two new programs or notebooks have been created. The first one casts the horoscope and stores it as a .py21 text file on the Colab VM -- which can then be saved either in Google-Drive or on local, desktop machine. The second program reads the data from the horoscope (.py21) file and does a Position-Aspect-Conjunction (PAC of KN Rao ) analysis and presents the data as MS Doc file with the horoscope chart embedded in it! Nice isn't it!

This is a work in progress but the Aug 3, 2019 version of these two program ( or Google Colab notebooks) is available as follows : (1) Parashar 21 - Cast V3  (2) Parashar21 - PAC V3.

Google Colab is the easiest way to run python programs without having to install anything on your machine. All  you need is Google Chrome browser and a GMail account. To learn about how to use Google Colab please Google for tutorials. Its extremely easy to use.