Compatibility shim providing selectable entry points for older implementations
Project description
Compatibility shim to ease adoption of importlib_metadata 3.6. Avoids deprecation warnings. Use this shim for libraries or applications invoking entry_points() that run on Python older than 3.10 or where importlib_metadata is older than 3.6. To use, add backports.entry_points_selectable to your project requirements. It will include importlib_metadata automatically where needed. Projects should still require importlib_metadata as appropriate for API uses other than entry_points.
Then in code, instead of from importlib.metadata import entry_points, use:
from backports.entry_points_selectable import entry_points
And then use the “selectable” features (pass keyword arguments to entry_points or invoke .select() on the result).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file backports.entry_points_selectable-1.0.2.tar.gz.
File metadata
- Download URL: backports.entry_points_selectable-1.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1817925560c765efe73fb692c047fb007511388d53e6dbeec7bfcda391eb83ac
|
|
| MD5 |
de6c2eb989ad0639184d1cef9ebc00b7
|
|
| BLAKE2b-256 |
d9ee7503b4a39d212e23f795ed979e5d4f1ab418d7d4df1edd201bc432428d2d
|
File details
Details for the file backports.entry_points_selectable-1.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: backports.entry_points_selectable-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b9fda50dab4f298f646bc7b717b6a3b90dd4d509015f1ce9e66b41a1330d46
|
|
| MD5 |
adfb4317269badcff30ec0d029034f7b
|
|
| BLAKE2b-256 |
db1531de6452c78a5a4f693df750b19da87c27fe9668ba8217168635f0d5be68
|