Skip to main content

An overkill blog previews generator

Project description

Graff

An Minimal Overkill HTML only blog posts previews generator.

Setup

look at settings.toml for example config

Set the GRAFF_CONF environment to the location of graff config.

Usage

graff -n <Page name> to create new blog page in posts_dir.

graff -g to generate previews.

What needs to be done

  • Add <a> tag to the title of the previews that links to the article
  • groff.py: file where it calls the functions from settings.py and generator.py
  • Error handling : missing or wrong values from the settings.toml file should return an error message warranting the user and not starting generation so we need a checker in settings.py and also in generator.py in case the class of the blog previews doesn't exist or the file isn't even html.
  • add creating new blog posts with command new and with chosen template

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygraff-1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygraff-1.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pygraff-1.0.tar.gz.

File metadata

  • Download URL: pygraff-1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pygraff-1.0.tar.gz
Algorithm Hash digest
SHA256 d3298553aac5e4f154c4a3108187a1cfdab4602425a94022ef9dc726b4bead5c
MD5 b8accf6ac8a221f64d539728514765f7
BLAKE2b-256 68e3c0f3976cd4751a892f4d98dad23b53f2e79175bf4986f48260e8fe6fb0d1

See more details on using hashes here.

File details

Details for the file pygraff-1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pygraff-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pygraff-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9542af5072858233bfef731be42ab2e30510d982fce24449d61c4cc89b3bfea0
MD5 72ef81cb195f793238eb350e9502a6e8
BLAKE2b-256 fc5cc466f61b7d3d60e56cf282fecdb24e80cd31ee54d8617a4c05135722380d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page