looking-for-a-job/temp.py

View on GitHub
README.md

Summary

Maintainability
Test Coverage
<!--
https://readme42.com
-->


[![](https://img.shields.io/pypi/v/temp.svg?maxAge=3600)](https://pypi.org/project/temp/)
[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
[![](https://github.com/andrewp-as-is/temp.py/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/temp.py/actions)

### Installation
```bash
$ [sudo] pip install temp
```

#### Examples
```python
>>> import temp
>>> temp.tempdir() # dir
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpqlLDxb'

>>> temp.tempfile() # file
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T/tmpsctFHJ'

>>> temp.TMPDIR
'/var/folders/rv/gy6_gnfs1d7_pd1518p27tsr0000gn/T'
```

<p align="center">
    <a href="https://readme42.com/">readme42.com</a>
</p>