Shape CMS
Shape CMS is a composable content management system that plugs into your Python project giving you full freedom in building sites. It comes with an admin panel that builds itself based on the data models you create while leaving everything else up to you.
Shape CMS leverages the Flask framework under-the-hood, so you also get the full power of Flask when building apps with Shape CMS.
Note: There's no stable release yet, so documentation is subject to change, and I would not recommend running it in production.
Installation
pip install shapecms
Example app
A minimal example looks like this:
from shapecms import ShapeCMS
from shapecms import PageView
class HomeView(PageView):
def get(self):
return "Hello, world."
shape = ShapeCMS(__name__, "sqlite:///demo.db")
shape.add_url("/", HomeView, "home")
def create_app():
instance = shape.start()
instance.secret_key = "super-secret-key"
return instance
The admin panel is automatically available at the /admin path. If it's your first time going to the admin panel, it will guide you through a set-up process.
Note however that until you add any Content Shapes the admin panel will be empty as it will have no info on how to construct itself.
Adding Content Shapes
To be written.
Metadata
Release files for shapecms 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shapecms-0.0.11.tar.gz | 22.7 kB | Without provenance | Details for shapecms-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shapecms-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for shapecms-0.0.11-py3-none-any.whl |
Total release size: 53.1 kB
Release files / shapecms-0.0.11.tar.gz
| Download URL | shapecms-0.0.11.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba1724a910f777110a882266fcb9691ac98d93a38c72321f7531a42974ed7fa9
|
|
BLAKE2b-256 checksum How to use checksums |
1a1ce5b8be7519b1b4d569247c2109e1571b615045197459ec50db2a1d65dfee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / shapecms-0.0.11-py3-none-any.whl
| Download URL | shapecms-0.0.11-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3448b45149a5aadfaaa85ab0df9e97a26c228689fe1464ea9fc30a393b498a27
|
|
BLAKE2b-256 checksum How to use checksums |
6e22f33c27c1810d3001b20ca790f088428fa9673dc62293115bef66efabebbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for shapecms 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.