1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Decorator for resolve function arguments
Usage
from resolver_deco import resolver
@resolver('obj')
def get_attribute(obj, name):
return getattr(obj, name)
import os.path
assert get_attribute('os.path', 'isdir') == os.path.isdir
You can resolve more than one argument:
from resolver_deco import resolver
@resolver('obj', 'value')
def set_attribute(obj, name, value):
return setattr(obj, name, value)
set_attribute('collections.UserDict', 'val', 'os.path')
import collections, os.path
assert collections.UserDict.val is os.path
Tests
$ pip install pytest
$ py.test tests.py -v
Metadata
Release files for resolver_deco 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| resolver_deco-1.0.4.tar.gz | 1.8 kB | Without provenance | Details for resolver_deco-1.0.4.tar.gz | |
| resolver_deco-1.0.4.tar.bz2 | 1.9 kB | Without provenance | Details for resolver_deco-1.0.4.tar.bz2 |
Release files / resolver_deco-1.0.4.tar.gz
| Download URL | resolver_deco-1.0.4.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
110d280171bd7633100d6f1930e7eb7f886f297c4abfcee9f5c675f929bc74fb
|
|
BLAKE2b-256 checksum How to use checksums |
371130f030e43dd1cde8f1b8dadb6966646b767d8c83c2d168f4a37c5b86214a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / resolver_deco-1.0.4.tar.bz2
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | resolver_deco-1.0.4.tar.bz2 |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd35091b485f71c2c5f91b4592a6c9c0c4b8343696212043443b111772b7fd14
|
|
BLAKE2b-256 checksum How to use checksums |
f4b53700465decc1148a2f55dfa2b886c7ece6b50575f510d179fb778dd00855
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for resolver_deco 1.0.4
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.