Skip to main content

TermPack

This is a simple command line tool that packages files on mac with shell scripts to create a terminal file. An icon can also be provided. This tool also hides the extention of the output file if the -p argument is present.

Prerequisites

Install required macOS tools via Homebrew:

brew bundle

Arguments

Argument Description
name The name of the output file (e.g., "TerminalFile")
input_file The path to the file you want to package
script The path to the shell script file
-t, --type The file extension to open (defaults to rtf)
-i, --icon Path to a .icns file to apply to the output
-p, --package Creates a packaged .aar file and hides extension
-o, --output Changes the output directory (defaults to dist)

Usage

Basic Creation

Generate a standard .terminal file:

termpack "My Project" document.rtf script.sh

Full Packaging

Hide the file extension and create a .aar archive:

termpack "My Project" document.rtf script.sh -p

Custom Icons

Apply a custom macOS icon to the generated file:

termpack "My Project" document.rtf script.sh -p -i icon.icns

Advanced Options

Change the embedded file type or specify an output directory:

termpack "Data Tool" source.txt run.sh -t txt -o ./build

License

Copyright (C) 2026 Adam Bar-Or

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Metadata

Release files for termpack 0.1.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 termpack 0.1.2
File Size Uploaded Provenance
termpack-0.1.2.tar.gz 696.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 719.3 kB

Release files / termpack-0.1.2.tar.gz

Download URL termpack-0.1.2.tar.gz
Size 696.9 kB
Tags Source
SHA-256 checksum
How to use checksums
781bc41d7a6f7811cbd7d6e37a815eebf77ec6a5e130597164bb11d1b5abe7d2
BLAKE2b-256 checksum
How to use checksums
73ee51a7d5b68d2c723d54f602e1d0f492ced491b672d545cb5094d922270b8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release files / termpack-0.1.2-py3-none-any.whl

Download URL termpack-0.1.2-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b12882f6021312d39c72629edf87076ee138a92d35d3bc4b3c26fc4ab8dbf6b6
BLAKE2b-256 checksum
How to use checksums
5e5ad79655f00f19d1b1af94772cc9c2feeeb512f84f78d459d2b0fb0f9ed293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Security for termpack 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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