Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python-temps | Distribution: openSUSE Leap 15.2 |
Version: 0.3.0 | Vendor: openSUSE |
Release: lp152.3.2 | Build date: Fri Sep 20 22:06:44 2019 |
Group: Development/Languages/Python | Build host: build75 |
Size: 16574 | Source RPM: python-temps-0.3.0-lp152.3.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/todddeluca/temps | |
Summary: Context managers for creating and cleaning up temporary directories and files |
temps is a python module containing context managers for creating and cleaning up temporary files and directories. * It has a context manager for creating a temp dir and another for temp files. * The context manager cleans up the dir or file upon context exit, not upon file closure. * No ambiguity about whether you can or cannot open a file twice. * You can set the permissions of the temp file or dir to what you want. * It is very clear what the implementation is: + directories are created and the path is returned. + files are not created, since you'll want to do that in a with open(filename) ... statement, and the path is returned. + directories and files are cleaned up by the context managers. + file and dir names are generated using the uuid module, which presumably will avoid race conditions.
MIT
* Sat Mar 11 2017 mimi.vx@gmail.com - reverted to python2 only package - spec-cleaned * Sat Mar 04 2017 mpluskal@suse.com - Convert to python singlespec * Mon Dec 07 2015 mpluskal@suse.com - Initial package for version 0.3.0
/usr/lib/python2.7/site-packages/temps-0.3.0-py2.7.egg-info /usr/lib/python2.7/site-packages/temps-0.3.0-py2.7.egg-info/PKG-INFO /usr/lib/python2.7/site-packages/temps-0.3.0-py2.7.egg-info/SOURCES.txt /usr/lib/python2.7/site-packages/temps-0.3.0-py2.7.egg-info/dependency_links.txt /usr/lib/python2.7/site-packages/temps-0.3.0-py2.7.egg-info/top_level.txt /usr/lib/python2.7/site-packages/temps.py /usr/lib/python2.7/site-packages/temps.pyc /usr/share/doc/packages/python-temps /usr/share/doc/packages/python-temps/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Apr 9 11:50:38 2024