Skip to main content

JulianPy

JulianPy is a rich, diverse, and easy to use python tool for Julian Dates. It offers datetime to Julian Dates, Julian Dates to datetime, and much more!

Provided Tools:

  • CJDN(date=datetime.datetime.now()) Returns the CJDN of date
  • current_julian_date() Returns the current julian date
  • tomorrow_julian_date() Returns the julian date tomorrow
  • future_julian_date(hoursadd = 0, minutesadd = 0, secondsadd =0) Returns the julian date of a time given hours, minutes, and seconds to add to the current time.
  • julian_date(date = datetime.datetime.now()) Returns the julian date of a specified date. Defaults to today's julian date
  • epoch_days(date=datetime.datetime.now()) Returns the amount of days since the J2000 epoch.
  • day_percent(date=datetime.datetime.now()) Returns the decimal part of the Julian date of the time specified. Defaults to today.
  • islamic_date(CJDNtime=None, date=datetime.datetime.now()) Returns the islamic year, month, and day as a tuple given a specified date or a CJDN
  • babylonian_date(CJDNtime = None,date=datetime.datetime.now()) Returns the babylonian year, month, and day as a tuple given a specified date or a CJDN
  • from_julian(j) Returns a datetime.datetime object from a julian date j specified.

Help

Feel free to use the python help() method on any of the above functions to get a short simple instruction message on how to use it and what it will return.

Sources

To create this library, I have collected and used information detailed in the wondrous Astronomy Answers articles. Any questions can be directed to the author's page in the website.

Changelog

  • Tuesday, June 20, 2023: Initial Commit

Release files for JulianPy 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JulianPy 1.0.1
File Size Uploaded
JulianPy-1.0.1.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for JulianPy 1.0.1
File Interpreter ABI Platform
JulianPy-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / JulianPy-1.0.1.tar.gz

Download URL JulianPy-1.0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
56235d784f9aac383150ca7903bb995794d18daea5203fad751794219cf43315
BLAKE2b-256 checksum
How to use checksums
b0a6aab7f48ab334728d3f9d475d926f3280bf357c19c8e67c71986c0d0b0ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / JulianPy-1.0.1-py3-none-any.whl

Download URL JulianPy-1.0.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45c5a7e98b30d4e14722f75915c29399a6e7c55d8ad921e6e8754ccf8874ac0e
BLAKE2b-256 checksum
How to use checksums
2a94504ade78134c06d9ec064db275c56a8e43c205c3ed4a9c9d497e9d8fbfaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page