Adds any pycharm source folder to the python module search path so you can import them as if they were installed
Project description
Include Pycharm Source Folders as Modules
This is a very simple tool which just adds all source folders from a pycharm project to the search path. This is very useful when working with jupyter notebooks an local modules.
If you have a pycharm project like
super-project
fancy_calculations
fancy_module
__init__.py
notebooks
a notebook.ipynb
A notebooks first cell may look like:
%matplotlib inline
%load_ext autoreload
%autoreload 2
from include_pycharm_modules import import_source_folders
# simply provde the root folder where your .idea folder is living
import_source_folders("..")
import fancy_module
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for include-pycharm-modules-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede78e3ca2e34e9fc13cfad9f9073db3b13fd16958b345c990b3c27c08d3e13a |
|
MD5 | 0928e6015c9f87492dabada39dc11fd4 |
|
BLAKE2b-256 | bbd5b1765952987a19493889691bd54445c05eb1763f929f6c6a1fc4be12257c |
Close
Hashes for include_pycharm_modules-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ebea5fe01bbc977427cee74b7aa02e061051f276739adcd0beac4027d301a8e |
|
MD5 | 6c21d1412438cd06a73a0219bf7f69b3 |
|
BLAKE2b-256 | a2d40d0a1d1a4ac9a8b9336588684affae2991a85dbe23b76a6e99d84b10a0ca |