iext
Add new imports tied to a specific class.
Installation
Install this package via pip:
python -m pip install iext
Usage
To extend the imports within a specific class, subclass ExtendImports and add an __imports__ method with all the extra imports. Everything imported here will be added to the namespace of self.
from iext import ExtendImports
class ExampleClass(ExtendImports):
def __imports__(self):
import pkg1
from pkg2 import thing
def example_method(self):
return self.pkg1.func(self.thing)
Metadata
Release files for iext 1.1.0
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 |
|---|---|---|---|---|
| iext-1.1.0.tar.gz | 3.7 kB | Without provenance | Details for iext-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iext-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for iext-1.1.0-py3-none-any.whl |
Total release size: 7.4 kB
Release files / iext-1.1.0.tar.gz
| Download URL | iext-1.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2799e6e421339dc889987a9ade973e18c71089d4cb696f354a547295762cc516
|
|
BLAKE2b-256 checksum How to use checksums |
07c33199b6e565e8adfc68fcdf8ffc39dfdb41eec001658110c72c7a87d89417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.15.1 CPython/3.10.12 Linux/6.5.0-1018-azure
|
Release files / iext-1.1.0-py3-none-any.whl
| Download URL | iext-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b0bf44b21f79371b9f665cd408e40985273bcf27cd582a70c11961c6da93445
|
|
BLAKE2b-256 checksum How to use checksums |
7b896f25edd2e8280bd6558690f9463997351df86abca4751286674a7eb2ac7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.15.1 CPython/3.10.12 Linux/6.5.0-1018-azure
|
Security for iext 1.1.0
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.