Package: python-packager
Python PackagerA command-line tool to create Python Packages.It’s intended as a quick way to create new Python packages. It is not a maintenance tool.Usage:$ pip install python-packager
$ pypackager create <mypackage> [options]This will create a package in your current directory, complete withsetup.py,AUTHORSandLICENSEfiles.License files are generated bylice.OptionsAll options can be specified on the command-line. Templates can override this settings by including a file called.package.cfgand users can override everything by creating a config file at~/.pypackager/pypackager.cfg.Storing optionsTo store your options (so you don’t have to type them every time) you can write them into a file called~/.pypackager/pypackager.cfg:[author]
name = John Smith
email = john.smith@example.com

[license]
type = bsd3
organization = John Smith

[scripts]
prerender = ~/.pypackager/my_prerender_script.sh
postrender = ~/.pypackager/my_postrender_script.shCreating new packages from a templateTo create a new package:$ pypackager create <mypackage> [options]Options forcreate--author(alias of--author-name)--author-nameRequired. The author’s full name--author-emailRequired. The author’s email.--forceDeletes and recreate the package dir if it’s already existing.--license(alias of--license-type)--license-typeRequired. The license to include in the code. Seelicefor a list of the available licenses.--license-organizationRequired. The organization licensing the code. Most of the time this will be the same as--author-name--templateOptional. The template to use. Can be a directory on the filesystem, a URL pointing to a zip or tarball archive, or the name of an installed template. By default is uses thepython-packagetemplate shipped with Python Packager.The rendering context will contain every setting specified, plus apackage_namevariable containing the package name.Any directory called{{package_name}}will be renamed to the package’s name.--template-syntaxOptional. The language used to render the templates. Options currently available arepystacheandjinja2. Defaults topystache--script(alias of--script-prerender)--script-prerenderOptional. If enabled, the specified script will be called before files are rendered from the skeleton. A typical example is a script creating a virtualenv.--script-postrenderOptional. If enabled, the specified script will be called after files are rendered from the skeleton. A typical example is a script initializing a new VCS repository.Managing templatesYou can list, search and download templates from a ‘template channel’.The following commands are available:$ pypackager list
$ pypackager search <text>
$ pypackager add <package_name> [<url>]
$ pypackager installed
$ pypackager remove <package_name>CommandslistLists all templates available on the index.searchLists available templates on the index whose name contains the specified text.addDownloads the specified template to your~/.pypackager/directory.If a URL is specified, downloads the template from there instead of using the index.installedLists templates that have already been downloaded.removeDeletes the specified template from your~/.pypackager/directory.Options--indexOptional. Specifies an alternative index to use.StatusThis software should be considered Alpha.LicenseThis project is released under the MIT License.