Django Packages

linkaiyi
Follow
  1. Support quick model generation: https://github.com/jazzband/django-model-utils

  2. Support several useful mixins: https://github.com/brack3t/django-braces

  3. Support Markdown: https://github.com/trentm/python-markdown2

  4. Support full text search: https://github.com/django-haystack/django-haystack

    in case of middle, small project: Whoosh

    in case of big project: Elasticsearch

  5. Support better cache: redis: https://github.com/antirez/redis

    django-redis: https://github.com/niwinz/django-redis

  6. Support Login and 3rd party: https://github.com/pennersr/django-allauth

  7. Support multiple enviroment setting: https://github.com/joke2k/django-environ

  8. Support tags: https://github.com/alex/django-taggit

9: Support better css and js: https://github.com/django-compressor/django-compressor

  1. tweak the form without touching the python code much: https://github.com/jazzband/django-widget-tweaks

11.unicode slugs and unique slugs: https://github.com/un33k/django-uuslug

  1. mobile browser detection: mobilebrowserdetect

  2. Django Cachalot: https://django-cachalot.readthedocs.io/en/latest/quickstart.html

  3. More control, Django Cacheops

  4. working with panda: https://github.com/chrisdev/django-pandas
    Need to install numpy and pandas beforehand
    and with table application:
    bootstrap table:https://github.com/wenzhixin/bootstrap-table

———————For rest setup ————————

  1. Support webpack loader: https://github.com/owais/django-webpack-loader

  2. djangorestframework==3.9.0 # https://github.com/encode/django-rest-framework

  3. django-taggit-serializer==0.1.7 # https://github.com/glemmaPaul/django-taggit-serializer
  4. django-rest-auth==0.9.3 # https://github.com/Tivix/django-rest-auth

———————For not rest setup ————————

  1. Support better forms: https://github.com/django-crispy-forms/django-crispy-forms

———————For up/down likes ————————

  1. Support hitcount: https://github.com/thornomad/django-hitcount

———————-Table Javascript packages ————————
TooTable: responsive table to display details:
http://fooplugins.github.io/FooTable/index.html

Display sparkline in tables
https://github.com/gwatts/jquery.sparkline/

Widely used bootstrap table
https://examples.bootstrap-table.com/

——- Working with Excel —————————
fastest excel writer: https://github.com/kz26/PyExcelerate

TEST_NAME NUM_ROWS NUM_COLS TIME_IN_SECONDS
pyexcelerate value fastest 1000 100 0.47
pyexcelerate value faster 1000 100 0.51
pyexcelerate value fast 1000 100 1.53
xlsxwriter value 1000 100 0.84
openpyxl 1000 100 2.74
pyexcelerate style cheating 1000 100 1.23
pyexcelerate style fastest 1000 100 2.40
pyexcelerate style faster 1000 100 2.75
pyexcelerate style fast 1000 100 6.15
xlsxwriter style cheating 1000 100 1.21
xlsxwriter style 1000 100 4.85
openpyxl 1000 100 6.32

——- support server settings (python) ——-

  1. Timezone management pytz # https://github.com/stub42/pytz
    2.awesome-slugify # https://github.com/dimka665/awesome-slugify
    3.Pillow # https://github.com/python-pillow/Pillow
  2. Better password hashing: argon2-cffi==18.3.0 # https://github.com/hynek/argon2_cffi
  3. Better static file serving: whitenoise # https://github.com/evansd/whitenoise
  4. redis # https://github.com/antirez/redis
  5. celery # pyup: <4.0 # https://github.com/celery/celery
  6. markdown2

———-Development Debug settings ———————-

Werkzeug==0.14.1 # https://github.com/pallets/werkzeug
ipdb==0.11 # https://github.com/gotcha/ipdb
Sphinx==1.8.2 # https://github.com/sphinx-doc/sphinx
psycopg2-binary==2.7.6.1 # https://github.com/psycopg/psycopg2
isort==4.3.4

Testing

———————————————————————————————————————

pytest==4.0.0 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.2 # https://github.com/Frozenball/pytest-sugar

Code quality

———————————————————————————————————————

flake8==3.6.0 # https://github.com/PyCQA/flake8
coverage==4.5.2 # https://github.com/nedbat/coveragepy

Django

———————————————————————————————————————

factory-boy==2.11.1 # https://github.com/FactoryBoy/factory_boy
django-test-plus==1.1.1 # https://github.com/revsys/django-test-plus

django-debug-toolbar==1.10.1 # https://github.com/jazzband/django-debug-toolbar
django-extensions==2.1.3 # https://github.com/django-extensions/django-extensions
django-coverage-plugin==1.6.0 # https://github.com/nedbat/django_coverage_plugin
pytest-django==3.4.4 # https://github.com/pytest-dev/pytest-django
django-cors-headers==2.4.0

——————————-Production settings———————————————

gevent==1.3.7
uswgi # https://github.com/unbit/uwsgi
boto3==1.6.11 # pyup: update minor # https://github.com/boto/boto3 Django

———————————————————————————————————————

django-anymail==5.0 # https://github.com/anymail/django-anymail

——————————JQuery——————————————

JQuery Table of Content: https://github.com/jgallen23/toc/

Object has 0 attachments

Was this article helpful?

This article is viewed 12 times!

Recent Viewed Articles

0 Comments

Leave a Comment

Support