Skip to main content

Quick terminal file creation tool

Project description

:robot: tch - Quick Command-line 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

# build source and wheel
task build

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

Project details


Download files

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

Source Distribution

tch-1.0.1.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

tch-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tch-1.0.1.tar.gz.

File metadata

  • Download URL: tch-1.0.1.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.20

File hashes

Hashes for tch-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5c03a2e8c6ff44868da3f96f30c0f830691960440de7af460c419000cd166a6b
MD5 bafdfe227262ffb7e45880bfd23c2faa
BLAKE2b-256 28d1a4447f97af840ae7e3d5f79644ca6d0c02f3cf4c29444692df01cf5ee880

See more details on using hashes here.

File details

Details for the file tch-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tch-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.20

File hashes

Hashes for tch-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d1cdcc87acff7594f8034604b36efa7ccf426a6bc142228c7f1949a66d11537
MD5 ea841e106cc90b46308c9cbe575d73ac
BLAKE2b-256 4da4c44e0c0c4ef3b81f3097187f116f0ae6fe8a4f45cfb9d95f94cc243a189e

See more details on using hashes here.

Supported by

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