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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

catc-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

catc-0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file catc-0.1.1.tar.gz.

File metadata

  • Download URL: catc-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1018-azure

File hashes

Hashes for catc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cae913731203acd1379ccce9c109f8197bc6c50b43d27f70a467288f70ebcfda
MD5 7a365a8c6d9c43e8ab17175c0be80cfe
BLAKE2b-256 e625b6a08804e7c389a0dd4e0168049a04e2afb4a343abc95de5895e0785ab9e

See more details on using hashes here.

File details

Details for the file catc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: catc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1018-azure

File hashes

Hashes for catc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d74700b87b890e0ac19a04f0f8d6b9cff8c09093ece8965ef2ec54e74a1e7265
MD5 51ef2615b7bf13bd396d18048c8196ed
BLAKE2b-256 805dd1987d93b9aa4a4afb9ca3ef9fd02ed2335c9f26f30965f1969d79669557

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page