Skip to content

ramon93i7/module_exports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

module-exports

Single decorator that injects __name__ of object to export into __all__.

from module_exports import export_from_module

@export_from_module
def some_public_function():
  return 4

SOME_CONSTANT = 100500

export_from_module.by_name('SOME_CONSTANT')


#  __all__ == ['some_public_function', 'SOME_CONSTANT']

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages