Metadata-Version: 2.1
Name: fsimport
Version: 0.0.3
Summary: Import source file from the file system for Python
Home-page: https://github.com/pavelkukov/fsimport
Author: Pavel Kukov
Author-email: pavelkukov@gmail.com
License: UNKNOWN
Description: # fsimport
        Import source file from the file system for Python
        
        This library is a very simple wrapper around
        
        ```python
        spec = importlib.util.spec_from_file_location('module', str('/full/path/to/module'))
        module_inst = importlib.util.module_from_spec(spec)
        spec.loader.exec_module(module_inst)
        ```
        
        It allows for a convenient way to import files based on the file system path. The path is relative to the caller script.
        
        ## Usage:
        
        ```python
        import fsimport
        
        include_two_levels_up = fsimport('../../include')
        include_level_up = fsimport('../include')
        include_same_level = fsimport('./include')
        include_level_down = fsimport('./lv3/include')
        ```
        
        ## Install
        
        `pip install fsimport`
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
