Skip to main content

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. It is very useful when working with notebooks while all the clutter gets nicely organized in python modules via pycharm.

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
import_source_folders("..")

import fancy_module 

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for include-pycharm-modules, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size include_pycharm_modules-0.0.1-py3-none-any.whl (2.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size include-pycharm-modules-0.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page