import a github into jupyter notebook directly?

15,124

You can clone the repository from your jupyter notebook using bash. Run in your cell:

%%bash
git clone https://github.com/voice32/stock_market_indicators

This will clone the stock_market_indicators repository to your directory.

You will now be able to access the functions in your indicators.py file. You can import it by running in jupyter:

%load stock_market_indicators/indicators.py
Share:
15,124
Ney J Torres
Author by

Ney J Torres

A Serial Entrepreneur with a dual Masters degree in Real Estate Development and Brokerage Management from Spain’s Polytechnic University and Ecuador’s San Francisco of Quito University, as well as undergraduate degrees in both Finance and Business Administration. Currently developing over 500 properties in Ecuador. http://www.huffingtonpost.com/richard-lorenzen/evolving-as-an-entreprene_b_6092644.html

Updated on June 26, 2022

Comments