Skip to main content

:robot: tch - quick terminal file creation

A version of touch command that also works on windows. Quickly create a file or files with the tch command.

Installation

Install with pip

pip install tch

Install with UV

uv tool install tch

Usage + Examples

# create a single file
tch example.txt

# pass a full path
tch c:\example.txt

# create multiple files at once
tch test.py config.yml readme.txt

Options

--verbose or -v

  • Show all file creation notices and error messages.

Development Setup

Installation is pretty straight forward, Im using UV to manage everything.

To get it all running from scratch:

# spin up a virtual enviroment
uv venv

# activate virtual enviroment
.venv\Scripts\activate

# install all the cool dependancies
uv sync

# run tch
task run

# run pytests
task tests

References

  • Click - A Python library for building CLI's

Contact + Support

Created by Wyatt Ferguson

For any questions or comments heres how you can reach me:

:mailbox_with_mail: Email me at wyattxdev@duck.com

:tropical_drink: Follow on BlueSky @wyattf

If you find this useful and want to tip me a little coffee money:

:coffee: Buy Me A Coffee

Metadata

Release files for tch 1.0.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 tch 1.0.2
File Size Uploaded
tch-1.0.2.tar.gz 14.6 kB Details

Built distribution (wheel)

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

Total release size: 18.7 kB

Release files / tch-1.0.2.tar.gz

Download URL tch-1.0.2.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4a38340fe4f17830c730bde06391f7f5dcbd4026166ea3845e0167aeeee5bbbe
BLAKE2b-256 checksum
How to use checksums
f09506a7caeb9183d29f1b8aa843fea58906be0fc46439d56fd4867d0df2eb1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.20

Release files / tch-1.0.2-py3-none-any.whl

Download URL tch-1.0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d361c73ea6f23a92cf5633f61b50b07791a58ab5c3db39a2991195bdffcf69f4
BLAKE2b-256 checksum
How to use checksums
4f3bf8dd4649417220748e095a09c4d307ba8faee432a40b65594c7469d0b6d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.20

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

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