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. This is very useful when working with jupyter notebooks and 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 provide the root folder where your .idea folder is living
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.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

include_pycharm_modules-0.0.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file include-pycharm-modules-0.0.3.tar.gz.

File metadata

File hashes

Hashes for include-pycharm-modules-0.0.3.tar.gz
Algorithm Hash digest
SHA256 04f049f9b5c5bd741f078cf3f1c6b490bbba2a8dc998e716cc698e8ed8174f49
MD5 dec7c6fa78253cffdba245a4b8bd48f7
BLAKE2b-256 270814cde5f2a25b6fa38a731e0f7f45cd85d07fdab38b08e800b19bb21f6095

See more details on using hashes here.

File details

Details for the file include_pycharm_modules-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for include_pycharm_modules-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d54b3a9fc52395b72dd897c46083e1b36d256f0e55d6e83a090542bb3ccdb5bd
MD5 7f94f3768c8902fae107928fb3aabbed
BLAKE2b-256 b7c8d94b566546fa31d49e4ad282ec58297d5672b3a5df4a12d11e4c086d8db7

See more details on using hashes here.

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