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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pygraff-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9edbb0f19b5a7de5ac9aa724d933f9c68761c4d81f43f37b29ad7f6f2cca7a29
MD5 2ea8a8c3fc71b3449247dfa01f09d82c
BLAKE2b-256 db3f75e79bd48c39bd41a3fc2277955ad94f2b652ed5b2309e3cb5bfa33c3339

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygraff-1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 af58d7872222d03850e1f1bde1cf93afba728c85c5fa79198f94e8074580111f
MD5 989f48c21afc5d0fd3378f69c7acc8f6
BLAKE2b-256 89ee2fba2d8b6a273a394c6677d6572a464f57904a830ab54310e44677528027

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