An overkill blog previews generator
Project description
Graff
An
MinimalOverkill 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 articlegroff.py: file where it calls the functions fromsettings.pyandgenerator.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 inthe file isn't even html.settings.pyand also ingenerator.pyin case the class of the blog previews doesn't exist or add creating new blog posts with commandnewand 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygraff-1.2.1.tar.gz.
File metadata
- Download URL: pygraff-1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eab7e224df95ef6b416187bd23b4116b46f2d6c893a97e5bca0951df189dc15
|
|
| MD5 |
5e6b101ee956c526d0b429810dcb8850
|
|
| BLAKE2b-256 |
68982ee1a5f7247d7faba8df103e95f71e4562ed3816d36e48579afda11b11c9
|
File details
Details for the file pygraff-1.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: pygraff-1.2.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feafd299de42e126a4262026e8ffbff34af7279ee84bdd2190a1e8fd0a3ba966
|
|
| MD5 |
4eac6394e0997d99d6534fa3916b4734
|
|
| BLAKE2b-256 |
a6f91610127ca50e2c7d381b9f32d58e07243148f4248c6d9be6392c6aff0983
|