Metadata-Version: 2.4
Name: magic-import
Version: 0.2.3
Summary: Import python object from string and return the reference of the object. The object can be a class, instance, variable and anything else, and can be from class, instance, module, global/local environment.
Author: rRR0VrFP
Maintainer: rRR0VrFP
License: MIT
Keywords: magic-import
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires: dictop
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dictop
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: requires
Dynamic: requires-dist
Dynamic: summary

# magic-import

Import python object from string and return the reference of the object. The object can be a class, instance, variable and anything else, and can be from class, instance, module, global/local environment.

## Install

```
pip install magic-import
```

## Test Passed On Python Versions

- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11

## Usage

```
from magic_import import import_from_string

listdir = import_from_string("os.listdir")
files = listdir(".")
```


## Release

### 0.1.0

- First release

### 0.1.1
### 0.1.2
### 0.1.3
### 0.2.0

- Some updates.

### 0.2.2

- Test passed on all python versions.

### 0.2.3

- Doc update.
