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.1 (2019-05-15)

  • Removed click from dependencies.

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.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

import_class-0.1.1-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.1.tar.gz.

File metadata

  • Download URL: import_class-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 68c4152a540582926a0b5e0686c337a6d2785f2b54486f05b55f67fe142fa029
MD5 4781fbe5b6408fcbf942a871b2905cda
BLAKE2b-256 9a3cc3d3039ac8d02a3768dd2699d7db348254823c38ff2e4458510d6214c825

See more details on using hashes here.

File details

Details for the file import_class-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: import_class-0.1.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5a6d39dc584f21d2cb5dfe369bfe712d01893ad536ab22bdde89a218c14f9371
MD5 b7b4c0c7051eed129d09a86a202f6c38
BLAKE2b-256 14b0715a9ddb10f9da12abeebef28a3276ea29724e56ad8245e720ad99dca6d1

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