Skip to content
README.md 975 B
Newer Older
Yuanle Song's avatar
Yuanle Song committed
# python

A Leiningen template for standard python project.

Features:

 * auto bootstrap virtualenv, only python is needed
 * auto generated setup.py file
 * integrated pylint, pycodestyle, pytest for testing
 * integrated [wells](https://pypi.org/project/wells/) utility lib.
   * support reading application configs from environment variable and config files
   * integrated logging configuration
 * auto create deb package for distribution
   * create offline wheelhouse for fast production release
 * ready to be deployed via docker and kubernetes
 * auto create git repo, with .gitignore file
 * allow you to install git hooks easily

Yuanle Song's avatar
Yuanle Song committed
## Usage

To create a new python project in a new dir `foo`, run
Yuanle Song's avatar
Yuanle Song committed

    lein new python foo
Yuanle Song's avatar
Yuanle Song committed

Dependencies for the generated python project:

    make - used as a build tool.
    fpm - used to create deb package.


Yuanle Song's avatar
Yuanle Song committed
## License

Copyright © 2014-2019 Yuanle Song <sylecn@gmail.com>
Yuanle Song's avatar
Yuanle Song committed

This project is licensed under the Apache License 2.0.