tempfile

Temporary files and folders

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.7
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-31 07:14

Authors

  • Huy Doan

Installation

nimble install tempfile
choosenim install tempfile
git clone https://github.com/OpenSystemsLab/tempfile.nim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
tempfile - - - - -

Dependencies

Package Version Optional
nim >= 0.19.0 No

Source

Repository https://github.com/OpenSystemsLab/tempfile.nim
Homepage https://github.com/OpenSystemsLab/tempfile.nim
Registry Source nimble_official

README

tempfile.nim

This module contains basic procs for creating temporary files and directories

This module is impressed by Python's tempfile module

Installation

$ nimble install tempfile

Usage

import tempfile

var (file, name) = mkstemp()
echo name
var dir = mkdtemp()
echo dir