Skip to main content

'module-starter' for Python

Project description

MIT License python PyPI
‘module-starter’ for Python.

Requirements

  • python >= (2.6, 3.3)

Installation

$ pip install python-starter

Usage

$ python-starter --help
usage: python-starter [options] target

options:
  --author=author    author name (default: git user.name)
  --email=email      author email (default: git user.email)
  --license=license  license (default: MIT)
  --list             list available licenses
  --version          show program's version number and exit
  --help             show this message and exit

Example

$ git config --get user.name
foo
$ git config --get user.email
foo@bar.com
$ python-starter example

example/setup.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages

config = {
    'name': 'example',
    'author': 'foo',
    'author_email': 'foo@bar.com',
    'url': '',
    'description': '',
    'long_description': open('README.rst', 'r').read(),
    'license': 'MIT',
    'version': '0.0.1',
    'install_requires': [],
    'classifiers': [
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Development Status :: 1 - Planning",
    ],
    'packages': find_packages(),
}

if __name__ == '__main__':
    setup(**config)

example/LICENSE

MIT License

Copyright (c) 2017 foo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

example/README.rst

example
--------

example/.gitignore

__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
.python-version
.env
venv/
ENV/

License

Distributed under MIT License.

Author

Kojiro TANI (kojiro0531@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-starter-0.2.0.tar.gz (33.8 kB view details)

Uploaded Source

File details

Details for the file python-starter-0.2.0.tar.gz.

File metadata

File hashes

Hashes for python-starter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f9f42c11a83c15a406bd1c9a8bf1fcb7d8e684420a3a7aa821c90b02b0af93c6
MD5 86d0c5de432f066befe7d0b970d28fbc
BLAKE2b-256 12f6e57747435b36d889814e931c56249a318d268e359f1e64c45163cfbdfd77

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page