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.2.tar.gz (6.4 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.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tempit_manager-1.2.tar.gz
Algorithm Hash digest
SHA256 8c5127f6c1a75e1df8a33834a8fd0c74c765fb150eadcae65b1609d746fc23ee
MD5 df6ade022ce8df81b5de6faca0f28ede
BLAKE2b-256 f5880fca5ff48a10726ece9fc1b6d0bde6885bd716b2ff6ffe290318b79a8178

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tempit_manager-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65566366eeb88816372743a2330475637b1cec6ac81d54bf58cc69ac3c8408f8
MD5 cec8692328157f9415e94e4732765578
BLAKE2b-256 16c8b1aaccb91d229a288e93cba83c206dc5488a85eef906c21f6b488561df93

See more details on using hashes here.

Provenance

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