devel/py-lazy_imports 1.2.0 FreeBSD
Python package helps to create lazy modules
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2d4f4c1dba- License
- APACHE20
- Categories
- devel, python
- Package size
- 24.3 KiB, 99.7 KiB installed
Description
This python utility package helps to create lazy modules. A lazy module defers loading (some of) its attributes until these attributes are first accessed. The module's lazy attributes in turn are attributes of other modules. These other modules will be imported/loaded only when (and if) associated attributes are used. A lazy import strategy can drastically reduce runtime and memory consumption.
Additionally, this package provides a utility for optional imports with which one can import a module globally while triggering associated import errors only at use-sites (when and if a dependency is actually required, for example in the context of a specific functionality).
In the other systems
The newest version among them is 1.2.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/py-lazy_imports | 1.2.0 newest | none known | - | [email protected] | 2026-07-12 |
| HardenedBSD | devel/py-lazy_imports | 1.2.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-lazy_imports | 1.2.0 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-lazy_imports
From the ports tree:
cd /usr/ports/devel/py-lazy_imports/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lazy_imports>0:devel/py-lazy_imports
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.0 | 1.2.0 | - | - | 1.2.0 |
| FreeBSD:14:quarterly | 1.2.0 | 1.2.0 | n/a | - | 1.2.0 |
| FreeBSD:15:latest | 1.2.0 | 1.2.0 | n/a | - | - |
| FreeBSD:15:quarterly | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>=0.42.0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lazy_imports-1.2.0.tar.gz | 24470 | 3c546b3c1e7c4bf62a07f897f6179d9feda6118e71ef6ecc47a339cab3d2e2d9 |
Master sites 1
- PYPI