tempfile312
Backport of Python 3.12's tempfile library for older Python versions. Notably, supports
the delete_on_close parameter to NamedTemporaryFile to make it useful on Windows.
See official documentation here: https://docs.python.org/3.12/library/tempfile.html.
Major changes from Python 3.8:
- Added delete_on_close parameter to
NamedTemporaryFile - Added ignore_cleanup_errors and delete parameters to
TemporaryDirectory gettempdir()always returns a str. Previously it would return any tempdir value regardless of type so long as it was notNone.SpooledTemporaryFilefully implements theio.BufferedIOBaseandio.TextIOBaseabstract base classes (depending on whether binary or text mode was specified).mkdtemp()now always returns an absolute path, even if dir is relative.
Metadata
Release files for tempfile312 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tempfile312-1.0.1.tar.gz | 34.0 kB | Without provenance | Details for tempfile312-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tempfile312-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for tempfile312-1.0.1-py3-none-any.whl |
Total release size: 53.0 kB
Release files / tempfile312-1.0.1.tar.gz
| Download URL | tempfile312-1.0.1.tar.gz |
|---|---|
| Size | 34.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0324691192bf2e1655af6f0c6366d9bee9612874a34b9bfd7f820fa2f4dd5031
|
|
BLAKE2b-256 checksum How to use checksums |
fbdcef06f6d6a68318cec0e9e2fee0bd881282a07ebce06b5e5bf782a83b3f4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / tempfile312-1.0.1-py3-none-any.whl
| Download URL | tempfile312-1.0.1-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45001c0645170bf6b350e3ff3154d726890e6432028fba2737ccd7b9c1a92315
|
|
BLAKE2b-256 checksum How to use checksums |
6decf2a0c83ac290c055c64b6e4515b2ba81199494016855d123feb77b509270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Security for tempfile312 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.