Skip to main content

mysgen

test coverage lint type

Python 3.8 - 3.11 Testing framework: pytest Linter and formatter: ruff Type checker: mypy

A very simple static site generator used for mladen.gibanica.net built using Python and Jinja2.

The configuration file config.json should contain the following

{
    "author": "Name",
    "sitename": "Site name",
    "siteurl": "https://address.com",
    "timezone": "Europe/Stockholm",
    "default_lang": "en-gb",
    "theme_path": "path_to_theme",
    "src_path": "path_to_content",
    "build_path": "path_to_build",
    "home": "home",
    "menuitems": {
        "home": "",
        "archive": "archive"
    },
    "post_url": "{{post_url}}",
    "build_date_template": "{{update_date}}",
    "thumbnail_size": [300, 300],
    "markdown_extensions": [
        "meta",
        "fenced_code",
        "mdx_math"
    ],
    "s3-bucket": "bucket",
    "mangle_image_name": true
}

Such a configuration assumes the following folder structure

root/
├─ config.json
├─ path_to_content/
│  ├─ data/
│  ├─ images/
│  ├─ pages/
│  │  ├─ home.md
│  │  ├─ archive.md
│  ├─ posts/
├─ path_to_theme/
│  ├─ css/
│  ├─ js/
│  ├─ templates/
├─ path_to_build/

Metadata

Release files for mysgen 0.4.4

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

Source distribution (sdist)

Source distribution for mysgen 0.4.4
File Size Uploaded Provenance Actions
mysgen-0.4.4.tar.gz 20.1 kB Without provenance Details for mysgen-0.4.4.tar.gz

Built distribution (wheel)

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

Total release size: 27.1 kB

Release files / mysgen-0.4.4.tar.gz

Download URL mysgen-0.4.4.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a171f42e8419259f857317c89532bc904b299f0458c5756c72807d9b07e42e6e
BLAKE2b-256 checksum
How to use checksums
ca0dce3eb2c023114a72d643b6b1117ed72794800d1459cc35852c60fe16e9f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / mysgen-0.4.4-py3-none-any.whl

Download URL mysgen-0.4.4-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
119a381900f87ca7b1b69bee968d76c82fdca3532276db278d61363f541f9238
BLAKE2b-256 checksum
How to use checksums
c386580da0389aa0db2a9ffd299457d7d968195d01e12db0d8aff25735306467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for mysgen 0.4.4

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.

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