Skip to main content

A small wrapper to automaticly import a class using importlib

Project description

import_class

https://img.shields.io/pypi/v/import_class.svg https://img.shields.io/travis/jostcrow/import_class.svg Documentation Status

A small wrapper to automaticly import a class using importlib

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


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)

Uploaded Source

Built Distribution

import_class-0.1.0-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2 Python 3

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

Hashes for import_class-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f8357d18902f34279671235d2897a58c17c0f95b14ffe93bdc37917d114ef2a
MD5 f64add79479965f728555256958613e1
BLAKE2b-256 199d31c83fca3e3dc2913159affda731ae76e3c2b9ea47313422671978442666

See more details on using hashes here.

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

Hashes for import_class-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc3c929c88632426b1ec347db3666be922795496f44ebceed29762f1e40e8bb0
MD5 6b3c44d541aa07946bbf8d16c13ad7cd
BLAKE2b-256 12d90d21087fee6f357b19d7aa25c12aa7901ab6fa230b22230db7d472f341ff

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