RomanStaticSG
Welcome to Romans Static Site Generator v.0.1
About RomanStaticSG
RomanStaticSG is made in python. It is a simple static site generator. It accepts an input file, or input folder. The current file types that are parsed are text and markdown. Markdown however currently only supports heading level 1 parsing. The program will then take the accepted files and create basic html webpages, as well as an index.html file. The script also allows you to input a custom output directory, so that the files could be saved in a custom location.
How to Use RomanStaticSG
Python 3.9+ Required
Method 1
RomanStaticSG is now released with v1.0.4. To install RomanStaticSG simply enter:
pip install staticsg-rrezinkin
To use the static site generator, import it as following:
from staticsg import romanssg
romanssg.main(sys.argv[1:])
A list of arguments can be found below.
Method 2
Fork and clone this repository. Then execute any of the following commands within the RomanStaticSG folder
python romanssg.py --help
If you run the input command and don't specify the output command, a local folder named "dist" will be created in the directory of the existing file.
!!NOTE!!
If you are executing the following commands from your command line, please navigate to the src/staticg folder, as the commands below expect that you are located in that directory!!
Command List
Help Screen
python romanssg.py --help | python romanssg.py -h
Help Screen
Usage: python romanssg.py
Commands:
To get version number use the command: --version, -v
To change the output directory to a user specified directory, run --output= or -o=
To specify an input, use either a file or a folder with items inside of it
Version Check
python romanssg.py --version | python romanssg.py -v
Welcome to the RomanStaticSG, a Static Site Generator
The current version is: 1.0.4
Input Command
To run the input command specify the file name with the extension
python romanssg.py --input=example.txt | python romanssg.py --input=example.md
To run the input command with a folder, specify the folder name
For Unix/Linux
python romanssg.py --input=./someFolder | python romanssg.py -i=./someFolder
For Windows
python romanssg.py --input="C:\Users\Roman Rezinkin\Desktop" | python romanssg.py -i="C:\Users\Roman Rezinkin\Desktop"
Output Command
To run the output command specify the custom directory location
For Unix/Linux
python romanssg.py --output=./someFolder
-OR-
python romanssg.py -o=./someFolder
For Windows
python romanssg.py --output="C:\Users\Roman Rezinkin\Desktop" | python romanssg.py -o="C:\Users\Roman Rezinkin\Desktop"
Metadata
Release files for staticsg-rrezinkin 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| staticsg-rrezinkin-1.0.5.tar.gz | 6.3 kB | Without provenance | Details for staticsg-rrezinkin-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| staticsg_rrezinkin-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for staticsg_rrezinkin-1.0.5-py3-none-any.whl |
Total release size: 13.2 kB
Release files / staticsg-rrezinkin-1.0.5.tar.gz
| Download URL | staticsg-rrezinkin-1.0.5.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49041e4cc02aa19bfff00ceeb35fa39a5b643eab4ba78d7d00002014208547db
|
|
BLAKE2b-256 checksum How to use checksums |
a152189df9b55e5389341741e448e6152e6f4b1df2328bdcd5dd6c3d8a9b0ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / staticsg_rrezinkin-1.0.5-py3-none-any.whl
| Download URL | staticsg_rrezinkin-1.0.5-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58e4683b97282fa8ff8ad832d577a6c1898e5c952d8f9d83be61ec0ee0f3fa8d
|
|
BLAKE2b-256 checksum How to use checksums |
5180db2af5e43a1b4698c17782dc68b3ce0f5152054d111ef701290b97192aaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for staticsg-rrezinkin 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.