# SiderealKundliCraft
This package was replaced by: sideralib
sideralib github page: https://github.com/EH30/sideralib
sideralib pypi page: https://pypi.org/project/sideralib/
SiderealKundliCraft is a simple Python package designed for astrology enthusiasts. This package empowers users to calculate charts and determine planetary positions within the zodiac signs, adhering to the sidereal system.
# Example
```
from SiderealKundliCraft import AstroChart, SiderealAstroData
if __name__ == "__main__":
# Example UTC: +5:30 which is used by India
# Example Location Mumbai India latitude: 19.0760 and Longitude: 72.8777
# Year: 2009 Month: 3 Day: 30 Hour: 9 Minute: 36 Second: 0 utc_hour: 5 utc_minute: 30 latitude: 19.0760 Longitude: 72.8777 ayanamsa: ay_lahiri
year = 2009
month = 3
day = 30
hour = 9
minute = 36
second = 0
utc_hour = 5
utc_minute = 30
latitude = 19.0760
longitude = 72.8777
ayanamsa = "ay_lahiri"
data = SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa)
kundli = AstroChart.Chart(data.planets_rashi()).lagnaChart() # returns list with all the houses in Lagna Chart
# kundli[0] = house 1
# kundli[1] = house 2
# ...
# ...
# kundli[11] = house 12
# kundli[0].sign_num returns rashi sign in first house.
# kundli[0].planets returns dict with all the planet information in first house.
for house in range(len(kundli)):
if kundli[house].is_ascendant == True:
print("Asc Signlon: ", kundli[house].asc_signlon)
print("Asc minute: ", kundli[house].asc_minute)
print("Asc sec: ", kundli[house].asc_second)
print("Asc: ", kundli[house].asc_degree)
print("house: {0} sign_num: {1} planet: {2}".format(house+1, kundli[house].sign_num, kundli[house].planets))
```
#
```
# Output:
# Asc Signlon: 7.606448680104336
# Asc minute: 36.38692080626015
# Asc sec: 23.215248375609086
# Asc: 07:36:23
# house: 1 sign_num: 2 planet: {'moon': {'signlon': 0.4326922465451801, 'minute': 25.961534792710808, 'second': 57.69208756264839, 'lon': 30.43269224654518, 'degree': '00:25:57', 'retrograde': False}}
# house: 2 sign_num: 3 planet: {}
# house: 3 sign_num: 4 planet: {'ketu': {'signlon': 12.303851305303283, 'minute': 18.231078318196978, 'second': 13.864699091818732, 'lon': 102.30385130530328, 'degree': '12:18:13', 'retrograde': True}}
# house: 4 sign_num: 5 planet: {'saturn': {'signlon': 22.758987182069518, 'minute': 45.53923092417108, 'second': 32.353855450264746, 'lon': 142.75898718206952, 'degree': '22:45:32', 'retrograde': True}}
# house: 5 sign_num: 6 planet: {}
# house: 6 sign_num: 7 planet: {}
# house: 7 sign_num: 8 planet: {}
# house: 8 sign_num: 9 planet: {'pluto': {'signlon': 9.30237002216532, 'minute': 18.142201329919203, 'second': 8.532079795152224, 'lon': 249.30237002216532, 'degree': '09:18:08', 'retrograde': False}}
# house: 9 sign_num: 10 planet: {'jupiter': {'signlon': 24.766072525924358, 'minute': 45.96435155546146, 'second': 57.86109332768774, 'lon': 294.76607252592436, 'degree': '24:45:57', 'retrograde': False}, 'rahu': {'signlon': 12.303851305303283, 'minute': 18.231078318196978, 'second': 13.864699091818732, 'lon': 282.3038513053033, 'degree': '12:18:13', 'retrograde': True}}
# house: 10 sign_num: 11 planet: {'mars': {'signlon': 17.779569685040656, 'minute': 46.77418110243934, 'second': 46.45086614636038, 'lon': 317.77956968504066, 'degree': '17:46:46', 'retrograde': False}, 'uranus': {'signlon': 29.585563853318888, 'minute': 35.13383119913328, 'second': 8.029871947996847, 'lon': 329.5855638533189, 'degree': '29:35:08', 'retrograde': False}, 'neptune': {'signlon': 1.5493690559594597, 'minute': 32.962143357567584, 'second': 57.72860145405505, 'lon': 301.54936905595946, 'degree': '01:32:57', 'retrograde': False}}
# house: 11 sign_num: 12 planet: {'sun': {'signlon': 15.606050560341089, 'minute': 36.36303362046533, 'second': 21.7820172279199, 'lon': 345.6060505603411, 'degree': '15:36:21', 'retrograde': False}, 'mercury': {'signlon': 14.595579878481658, 'minute': 35.73479270889948, 'second': 44.08756253396846, 'lon': 344.59557987848166, 'degree': '14:35:44', 'retrograde': False}, 'venus': {'signlon': 11.793622040073728, 'minute': 47.6173224044237, 'second': 37.039344265422216, 'lon': 341.7936220400737, 'degree': '11:47:37', 'retrograde': True}}
# house: 12 sign_num: 1 planet: {}
```
#
kundli[0] = house 1
kundli[1] = house 2
...
...
kundli[11] = house 12
kundli[0].sign_num returns rashi sign number in first house.
kundli[0].planets returns dict with all the planet information in first house.
ayanamsa you can use:
"ay_fagan_bradley"
"ay_lahiri"
"ay_deluce"
"ay_raman"
"ay_krishnamurti"
"ay_sassanian"
"ay_aldebaran_15tau"
"ay_galcenter_5sag"
#
```kundli[0].sign_num```: returns sign number in the first house
```kundli[0].asc_signlon```: returns the ascendant degree
```kundli[0].asc_minute```: returns the ascendant minute
```kundli[0].asc_second```: returns the ascendant second
```kundli[0].asc_degree```: returns the ascendant degree
```kundli[0].planets```: returns dict with planet information in the first house
#
```AstroChart.Chart```:
- ```AstroChart.Chart(data.planets_rashi()).lagnaChart()```: returns Lagna Chart
- ```AstroChart.Chart(data.planets_rashi()).moonChart()```: returns Moon Chart
#
```SiderealAstroData.AstroData```:
- ```SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa).planets_rashi()```:returns dict with planets information
- ```SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa).get_chiron_rashi("resources\swefiles")```: returns dict with chiron information
```
# Example
data = SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa)
data.get_chiron_rashi("resources\swefiles") # returns dict with chiron information
kundli = AstroChart.Chart(data.planets_rashi()).lagnaChart() # returns list with all the houses in Lagna Chart
```
# Installl
```
pip install SiderealKundliCraft
```
or
download the files from https://github.com/EH30/SiderealKundliCraft
then cd to the folder and enter the command:
```
pip install .
```
Raw data
{
"_id": null,
"home_page": "https://github.com/EH30/SiderealKundliCraft",
"name": "SiderealKundliCraft",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Astrology,Sidereal Astrology,Kundli,Sidereal,Tools,Chart",
"author": "EH",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c4/b6/dbeed710ae608f53648065e6bf12ce29c5925322de890dbf2de5a9956213/SiderealKundliCraft-6.1.0.tar.gz",
"platform": null,
"description": "# SiderealKundliCraft\r\n\r\nThis package was replaced by: sideralib \r\nsideralib github page: https://github.com/EH30/sideralib \r\nsideralib pypi page: https://pypi.org/project/sideralib/ \r\n \r\n\r\n\r\nSiderealKundliCraft is a simple Python package designed for astrology enthusiasts. This package empowers users to calculate charts and determine planetary positions within the zodiac signs, adhering to the sidereal system. \r\n\r\n# Example\r\n```\r\nfrom SiderealKundliCraft import AstroChart, SiderealAstroData\r\n\r\nif __name__ == \"__main__\":\r\n # Example UTC: +5:30 which is used by India\r\n # Example Location Mumbai India latitude: 19.0760 and Longitude: 72.8777 \r\n # Year: 2009 Month: 3 Day: 30 Hour: 9 Minute: 36 Second: 0 utc_hour: 5 utc_minute: 30 latitude: 19.0760 Longitude: 72.8777 ayanamsa: ay_lahiri \r\n year = 2009\r\n month = 3\r\n day = 30\r\n hour = 9\r\n minute = 36\r\n second = 0\r\n utc_hour = 5\r\n utc_minute = 30\r\n latitude = 19.0760\r\n longitude = 72.8777\r\n ayanamsa = \"ay_lahiri\"\r\n data = SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa)\r\n kundli = AstroChart.Chart(data.planets_rashi()).lagnaChart() # returns list with all the houses in Lagna Chart\r\n # kundli[0] = house 1 \r\n # kundli[1] = house 2 \r\n # ... \r\n # ... \r\n # kundli[11] = house 12\r\n\r\n # kundli[0].sign_num returns rashi sign in first house. \r\n # kundli[0].planets returns dict with all the planet information in first house. \r\n for house in range(len(kundli)):\r\n if kundli[house].is_ascendant == True:\r\n print(\"Asc Signlon: \", kundli[house].asc_signlon)\r\n print(\"Asc minute: \", kundli[house].asc_minute)\r\n print(\"Asc sec: \", kundli[house].asc_second)\r\n print(\"Asc: \", kundli[house].asc_degree)\r\n print(\"house: {0} sign_num: {1} planet: {2}\".format(house+1, kundli[house].sign_num, kundli[house].planets))\r\n\r\n``` \r\n# \r\n``` \r\n# Output: \r\n# Asc Signlon: 7.606448680104336\r\n# Asc minute: 36.38692080626015\r\n# Asc sec: 23.215248375609086\r\n# Asc: 07:36:23\r\n# house: 1 sign_num: 2 planet: {'moon': {'signlon': 0.4326922465451801, 'minute': 25.961534792710808, 'second': 57.69208756264839, 'lon': 30.43269224654518, 'degree': '00:25:57', 'retrograde': False}}\r\n# house: 2 sign_num: 3 planet: {}\r\n# house: 3 sign_num: 4 planet: {'ketu': {'signlon': 12.303851305303283, 'minute': 18.231078318196978, 'second': 13.864699091818732, 'lon': 102.30385130530328, 'degree': '12:18:13', 'retrograde': True}}\r\n# house: 4 sign_num: 5 planet: {'saturn': {'signlon': 22.758987182069518, 'minute': 45.53923092417108, 'second': 32.353855450264746, 'lon': 142.75898718206952, 'degree': '22:45:32', 'retrograde': True}}\r\n# house: 5 sign_num: 6 planet: {}\r\n# house: 6 sign_num: 7 planet: {}\r\n# house: 7 sign_num: 8 planet: {}\r\n# house: 8 sign_num: 9 planet: {'pluto': {'signlon': 9.30237002216532, 'minute': 18.142201329919203, 'second': 8.532079795152224, 'lon': 249.30237002216532, 'degree': '09:18:08', 'retrograde': False}}\r\n# house: 9 sign_num: 10 planet: {'jupiter': {'signlon': 24.766072525924358, 'minute': 45.96435155546146, 'second': 57.86109332768774, 'lon': 294.76607252592436, 'degree': '24:45:57', 'retrograde': False}, 'rahu': {'signlon': 12.303851305303283, 'minute': 18.231078318196978, 'second': 13.864699091818732, 'lon': 282.3038513053033, 'degree': '12:18:13', 'retrograde': True}}\r\n# house: 10 sign_num: 11 planet: {'mars': {'signlon': 17.779569685040656, 'minute': 46.77418110243934, 'second': 46.45086614636038, 'lon': 317.77956968504066, 'degree': '17:46:46', 'retrograde': False}, 'uranus': {'signlon': 29.585563853318888, 'minute': 35.13383119913328, 'second': 8.029871947996847, 'lon': 329.5855638533189, 'degree': '29:35:08', 'retrograde': False}, 'neptune': {'signlon': 1.5493690559594597, 'minute': 32.962143357567584, 'second': 57.72860145405505, 'lon': 301.54936905595946, 'degree': '01:32:57', 'retrograde': False}}\r\n# house: 11 sign_num: 12 planet: {'sun': {'signlon': 15.606050560341089, 'minute': 36.36303362046533, 'second': 21.7820172279199, 'lon': 345.6060505603411, 'degree': '15:36:21', 'retrograde': False}, 'mercury': {'signlon': 14.595579878481658, 'minute': 35.73479270889948, 'second': 44.08756253396846, 'lon': 344.59557987848166, 'degree': '14:35:44', 'retrograde': False}, 'venus': {'signlon': 11.793622040073728, 'minute': 47.6173224044237, 'second': 37.039344265422216, 'lon': 341.7936220400737, 'degree': '11:47:37', 'retrograde': True}}\r\n# house: 12 sign_num: 1 planet: {}\r\n``` \r\n\r\n\r\n# \r\nkundli[0] = house 1 \r\nkundli[1] = house 2 \r\n... \r\n... \r\nkundli[11] = house 12\r\n\r\nkundli[0].sign_num returns rashi sign number in first house. \r\nkundli[0].planets returns dict with all the planet information in first house.\r\n\r\nayanamsa you can use: \r\n\"ay_fagan_bradley\" \r\n\"ay_lahiri\" \r\n\"ay_deluce\" \r\n\"ay_raman\" \r\n\"ay_krishnamurti\" \r\n\"ay_sassanian\" \r\n\"ay_aldebaran_15tau\" \r\n\"ay_galcenter_5sag\" \r\n \r\n\r\n# \r\n```kundli[0].sign_num```: returns sign number in the first house \r\n```kundli[0].asc_signlon```: returns the ascendant degree \r\n```kundli[0].asc_minute```: returns the ascendant minute \r\n```kundli[0].asc_second```: returns the ascendant second \r\n```kundli[0].asc_degree```: returns the ascendant degree \r\n```kundli[0].planets```: returns dict with planet information in the first house \r\n#\r\n```AstroChart.Chart```: \r\n- ```AstroChart.Chart(data.planets_rashi()).lagnaChart()```: returns Lagna Chart \r\n- ```AstroChart.Chart(data.planets_rashi()).moonChart()```: returns Moon Chart \r\n#\r\n```SiderealAstroData.AstroData```:\r\n- ```SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa).planets_rashi()```:returns dict with planets information\r\n- ```SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa).get_chiron_rashi(\"resources\\swefiles\")```: returns dict with chiron information\r\n \r\n``` \r\n# Example \r\ndata = SiderealAstroData.AstroData(year, month, day, hour, minute, second, utc_hour, utc_minute, latitude, longitude, ayanamsa=ayanamsa)\r\ndata.get_chiron_rashi(\"resources\\swefiles\") # returns dict with chiron information\r\nkundli = AstroChart.Chart(data.planets_rashi()).lagnaChart() # returns list with all the houses in Lagna Chart\r\n``` \r\n\r\n\r\n\r\n# Installl\r\n``` \r\npip install SiderealKundliCraft\r\n``` \r\nor \r\ndownload the files from https://github.com/EH30/SiderealKundliCraft \r\nthen cd to the folder and enter the command: \r\n\r\n``` \r\npip install .\r\n``` \r\n",
"bugtrack_url": null,
"license": "Unlicense",
"summary": "This Python package is for astrology.",
"version": "6.1.0",
"project_urls": {
"Homepage": "https://github.com/EH30/SiderealKundliCraft"
},
"split_keywords": [
"astrology",
"sidereal astrology",
"kundli",
"sidereal",
"tools",
"chart"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c4b6dbeed710ae608f53648065e6bf12ce29c5925322de890dbf2de5a9956213",
"md5": "2136c303293d4b4d8f952b716103562d",
"sha256": "1447432b5b77af0a7c55e85136b7f1a6f5b1c4d66135b169c342436c330522a7"
},
"downloads": -1,
"filename": "SiderealKundliCraft-6.1.0.tar.gz",
"has_sig": false,
"md5_digest": "2136c303293d4b4d8f952b716103562d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7226,
"upload_time": "2023-09-26T09:03:03",
"upload_time_iso_8601": "2023-09-26T09:03:03.844577Z",
"url": "https://files.pythonhosted.org/packages/c4/b6/dbeed710ae608f53648065e6bf12ce29c5925322de890dbf2de5a9956213/SiderealKundliCraft-6.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-26 09:03:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EH30",
"github_project": "SiderealKundliCraft",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "siderealkundlicraft"
}