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


Download files

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

Source Distribution

include-pycharm-modules-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

include_pycharm_modules-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page