Skip to main content

content-hub

content-hub is a CLI tool that syncs directory content between one origin and one or more workspaces, driven by a config file.

Quick Start

Requires Python 3.14+.

pip install content-hub

Initialize a config:

contentctl init

This creates content-hub.yaml:

origin: origin
workspaces:
  docs: ./docs

Run sync flows:

contentctl deploy docs              # deploy origin → workspace
contentctl deploy docs --delete     # deploy + remove workspace files missing in origin
contentctl adopt docs               # adopt workspace → origin
contentctl deploy docs --dry-run    # show planned operations without changes

Behavior:

  • --path is relative to the origin/workspace roots (default .).
  • --delete removes workspace files missing in origin, filtered by include/exclude globs.

Config Notes

  • origin sets the primary content directory.
  • workspaces maps aliases to workspace paths.
  • ${VAR} environment variable expansion is supported in config values.

Metadata

Release files for content-hub 0.2.2

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

Source distribution (sdist)

Source distribution for content-hub 0.2.2
File Size Uploaded Provenance Actions
content_hub-0.2.2.tar.gz 26.1 kB With provenance Details for content_hub-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for content-hub 0.2.2
File Interpreter ABI Platform Actions
content_hub-0.2.2-py3-none-any.whl Python 3 none any Details for content_hub-0.2.2-py3-none-any.whl

Total release size: 46.5 kB

Release files / content_hub-0.2.2.tar.gz

Download URL content_hub-0.2.2.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c6ddc1e490b1e29e602f8c8c83862e0a923f12e1064f2200f823d52c565e6a0
BLAKE2b-256 checksum
How to use checksums
ecc8cba2f1d1ee0d81b1c2f86cb32f2eb3e6837834b9dd0a482b05259e545bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Release files / content_hub-0.2.2-py3-none-any.whl

Download URL content_hub-0.2.2-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93a8bcc5d943d2688f37aec98de0d33472c691258408bfbc02287f01982228fe
BLAKE2b-256 checksum
How to use checksums
5888c5bc660ee55b69fe27116c98036b70354360b3ed81c63cdf4cb74bf02a97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Security for content-hub 0.2.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for content_hub-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

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.

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