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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mktmp-0.2.1.tar.gz
  • Upload date:
  • Size: 11.6 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.1.tar.gz
Algorithm Hash digest
SHA256 f4efbb53480a9242c62cf5839fb680659a93cf89e928a3a1d0ced61331afc1a3
MD5 2f155d1f29e7dd102b8c9e91386cbefb
BLAKE2b-256 90117bb2151e5dcf647110cbe87bce061b3ca4215f8a4015293946ae9a74b215

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mktmp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e801b43c88f412d20c7470edbdcc794604811a17ccc4a9d9df9561b32a4ae451
MD5 99522b67fdd606b0c7c90a7a8bfc3bdd
BLAKE2b-256 adbd006d3b744990d05b8da284653991b3d6bf8b5c7a99545572ac7e9efcb66f

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