automodinit + X
Project description
This package extends the the py-package ‘automodinit’ with the option also to import classes and functions inside a module.
If classes/functions have the same name as modules they will override them. This is useful if the ‘one class/function per file’ principle is used
autoXInit is listed in the Python Package Index. You can install it typing ‘pip install autoxinit’.
Fork the code on github
Find the original http://pypi.python.org/pypi/automodinit
To init your package with AutoXinit daa the following to your __init__.py:
__all__ = [] # Don't modify the line above, or this line! from autoxinit import autoxinit autoxinit(__name__, __file__, globals()) del autoxinit
AutoXinit also provides a test package. Importing this moule…
Execute the test environment
Imports all modules AND all included (dummy) functions/classes. If a function/class share the same same with its parent module calling the modules name leeds to the function/class.
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
Built Distribution
Hashes for autoxinit-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e774dd5e97ed3d577fd2aed311e37fe5f83726c52dff289016ce7afccd2675a0 |
|
MD5 | d85baf532cfb1c6e7f1c9213506ec758 |
|
BLAKE2b-256 | 882b924f007b0b342beddc3b746d7b5fee2069c2a863da8a486cc3434152b041 |