Skip to main content
# Preprocessor Template for `foliant init` Command

Template for a Foliant preprocessor. Instead of looking for an existing preprocessor, cloning it, and modifying its source, install this package and generate a preprocessor directory. As simple as:

```shell
$ foliant init -t preprocessor
```
## Installation

```shell
$ pip install --no-compile foliantcontrib.templates.preprocessor
```

## Usage

```shell
$ foliant init -t preprocessor
Enter the project name: Awesome Preprocessor
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```

Or:

```shell
$ foliant init -t preprocessor -n "Awesome Preprocessor"
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```

Result:

```shell
$ tree awesome-preprocessor
.
├── changelog.md
├── foliant
│ └── preprocessors
│ └── awesome-preprocessor.py
├── LICENSE
├── README.md
└── setup.py

2 directories, 5 files
```

Metadata

Release files for foliantcontrib.templates.preprocessor 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foliantcontrib.templates.preprocessor 1.0.3
File Size Uploaded
foliantcontrib.templates.preprocessor-1.0.3.tar.gz 3.9 kB Details

Release files / foliantcontrib.templates.preprocessor-1.0.3.tar.gz

Download URL foliantcontrib.templates.preprocessor-1.0.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9cd11ebe24d607ee1054dd32d6c0df7a7d26eee5ffb61c29dcbb33337480bb31
BLAKE2b-256 checksum
How to use checksums
9ff63e0bee1766fd18be5ef329788e39cd21768e2d04107ad3a21d1128247395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page