Skip to main content

Recursive importer for Python submodules

Project description

Recursive importer for Python submodules

Usage

First, install it early during program’s initialization, such as the top of __init__.py in its main package:

import recursely
recursely.install()

Then you can add:

__recursive__ = True

anywhere in the __.init__.py file of a package that you want to import recurs(iv)ely.

That’s all to it, really.

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

recursely-0.1.tar.gz (9.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page