duckdown
Duckdown is a tornado application. It uses python-markdown to convert pages to html dynamically and then presents those pages though tornado templates. This provides an easy syntax for users to edit their content and developers the ability to style the presentation.
The templates, static files and pages can be hosted on Amazon S3. The published site is static and can make use of CDN resources. The cost of hosting a site in this way would ¢ ranther than $ per month.
In order to make the site secure you would still need to host the site in Route53 and provide Amazon hosted certificate and we're writing a tool to automate that. The editing service can be provided by heroku on a hobby server - the one I'm looking at now uses 38mb of the memory and idles at 0 load!
Tools:
Duckdown installed is an invoke tool that you call from the command line.
% duckdown -l
Subcommands:
create create a duckdown app at path
publish generate public site
run run app
create
% duckdown create site
This will create a folder in the current directory called site which contains three folders: templates, static, pages.
- tempates: contains the site_tmpl.html used to render markdown pages
- static: contains resouces used by templates
- pages: contains markdown pages stating with index.md
To use
python3 -m venv venv
source venv/bin/activate
pip install duckdown
duckdown create site
duckdown run site
You view the site on: http://localhost:8080
You can edit the site at http://localhost:8080/edit
the defaut username/password:
username: admin
password: admin
Dev
python3 -m venv venv
source venv/bin/activate
pip install -r dev-requirements.txt
inv server
Now using: https://prismjs.com
Metadata
Release files for duckdown 0.0.49
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 |
|---|---|---|---|---|
| duckdown-0.0.49.tar.gz | 84.5 kB | Without provenance | Details for duckdown-0.0.49.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| duckdown-0.0.49-py3-none-any.whl | Python 3 | none | any | Details for duckdown-0.0.49-py3-none-any.whl |
Total release size: 201.7 kB
Release files / duckdown-0.0.49.tar.gz
| Download URL | duckdown-0.0.49.tar.gz |
|---|---|
| Size | 84.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
548737300b06158ca51613bf59609a09585a69b7ebb6c1828a166e54244fe187
|
|
BLAKE2b-256 checksum How to use checksums |
0bf306ee4af3956f0256982d5c4f296ba30890c6b1546fba5d027beeb77a50bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Release files / duckdown-0.0.49-py3-none-any.whl
| Download URL | duckdown-0.0.49-py3-none-any.whl |
|---|---|
| Size | 117.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4030cd820bf7fd3d594f467bcdff4d308ac5c40520cec0bc6aebcec425ed27bf
|
|
BLAKE2b-256 checksum How to use checksums |
d3a4c879cd1d1c488a13480e9e39535f08b0bb8ec0fc98fece67f001b566e5fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Security for duckdown 0.0.49
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.