Skip to content

better-py/py-pkg

Repository files navigation

PKG:

  • ✅ python packages.

Packages:

modules desc rank
bpstd common libs ⭐⭐
xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxx xxxxxxxxxx

Usage:

  • poetry + git:
# add bpstd:
poetry add git+https://github.com/better-py/pkg.git@main#packages/bpstd=subdir

Intro:

  • ✅ 开箱即用的 django 开发工具包
  • ✅ 已集成大量 django 开发常用的工具库

Requirements:

common libs for django development.

  • ✅ python 3.9+
  • ✅ django
  • ✅ django-rest-framework
  • ✅ redis
  • ✅ mysql
  • ✅ rabbitmq
  • ✅ celery

Development:

install:

  • go-task: 命令行脚本工具
    • Taskfile: 配置脚本, 替代 Makefile
  • ✅ python 3.9+
  • poetry: python 包管理工具
  • ✅ pytest
# install go-task:
brew install go-task

# install python dev tools:
task install:tools

# install python requirements:
task install:dev

References: