tempfile
Temporary files and directories
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:27 |
Tags
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 | ✓ | ✓ | ✓ | - | - | - | ✓ | - | - | ✓ |
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