A small wrapper to automaticly import a class using importlib
Project description
import_class
A small wrapper to automaticly import a class using importlib
Free software: MIT license
Documentation: https://import-class.readthedocs.io.
Features
import_class - This will return the class by string.
import_instance - This will return an instance by string. (only works without arguments)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-05-15)
First release on PyPI.
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
import_class-0.1.0.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file import_class-0.1.0.tar.gz
.
File metadata
- Download URL: import_class-0.1.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f8357d18902f34279671235d2897a58c17c0f95b14ffe93bdc37917d114ef2a |
|
MD5 | f64add79479965f728555256958613e1 |
|
BLAKE2b-256 | 199d31c83fca3e3dc2913159affda731ae76e3c2b9ea47313422671978442666 |
File details
Details for the file import_class-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: import_class-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc3c929c88632426b1ec347db3666be922795496f44ebceed29762f1e40e8bb0 |
|
MD5 | 6b3c44d541aa07946bbf8d16c13ad7cd |
|
BLAKE2b-256 | 12d90d21087fee6f357b19d7aa25c12aa7901ab6fa230b22230db7d472f341ff |