Utilities for generating technical reports.
Project description
icreports
This project is a collection of tools and templates for generating reports at ICHEC.
Installation
The project is available on PyPi, you can install it with:
pip install icreports
Some features rely on converting images between various formats. For full image format support imagemagick
, cairo
and a full LaTeX environment are required. On Mac you can install the former with brew
. MacTeX can be used to install the LaTeX environment.
Features
Books
You can build a book, like the ICHEC handbook, with:
icreports book --source_dir $SOURCE_DIR
where SOURCE_DIR
is the location of the book sources, including a _config.yml
and _toc.yml
file.
If you prefer to build in a container instead of installing build dependencies you can do:
cd infra
podman build --platform linux/arm64 -t icreports .
podman run -it -v $SOURCE_DIR:/src -v $BUILD_DIR/:/build -p 8000:8000 --platform linux/arm64 icreports
You can replace podman
with docker
if preferred. The SOURCE_DIR
is the path to the book sources on the host. The BUILD_DIR
is somewhere you want build output to go on the host.
Running the container involves building the book by default, which will take a few minutes. It will then be served at localhost:8000 which you can launch in browser.
Copyright
Copyright 2024 Irish Centre for High End Computing
The software in this repository can be used under the conditions of the GPLv3+ license, which is available for reading in the accompanying LICENSE
file.
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
File details
Details for the file icreports-0.0.9.tar.gz
.
File metadata
- Download URL: icreports-0.0.9.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c941d8cb187944f8274b41494c06bdcd16a71d87b1697bf693b14781361945 |
|
MD5 | eeb12d0b7b282797889fa85bee656b92 |
|
BLAKE2b-256 | faf2edd06dfa9482d038306e547fd51fdd74dae8c6d12405b973bb1c2e45c0f5 |
File details
Details for the file icreports-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: icreports-0.0.9-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f470907e44e24c4d9241eaeb829b00e09e5456238c5d70ade626e83d2f83c3fc |
|
MD5 | c4af3bdd6d2bc8372aea0bb5b50186c8 |
|
BLAKE2b-256 | 92ece6dd0c6fa418d0bea7a2693445c55d1a9cfea834952e7431fedaef59e9c1 |