Skip to main content

CLI publishing tool for template-driven flat-file output, validation, and optional remote deployment

Project description

cyberPublisher

cyberPublisher is a template-driven CLI publishing tool for generating flat-file output from structured data, validating results, and optionally shipping published output to a remote destination.

It is designed for practical publishing workflows where you want to render repeatable output from templates and data without dragging in a heavyweight CMS or database stack.

What it does

  • Publishes flat-file output from templates and input data
  • Supports structured input such as JSON, XML, CSV, and Markdown
  • Generates one file per record or aggregate/index-style output
  • Validates local output and related publishing artifacts
  • Supports optional remote deployment over SSH/SFTP
  • Maintains instance-scoped policy and runtime state under ~/.pypub

Install

From source (development / local)

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .

From built wheel

python -m pip install ./dist/cyberpublisher-1.0.2-py3-none-any.whl

Command

cyberpublisher --help

Basic usage

Publish local output

cyberpublisher -t ./template.html -d ./data.json -o ./build/

Publish and ship to a configured destination

cyberpublisher -t ./template.html -d ./data.json -o ./build/ --ship myserver

Manage destinations

cyberpublisher dest list
cyberpublisher dest add myserver
cyberpublisher dest remove myserver

Requirements

  • Python 3.8+
  • cryptography
  • jinja2
  • paramiko

License

Licensed under the GNU General Public License v3.0.

See the LICENSE file for the full license text.

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

cyberpublisher-1.0.2.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

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

cyberpublisher-1.0.2-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file cyberpublisher-1.0.2.tar.gz.

File metadata

  • Download URL: cyberpublisher-1.0.2.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for cyberpublisher-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8a732d91eae49a7f1fcfb5c4fdfcbef6c4cc05aaf234a28c2a3f9e4a0dd9ecd5
MD5 041b18607227671f1d2b3d340d03639c
BLAKE2b-256 bd212f3d61b3dd6a3df052d4f3b606c4cd0f7df71bc0bb4f784a9bba237649a1

See more details on using hashes here.

File details

Details for the file cyberpublisher-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cyberpublisher-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 52.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for cyberpublisher-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04b51710f4e5fe1131a049388cf85de958835c4aef24e2f1e94e91286f8c86bf
MD5 cf9bcce8df5eb609f8be886fea609540
BLAKE2b-256 9cf2d2d91c250808d0f136c65b9b3b7190564f143744bd87254bb336e8a81081

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