Skip to main content

P-DR0ZD-SSG

Project description

pdrozd-ssg

pdrozd-ssg is a static site generator created in python

Features

  • Creates an index based on your html files created
  • Added JSON config file support
  • Complete Markdown Support with the Help of Python-Markdown/markdown

Requirements

Python 3

How to Install

go to https://pypi.org/project/pdrozd-ssg/ or simply run the command pip install pdrozd-ssg to run use the command?

Commands

The commands of pdrozd-ssg are

  • -h or --help this will display to the user the options they have

  • -c or --config this will specify a config file which contains arguments for SSG to read.

  • -v or --version this will display to the user the current verison of pdrozd-ssg

  • -i or --input this with a combanation of .txt or .md file or directory will output your files as a Static Site to use put in the format. e.g.
    py ssg.py -i or --input [file.txt\text.ms] or [directory\]

  • -l or --lang this at the end of the input command will allow the default language of the HTML files to change. e.g.
    py ssg.py -i or --input [file.txt\text.md] or [directory\] -l or --lang [language]

Config File

Config files should be in legal JSON format with a similar format like

{
    "input":"./Sherlock-Holmes-Selected-Stories",
    "lang":"fr"
} 

New features

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

pdrozd_ssg-1.0.4.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

pdrozd_ssg-1.0.4-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file pdrozd_ssg-1.0.4.tar.gz.

File metadata

  • Download URL: pdrozd_ssg-1.0.4.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pdrozd_ssg-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c7dcc56f6e3156d23b02de1fc3689f51204c3dbb8a5c4068bdd146d2075a8caa
MD5 137e5d1312f876392e43af65d8b9596e
BLAKE2b-256 c172370b03830d8adf39aae3b72bd5018148bcbdfccbfa188c4f00c4259c5044

See more details on using hashes here.

File details

Details for the file pdrozd_ssg-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pdrozd_ssg-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pdrozd_ssg-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c72e6dce441c35a1128ba748d40359b39588cfa63ee276322bf3a24b7b8a060
MD5 aa265fc69ea0606cdf783ad10fcde6d0
BLAKE2b-256 7733eef7b09d713a8dac592b56488c34e4f0ef8a5d7f4e64c215d658bb48f9ec

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