Skip to main content

An overkill blog previews generator

Project description

Graff

An Minimal Overkill HTML only blog posts previews generator.

Setup

pip install pygraff to install

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.1.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.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pygraff-1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 40b621112db87414ce2706b8e0eaf49458af8245c6f352c5306f12dcaa901738
MD5 b086cad6a950f12f80d31f2bba98380d
BLAKE2b-256 225b4627e1ffe06bd6522e82f97ac12e90927799afe9877c3f41da3c70c7de28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygraff-1.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c6c4400ce23f6dfd96ad0d98b22b1a7e8318e54eb047bb1fa8bfe3afdeec7734
MD5 61315b47597591e80803b152c03095d4
BLAKE2b-256 77d228de516d39620849876e915b32a7dede1dc109c84103340eef725e4d6e12

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