A drop-in replacement for Django’s runserver

About A drop in replacement for Django’s built-in runserver command. Features include: An extendable interface for handling things such as real-time logging. Integration with the werkzeug interactive debugger. Threaded (default) and multi-process development servers. Ability to specify a WSGI application as your target environment. Note django-devserver works on Django 1.3 and newer Installation To install the latest stable version: pip install git+git://github.com/dcramer/django-devserver#egg=django-devserver django-devserver has some optional dependancies, which we highly recommend installing. pip install sqlparse — pretty SQL formatting pip […]

Read more

Django backend of Helium’s planner application

Django backend of Helium’s planner application. Prerequisites Python (>= 3.6) Pip (>= 9.0) MySQL (>= 5.7) Redis (>= 3.2) Getting Started The Platform is developed using Python and Django. Project Setup To setup the Python/Django Platform build environment, execute: make install This project is configured to work with a Virtualenv which has now been setup in the .venv folder. If you’reunfamiliar with how this works, read up on Virtualenv here. The short versionis, virtualenv creates isolated environments for each project’s […]

Read more

A minimalistic manga reader for desktop built with React and Django

smanga A minimalistic manga reader/server for serving local manga images on desktop browser.Provides a two-page view layout just as reading a physical copy. Requirements Python(with pip) and Node.js(with npm) installations required. Directory structure & naming Following naming scheme is to be followed for all manga to be served: | |– series-name-in-dash-case/ |– chapters/ |– 0001/ |– 001.png |– 002.png … |– 0002/ … |– volumes/ |– 030/ |– 0120/ |– 001.png … … |– 031/ … |– another-series/ … Series […]

Read more

A Vietnamese personal card OCR website built with Django

Django VietCardOCR A Vietnamese personal card OCR website built with Django. Installation Creation of virtual environments is done by executing the command venv: python -m venv venv That will create a new folder env in your project directory. Next activate it with this command on mac/linux: source venv/bin/active Use the package manager pip to install requirements: pip install -r requirements.txt In the project folder, create media folder and its subfolders as structure below: ├───media │ └───images │ ├───driving-license │ ├───id-card […]

Read more

A Django app to receive, virus check and validate transfers of digital archival record

Aurora Aurora is a Django web application that can receive, virus check and validate transfers of digital archival records, and allows archivists to appraise and accession those records. The name of the application is a reference both to the natural light display often seen in the northern hemisphere – sometimes referred to as aurora borealis – as well as the Roman goddess of dawn. Aurora is part of Project Electron, an initiative to build sustainable, open and user-centered infrastructure for […]

Read more

Use heroicons in your Django and Jinja templates

heroicons Use heroicons in your Django and Jinja templates. Requirements Python 3.6 to 3.9 supported. Django 2.2 to 3.2 supported. Are your tests slow? Check out my book Speed Up Your Django Tests which covers loads of best practices so you can write faster, more accurate tests. Usage The heroicons package supports both Django templates and Jinja templates. Follow the appropriate guide below. Django templates Install with python -m pip install heroicons[django]. Add to your INSTALLED_APPS: INSTALLED_APPS = [ …, […]

Read more

Developer-friendly asynchrony for Django

Django Channels Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and other async support to your code, using familiar Django design patterns and a flexible underlying framework that lets you not only customize behaviours but also write support for your own protocols and needs. Documentation, installation and getting started instructions are at https://channels.readthedocs.io Channels is an official Django Project and as such has a deprecation policy. Details about what’s deprecated or pending deprecation for each release is in […]

Read more

Creating delicious APIs for Django apps since 2010

django-tastypie Creating delicious APIs for Django apps since 2010. Currently in beta but being used actively in production on several sites. Requirements Core Python 2.7+ or Python 3.4+ (Whatever is supported by your version of Django) Django 1.11, 2.2 (LTS releases) or Django 3.0 (latest release) dateutil (http://labix.org/python-dateutil) >= 2.1 Format Support Optional What’s It Look Like? A basic example looks like: # myapp/api.py # ============ from tastypie.resources import ModelResource from myapp.models import Entry class EntryResource(ModelResource): class Meta: queryset = […]

Read more

Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest Framework API

drf-yasg – Yet another Swagger generator Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest Framework API. Compatible with Django Rest Framework: 3.10, 3.11, 3.12 Django: 2.2, 3.0, 3.1 Python: 3.6, 3.7, 3.8, 3.9 Only the latest patch version of each major.minor series of Python, Django and Django REST Framework is supported. Only the latest version of drf-yasg is supported. Support of old versions is dropped immediately with the release of a new version. Please do not create issues before […]

Read more
1 6 7 8 9