A Static Revue Generator.
Project description
Crieur — A Static Revue Generator.
With sources from Stylo corpora.
Run
uv run --with crieur crieur stylo <stylo-corpus-id-1> <stylo-corpus-id-2> …
uv run --with crieur crieur generate serve --title PHLiT
Help
Commands
options:
-h, --help Show this help message and exit
Available commands:
version Return the current version.
generate Generate a new revue website.
stylo Initialize a new revue to current directory from Stylo.
serve Serve an HTML book from `repository_path`/public or current
directory/public.
Command: generate
[--extra-vars EXTRA_VARS] [--target-path TARGET_PATH]
[--source-path SOURCE_PATH]
[--templates-path TEMPLATES_PATH] [--without-statics]
[--feed-limit FEED_LIMIT]
options:
-h, --help show this help message and exit
--title, -t TITLE Title of the website (default: Crieur).
--base-url BASE_URL Base URL of the website, ending with / (default: /).
--extra-vars EXTRA_VARS
stringified JSON extra vars passed to the templates.
--target-path TARGET_PATH
Path where site is built (default: /public/).
--source-path SOURCE_PATH
Path where stylo source were downloaded (default:
/sources/).
--templates-path TEMPLATES_PATH
--without-statics Do not copy statics if True (default: False).
--feed-limit FEED_LIMIT
Number of max items in the feed (default: 10).
Command: serve
options:
-h, --help show this help message and exit
--repository-path REPOSITORY_PATH
Absolute or relative path to book’s sources (default:
current).
--port, -p PORT Port to serve the book from (default=8000)
Command: stylo
[--stylo-export STYLO_EXPORT] [--force-download]
[stylo_ids ...]
positional arguments:
stylo_ids Corpus ids from Stylo, separated by commas.
options:
-h, --help show this help message and exit
--stylo-instance STYLO_INSTANCE
Instance of Stylo (default: stylo.huma-num.fr).
--stylo-export STYLO_EXPORT
Stylo export URL (default: https://export.stylo.huma-
num.fr).
--force-download Force download of sources from Stylo (default: False).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crieur-1.6.0.tar.gz
(48.2 kB
view details)
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
crieur-1.6.0-py3-none-any.whl
(51.9 kB
view details)
File details
Details for the file crieur-1.6.0.tar.gz.
File metadata
- Download URL: crieur-1.6.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e2b72802cd6061fedf40fb0b7469f986cca81ec6c1150463c6a41bf21cf890b
|
|
| MD5 |
af920d22956880bcad8d7147bf28ea6d
|
|
| BLAKE2b-256 |
d21a2f8692a37d67732779badf133ee288625b38969d9c4d4f2ac71ddfabc7f3
|
File details
Details for the file crieur-1.6.0-py3-none-any.whl.
File metadata
- Download URL: crieur-1.6.0-py3-none-any.whl
- Upload date:
- Size: 51.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8a1f932a4b3673555eb2f6b09790346a9ab367e012dca9b458d8c885e611a9d
|
|
| MD5 |
6550acc6d7735f09f7495cf696ad8fa2
|
|
| BLAKE2b-256 |
b64a96e0634c6c8cb42c175343084cc9ea9b6046fdc6bed50566dab8f1aa0f7d
|