Editing
Mecha Jono
(section)
From FusionGirl Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Astrology Script=== https://astro-seek.com has a number of very advanced features. This includes a sidereal transit chart calculator that supports galactic centered ayanamsa import urllib.parse from datetime import datetime def generate_transit_chart_url( birth_date_1=None, birth_time_1=None, city_1="Greenwich, USA, Connecticut", lat_1="41°2'", long_1="73°38'", state_1="CT", birth_date_2=None, birth_time_2=None, city_2="Kent, USA, Washington", lat_2="47°23'", long_2="122°14'", state_2="WA", house_system="placidus", orb=3, minor_aspects=None): if minor_aspects is None: minor_aspects = ["150", "30", "45", "135", "72", "144"] # Get current date and time as default if none provided now = datetime.now() if birth_date_1 is None: birth_date_1 = now.strftime("%d-%m-%Y") if birth_time_1 is None: birth_time_1 = now.strftime("%H:%M") if birth_date_2 is None: birth_date_2 = now.strftime("%d-%m-%Y") if birth_time_2 is None: birth_time_2 = now.strftime("%H:%M") base_url = "https://horoscopes.astro-seek.com/calculate-transit-chart/" # Split date and time into individual components for the URL day_1, month_1, year_1 = birth_date_1.split("-") hour_1, minute_1 = birth_time_1.split(":") day_2, month_2, year_2 = birth_date_2.split("-") hour_2, minute_2 = birth_time_2.split(":") params = { "send_calculation": "1", "muz_narozeni_den": day_1, "muz_narozeni_mesic": month_1, "muz_narozeni_rok": year_1, "muz_narozeni_hodina": hour_1, "muz_narozeni_minuta": minute_1, "muz_narozeni_city": city_1, "muz_narozeni_mesto_hidden": city_1, "muz_narozeni_stat_hidden": "US", "muz_narozeni_podstat_kratky_hidden": state_1, "muz_narozeni_sirka_stupne": lat_1.split("°")[0], "muz_narozeni_sirka_minuty": lat_1.split("°")[1].replace("'", ""), "muz_narozeni_sirka_smer": "0", # 0 = North "muz_narozeni_delka_stupne": long_1.split("°")[0], "muz_narozeni_delka_minuty": long_1.split("°")[1].replace("'", ""), "muz_narozeni_delka_smer": "1", # 1 = West "muz_narozeni_timezone_form": "auto", "muz_narozeni_timezone_dst_form": "auto", "zena_narozeni_den": day_2, "zena_narozeni_mesic": month_2, "zena_narozeni_rok": year_2, "zena_narozeni_hodina": hour_2, "zena_narozeni_minuta": minute_2, "zena_narozeni_city": city_2, "zena_narozeni_mesto_hidden": city_2, "zena_narozeni_stat_hidden": "US", "zena_narozeni_podstat_kratky_hidden": state_2, "zena_narozeni_sirka_stupne": lat_2.split("°")[0], "zena_narozeni_sirka_minuty": lat_2.split("°")[1].replace("'", ""), "zena_narozeni_sirka_smer": "0", # 0 = North "zena_narozeni_delka_stupne": long_2.split("°")[0], "zena_narozeni_delka_minuty": long_2.split("°")[1].replace("'", ""), "zena_narozeni_delka_smer": "1", # 1 = West "zena_narozeni_timezone_form": "auto", "zena_narozeni_timezone_dst_form": "auto", "house_system": house_system, "orb": orb, "hid_fortune": "1", "hid_fortune_check": "on", "hid_vertex": "1", "hid_vertex_check": "on", "hid_chiron": "1", "hid_chiron_check": "on", "hid_lilith": "1", "hid_lilith_check": "on", "hid_uzel": "1", "hid_uzel_check": "on", "hid_fortune_asp": "on", "hid_vertex_asp": "on", "hid_chiron_asp": "on", "hid_lilith_asp": "on", "hid_uzel_asp": "on", "hid_asc_asp": "on", "hide_aspects": "0", } # Add minor aspects for aspect in minor_aspects: params[f"minor_{aspect}"] = "on" query_string = urllib.parse.urlencode(params, safe='+') full_url = f"{base_url}?{query_string}" return full_url
Summary:
Please note that all contributions to FusionGirl Wiki are considered to be released under the Creative Commons Attribution (see
FusionGirl Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information