Skip to main content

Manage and jump into temporary working directories

Project description

Tempit - Temporary Directory Manager

Tempit is a command-line utility and shell helper that lets you create, track, and jump to temporary directories without losing them.

Features

  • Create temporary directories with optional prefixes.
  • List tracked directories with size, creation time, age, and file counts.
  • Jump to a directory by its number.
  • Remove individual directories or clean them all.
  • Works via shell integration.

Installation

Using pip

pip install tempit-manager

Shell integration

Add the following line to your shell startup file (~/.bashrc or ~/.zshrc):

# Bash
eval "$(tempit --init bash)"

# Zsh
eval "$(tempit --init zsh)"

Usage

CLI commands

tempit --create [prefix]
tempit --list
tempit --remove <number>
tempit --clean-all

Aliases (after shell init)

Alias Description
tempc [prefix] Create a new temporary directory and cd into it
tempg <number> Jump to a directory by its number
templ List tracked temporary directories
temprm <number> Remove a tracked temporary directory by its number
tempclean Remove all tracked temporary directories

License

MIT

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

tempit_manager-1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

tempit_manager-1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file tempit_manager-1.0.tar.gz.

File metadata

  • Download URL: tempit_manager-1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tempit_manager-1.0.tar.gz
Algorithm Hash digest
SHA256 6ff7da1d873b6d619aa2f68691d9c25c865cd65b58c73e68a4f4ea4a291b7602
MD5 5554479535803b3d6c4741b50a1ec08c
BLAKE2b-256 980afd1a6130e4f399db85d2cb9e6e636e6ef7d412790dc5e217bd70498fef8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempit_manager-1.0.tar.gz:

Publisher: python-publish.yml on idirxv/tempit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tempit_manager-1.0-py3-none-any.whl.

File metadata

  • Download URL: tempit_manager-1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tempit_manager-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df6c7eb37dc76233bcc5e99722673b03d4e345022411df45428cee13107e1ff8
MD5 c10911a88c9dfd72f039daa2e6972534
BLAKE2b-256 d65865b93f85e647e2a0d067354c375957a4b138db8a04be8ced595415fcad67

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempit_manager-1.0-py3-none-any.whl:

Publisher: python-publish.yml on idirxv/tempit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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