Skip to main content

catc: Configuration driven file concatenation tool

PyPI version Testsuite Python version Project Status Supported Interpreters License

catc (conCATenate by Configuration) is a file concatenation tool that allows you to concatenate files based on a configuration file.

Quick Start

First, install catc:

pip install catc

Then, create a catc.json file in the root of your project, and specify the files you want to concatenate:

{
  "files": [
    "src/file.txt",
    "src/lib/**/*.txt"
  ],
  "output": "dist/merged.txt",
  "separator": "\n"
}

Finally, run catc to concatenate the files:

catc <directory/to/catc.json>

API Documentation

TODO: description

Contributing

Any contribution is welcome! Check out CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information on how to get started.

License

catc is licensed under a MIT License.

Metadata

Release files for catc 0.1.1

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

Source distribution (sdist)

Source distribution for catc 0.1.1
File Size Uploaded
catc-0.1.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for catc 0.1.1
File Interpreter ABI Platform
catc-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / catc-0.1.1.tar.gz

Download URL catc-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cae913731203acd1379ccce9c109f8197bc6c50b43d27f70a467288f70ebcfda
BLAKE2b-256 checksum
How to use checksums
e625b6a08804e7c389a0dd4e0168049a04e2afb4a343abc95de5895e0785ab9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1018-azure

Release files / catc-0.1.1-py3-none-any.whl

Download URL catc-0.1.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d74700b87b890e0ac19a04f0f8d6b9cff8c09093ece8965ef2ec54e74a1e7265
BLAKE2b-256 checksum
How to use checksums
805dd1987d93b9aa4a4afb9ca3ef9fd02ed2335c9f26f30965f1969d79669557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.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