Usage
some_module.py:
def some_func(arg='World'):
print('Hello {}'.format(arg))
some_else_module.py:
from includer import include
include('some_module.some_func', arg='ZZZ')
IncluderMixin
Mix include method for objects. Behavior like as Configurator.include. See tests for understood it.
This is very usefull for imperative application configuration.
Tests
$ pip install pytest
$ py.test tests -v
Metadata
Release files for includer 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| includer-1.0.2.tar.bz2 | 2.3 kB | Details |
Release files / includer-1.0.2.tar.bz2
| Download URL | includer-1.0.2.tar.bz2 |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffad2929dbad93e5d70359bd1d5fd310e341472a427564f788c8a82fc5006923
|
|
BLAKE2b-256 checksum How to use checksums |
4d3fee65f1f273d70dd06b1702da559732159993ead92ab9a2c79f2bd9452b5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |