Skip to main content

command-line tool for creating temporary directories along with symbolic links to them

Project description

MKTMP

MKTMP is a command-line tool for creating temporary directories along with symbolic links to them — enabling centralized, consistent management of ephemeral files.

Setup

Add your user to the "Create symbolic links" user right in Windows to avoid permission issues when creating symbolic links.

Security Settings > Local Policies > User Rights Assignment > Create symbolic links
安全设置 > 本地策略 > 用户权限分配 > 创建符号链接

Usage

Initial Configuration

Before using MKTMP, you need to configure the mountpoint (directory where temporary folders will be created):

# Interactive configuration setup
python -m mktmp.config_cli init

# Or set mountpoint directly
python -m mktmp.config_cli mountpoint /path/to/temp/directory

The configuration will be saved to ~/.mktmp.config.json.

Creating Temporary Directories

# Create a temporary directory with a symbolic link
mktmp myproject

# This creates:
# - A unique temporary directory in your configured mountpoint
# - A symbolic link named 'myproject' in your current directory pointing to the temp directory

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

mktmp-0.2.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

mktmp-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mktmp-0.2.0.tar.gz.

File metadata

  • Download URL: mktmp-0.2.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mktmp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c50c246d9e33f807d6cfd2c155afdf09e539daf2ba30aa468468b14fad1474b5
MD5 f0fd935dbd075c9af5e135c544aa1ae7
BLAKE2b-256 de3da934931b676aa5c42a4d20a885ff230656af517ba59936ec7339888925be

See more details on using hashes here.

File details

Details for the file mktmp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mktmp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mktmp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 492a734997a21f68e727aa7cc109b1f2cba82fa026e7e0ef7f9a52066f19d598
MD5 ba3495ff42ff4ce9a2e368dc9f65ab5f
BLAKE2b-256 83cccbfbb3c522b0f8d6e575e7ce98478245a2f7a8e6c7f5946a9ade13d756aa

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