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
tempit init <shell>

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.1.tar.gz (6.3 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.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tempit_manager-1.1.tar.gz
  • Upload date:
  • Size: 6.3 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.1.tar.gz
Algorithm Hash digest
SHA256 1f1d6daa5e5293a3fb3c57630881331484edbb0af41130b45a68a1629b17b80e
MD5 7e79db3d93013679bc704df3d7eb05a7
BLAKE2b-256 4d402ef69642b08905e41c2fdb0d700474e00681e90bada2b3981ca0105ea5ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempit_manager-1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: tempit_manager-1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69eab5860d0b2b0a3bda0e8911b5cb04184dbd4dbb7228c0f42b7fba33752d5c
MD5 967a0f7f506535ebeb8bdcd32f35e936
BLAKE2b-256 a3ca84229deba180795a609428cc0e6c93536d2bdd308ebe5631850d27b99474

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempit_manager-1.1-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