/pypi

Python module packaging template, with an example Pypi server.

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Pypi

Python module packaging template, with an example Pypi server.

Each moudle are separated into folders (Ex: db_model/) for isolation.

Integration

Development

Prerequisitive

Name Version
Python 3.8
pipenv(Python module) 2018.11.26 or up

Environment setup

  1. Initialize Python environment
make init
  1. Enter the environment and start developing
pipenv shell
  1. Start related components
make service_up
  1. Create python package
make package
  1. Publish to example Pypi server
make upload
  1. (Optional)Stop related components
make service_down

Linting

This project uses pylint and flake8 for linting

make lint

Contribution