Skip to content
GParksPublic

About

My 1st Binder

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Starting

— is seldom the hard part. 2/21/2026

This repository contains a small script, get_julian.py, which fetches UTC time from the world‑time‑api3 service on RapidAPI and prints the corresponding Julian Date.

I've put this on MyBinder.org: Launch link

Configuration

An API key is required by RapidAPI. Place your key in settings.ini next to the script::

API_KEY = your_rapidapi_key_here

The script will read this file at runtime; if the key is missing or the file cannot be found, it exits with an error.

See Zero to Binder

Starting

— is seldom the hard part. 2/21/2026

This repository contains a small script, get_julian.py, which fetches UTC time from the world‑time‑api3 service on RapidAPI and prints the corresponding Julian Date.

Configuration

An API key is required by RapidAPI. Place your key in settings.ini next to the script::

API_KEY = your_rapidapi_key_here

The script will read this file at runtime; if the key is missing or the file cannot be found, it exits with an error.

See Zero to Binder

“ What's past …  ”

Having gotten this far, I'm "moving on"...

Activating profile: /srv/conda/etc/profile.d/conda.sh

jovyan@jupyter-gparks-binder1-jv0d8hk1:~$ python3 get_julian.py

ERROR: Error loading API key: API_KEY not found in config file
ERROR: Error fetching UTC time: local variable 'api_key' referenced before assignment

jovyan@jupyter-gparks-binder1-jv0d8hk1:˜$ python3 get_julian.py --local

Datetime = 2026-04-20T23:08:52.093413+00:00
Julian Date = 2461151.464491822
jovyan@jupyter-gparks-binder1-jv0d8hk1:~$ 

Rel. v4.5.6

About

My 1st Binder

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages