If you might want to rise up an online server together with the database, and possibly a couple of different parts, too, look to the XAMPP stack. This all-in-one answer accommodates MariaDB plus the Apache internet server, the PHP runtime, the Mercury SMTP mail server, web-based controls for all of the parts, and a service supervisor for the desktop. It even consists of OpenSSL for correct https help.
PostgreSQL
Varied repackagings of PostgreSQL as a standalone utility have come and gone through the years (see this mission, for example), but it surely takes comparatively little work to arrange your individual standalone PostgreSQL utility. Get hold of the binaries minus the setup instruments, unpack them right into a listing, and run initdb to configure the fundamental setup. You possibly can then use pg_ctl to begin and cease the database as wanted.
Python builders have a really slick possibility for including a self-contained PostgreSQL occasion to an utility: pgserver, a pip set up-able library that accommodates a totally standalone occasion of PostgreSQL. Your entire app, binaries and all, lives in your Python program’s digital surroundings. It does add about 30MB to the bottom footprint of the venv, however the ensuing comfort is tough to match.
