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
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
File details
Details for the file include-pycharm-modules-0.0.3.tar.gz
.
File metadata
- Download URL: include-pycharm-modules-0.0.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f049f9b5c5bd741f078cf3f1c6b490bbba2a8dc998e716cc698e8ed8174f49 |
|
MD5 | dec7c6fa78253cffdba245a4b8bd48f7 |
|
BLAKE2b-256 | 270814cde5f2a25b6fa38a731e0f7f45cd85d07fdab38b08e800b19bb21f6095 |
File details
Details for the file include_pycharm_modules-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: include_pycharm_modules-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54b3a9fc52395b72dd897c46083e1b36d256f0e55d6e83a090542bb3ccdb5bd |
|
MD5 | 7f94f3768c8902fae107928fb3aabbed |
|
BLAKE2b-256 | b7c8d94b566546fa31d49e4ad282ec58297d5672b3a5df4a12d11e4c086d8db7 |