Giter Club home page Giter Club logo

vedastro / vedastro Goto Github PK

View Code? Open in Web Editor NEW
140.0 11.0 61.0 789.41 MB

A non-profit, open source project to make Vedic Astrology easily available to all.

Home Page: https://vedastro.org

License: MIT License

C# 38.05% HTML 6.67% CSS 0.09% PowerShell 0.06% JavaScript 4.37% Dockerfile 0.03% Java 0.01% Inno Setup 0.03% Python 50.65% Shell 0.01% Starlark 0.03%
astrology vedic horoscope muhurat open-source panchanga panchangam api astrology-api non-profit

vedastro's Issues

Project Big Picture

simple image to show big picture of project for website, API, nuget & docker

Birth Time Finder

"dictionary attack" on time

  • create proto possible birth times

  • available via simple API call

Calculations seems to be little off

When analyzing the planet positions. I see they are atleast 1deg 27min forward than what I see in Jaganatha Hora (with True Lahari/Chitrapaksha aynamsa)

I guess you are using Raman Aynamsa. And I believe this affects Dasa calculations.

Is there a way to select Aynamsa ?

Also due to this when Jupiter in 23.37 deg in Sagi, reads as next house Capricorn for analysis and data

Ashtakvarga

  • Online
  • Example data out
  • Example Call URL
  • Underlying function

Given a planet name will return Ashtakvarga Score

This calculator can quickly tell if planet is Benefic or Malefic with a simple number,
no more complex houses & sign combinations to remember!

Reference :

  • Ashatakavarga System of Predicion – 1996

Python Library

Make .net core calculator lib accessible for python developers

Using
Python.NET

  • Setup & Load .dll

You need to install the packages using NuGet command line, copy required .dll files to your project folder, and then add reference using clr.AddReferenceToFile('filePathToPackageDll').

    nuget sources add -Name <SourceName> -Source <SourceURL> -username <UserName> -password <Pat>
    nuget.exe restore

Get assembly successfully loaded

import clr
clr.AddReference("VedAstro.Library")
from VedAstro.Library import *

  • Working Example
import clr
clr.AddReference("VedAstro.Library")
from VedAstro.Library import *

//set planet name
planetName = PlanetName.Sun

//set time
timeStr = $"{hhmmStr} {dateStr}/{monthStr}/{yearStr} {offsetStr}";
parsedTime = new Time(timeStr, geoLocation);

//get planet sign at given time
sign = AstronomicalCalculator.GetPlanetRasiSign(planetName, parsedTime)

return sign

Thanks @gokul6350 for suggestions this 🙏

Add new Muhurtha events

  • Brigu Bindu
    : Middle point between Rahu and moon, when Saturn transit that point (in gochara) bad things are happen it's depends on point which included Bhawa(House). ex: it's 10th house it's effects your job/occupation.

  • PLACEHOLDER_NAME
    : middle point of sun and moon (Danger points when Saturn go through that point it's danger we can notify it)

API Key Management

Place to generate & view API key under account
API KEY == Owner ID == User ID

"Is Mercury Malefic" calculator needs verification/correction

image

Info

Most of the time Mercury can be easily determined as "benefic" or "malefic" based on weather it is with benefic or malefic planets.
But there are 2 unanswered possibilities that might not be calculated correctly.

  1. When Mercury is conjunct with "malefic" & "benefic" planets, does this make Mercury neutral?
  2. When Mercury is not conjunct with any planet, is automatically "benefic", even in enemy sign?

Code is here

Any input to solve this would be greatly appreciated 🙏

Person update bug

  • journal page only update journal
  • person editor update only what has changed
  • fine grained update call for person record
  • remove uses of whole person update call (keep for future)
  • update only name
  • update only description

Planet Declination / Kranti

  • Online
  • Example data out
  • Example Call URL
  • Underlying function

Underlying

AstronomicalCalculator.GetPlanetDeclination

Dasa chart highlight button row

  • purposely built in pure JS to make easy copy for others
  • no dependence to Blazor
  • allow to make accurate predictions based on house & planet influence
  • AI exact marriage date is predicted via this method

Desktop Chart Generator

too much computation power stuck on cloud & mobile!
harness your desktop power to generate super HD charts impossible to be made online

Bar Chart available via API

2 options to get the chart

  • SVG : ready to into website (formatting not easy to change, but easy to implement)
  • RAW : gets raw data with no formatting (easy customize, time to final result)

PHP API Client Lib

Below is sample code of what the lib will be doing, which is talk to the API nicely

<?php
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://vedastro.org/api/Location/Singapore/Time/23:59/31/12/2000/+08:00/Planet/Moon/Strength/Temporal',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;

New Events for Muhurtha suggested by Vatsal Tanna

  • Chandrashtama

chandrashtama, for your case, moon enters Aries 10:07 your time on 17th and enters Taurus 16:03 your time on 19ty
So your chandrashtama will be ongoing between those two date time
Every month when moon is in Aries will be your chandrashtama
Time to remain calm and meditative

  • Monthly Tithi Pravesh

But every month the Sun and Moon will form the same angle in terms of degrees as at the time of your birth
Good to perform Homa of Annadan or event do mantra or other spiritual practise that day
Most important is to not do anything stupid for +- 45 minutes before an after the exact time of tithi pravesh
That is also used to predict events for the month
It will sit the tone for the month
Yours is S12 ~90% over
For 2023 your annual tithi pravesh was 2nd May 2023 23:31
1st June 2023 14:00 is your next monthly Tithi Pravesh
So between 13:00 to 15:00 if you perform spiritual practises and also for 1st June if you do Annadan or gau feeding or best of all a Homa, it will be very beneficial for you spiritually for that month

  • Abhishek Nakshatra

Abhishek nakshtra = the nakshatra just before your birth nakshatra
On Abhishek nakshatra day it’s auspicious to perform Rudrabhishek
It gives strength to the kind

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.