ns

Simply declaring namespaces
Download

ns Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Publisher Name:
  • Travis Swicegood
  • Publisher web site:
  • http://domain51.com

ns Tags


ns Description

Simply declaring namespaces ns is a Python module for declaring namespaces in one Python file.Ever feel that having a requirement on pkg_resources just so you can do sane namespaces in Python is a little much? If so, this package is for you. It aims to be a simple, one-file replacement for that single function and all of the craziness it adds.WarningThis isn't production ready yet. It's got tests, and those tests have been run on exactly two platforms. Not what you'd call battle-tested. But if you're interested in making a viable alternative to pkg_resources for Python, please fork this project and help.Usage:It's simple. You import declare, and call it.from ns import declaredeclare(__name__) Requirements: · Python


ns Related Software