Skip to main content



First Timers Only

🇲🇺

Welcome to pythoncms

Try

In virtual env

pip install pythoncms
pythoncms start mysite
cd mysite
shopyo initialise
flask shopyo-seed
flask --debug run

If .env file not created, create .env file with content

ACTIVE_FRONT_THEME = 'editorial'
ACTIVE_BACK_THEME = 'sneat'
APP_NAME = 'Demo'
ACTIVE_ICONSET = 'boxicons'
SITE_TITLE = 'Site title'
SITE_DESCRIPTION = 'Site title'

Local dev

Install package

! Important: Please create and activate a virtual environment.

python -m pip install -e .

Then initialise

cd pythoncms
shopyo initialise
flask --debug run

for migrating

flask db migrate
flask db upgrade

run

flask --debug run

dashboard

login with admin@domain.com | pass

http://127.0.0.1:5000/dashboard/

Theme

Themes are located at '/static/themes/'

Each front theme must have

index.html
contact.html
page.html

Each back theme must have

base.html
login.html
register.html
unconfirmed.html
  • info.json
{
	"author": "ARJ",
	"version": "1.0.20000000000003"
}

Info json

{
	"display_string": "Admin",
	"type": "show", // hidden if hide
	"icons":{
		"fa": "fas fa-user-lock", // set according to ACTIVE_ICONSET
		"boxicons": "",           // set according to ACTIVE_ICONSET
		"file": "icon.svg" // if present, will be used and searched for
						   // in module/static. Make sure to shopyo collecstatic in production
	},
	"url_prefix": "/appadmin",
	"menu": {
		"list users":"/", // url-prefix will be concatenated with it for sub menus.
		"add user": "/add",
		"roles":"/roles"
	},
	"menu-type": "show-menu", // or no-menu. Expects menu key if show-menu.
	"module_name": "appadmin",
	"author": {
		"name":"Abdur-Rahmaan Janhangeer",
		"website":"https://www.pythonkitchen.com/about-me/",
		"mail":"arj.python@gmail.com"
		}
}

Changelog

1.2.0

  • Tiny MCE configured
  • start command

Metadata

Release files for pythoncms 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pythoncms 1.4.0
File Size Uploaded
pythoncms-1.4.0.tar.gz 10.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pythoncms 1.4.0
File Interpreter ABI Platform
pythoncms-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 MB

Release files / pythoncms-1.4.0.tar.gz

Download URL pythoncms-1.4.0.tar.gz
Size 10.0 MB
Tags Source
SHA-256 checksum
How to use checksums
97ebab3479b5af0ca645349806a6c6d52a40e86e54c4f47d4afae8a4fdd929da
BLAKE2b-256 checksum
How to use checksums
5bfb987f3401c011b6a8c41d9c394ff96268e41585feb684cb9bc5f99d583276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / pythoncms-1.4.0-py3-none-any.whl

Download URL pythoncms-1.4.0-py3-none-any.whl
Size 10.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8f8edf65fbc72319fb262363e2c1203f53d471bc5bfb624f2db05e08a1d6b617
BLAKE2b-256 checksum
How to use checksums
bc7983d444ea0d6896f2f203c8fb552ff15f0d7c10eb958c8c4826bfe037ae3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

2.0.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

This release

1.4.0 This release

2 release files

1.3.3

2 release files

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page