temp_path
This is a package to allow you to add a folder to the path temporarily.
Often when you deal with other people's code, it's not set up to be importable / packaged. This tool allows you to import from those files anyways, without having to permanently modify your path.
Simply run:
from temp_path import temp_path
with temp_path('../someone/elses/code'):
import their.messy.code
their.messy.code.use()
Of course, this is not just for importing python modules but also for other stuff you might need on your path.
Metadata
Release files for temp-path 0.1.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 |
|---|---|---|---|---|
| temp_path-0.1.1.tar.gz | 1.4 kB | Without provenance | Details for temp_path-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| temp_path-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for temp_path-0.1.1-py3-none-any.whl |
Total release size: 3.1 kB
Release files / temp_path-0.1.1.tar.gz
| Download URL | temp_path-0.1.1.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a127b6425202b7840de2194088645d5c19ea7480483f989636da6a989c362364
|
|
BLAKE2b-256 checksum How to use checksums |
5a284e34d04db26ddac016eefa8289031a16c5c5ac6ea411c2d1f8f6769f3f9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.0 Darwin/18.2.0
|
Release files / temp_path-0.1.1-py3-none-any.whl
| Download URL | temp_path-0.1.1-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
234218b3178441d8838593129280c47f075b0a3d96d8da1b527eab835bb04019
|
|
BLAKE2b-256 checksum How to use checksums |
f6196b3604a65c90426c7210f96b0ae25f1dcffbecb95b56107c531f05159cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.0 Darwin/18.2.0
|
Security for temp-path 0.1.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.