notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-lazy_imports Python package helps to create lazy modules
1.2.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0.1Version of this port present on the latest quarterly branch.
Maintainer: otis@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-15 07:51:08
Last Update: 2026-07-12 10:08:09
Commit Hash: 2d4f4c1
Also Listed In: python
License: APACHE20
WWW:
https://github.com/bachorp/lazy-imports
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}lazy_imports>0:devel/py-lazy_imports@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-lazy_imports/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-lazy_imports
  • pkg install py312-lazy_imports
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-lazy_imports listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-lazy_imports
Package flavors (<flavor>: <package>)
  • py312: py312-lazy_imports
distinfo:
TIMESTAMP = 1783086707 SHA256 (lazy_imports-1.2.0.tar.gz) = 3c546b3c1e7c4bf62a07f897f6179d9feda6118e71ef6ecc47a339cab3d2e2d9 SIZE (lazy_imports-1.2.0.tar.gz) = 24470

Packages (timestamps in pop-ups are UTC):
py311-lazy_imports
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.11.0.1-1.0.11.0.1n/an/an/a
FreeBSD:13:quarterly1.0.11.0.1--1.0.1n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py312-lazy_imports
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest1.0.11.0.1--1.0.1---
FreeBSD:14:quarterly1.0.11.0.1--1.0.1---
FreeBSD:15:latest1.0.11.2.0n/a-n/an/a--
FreeBSD:15:quarterly1.0.11.0.1n/a-n/an/a--
FreeBSD:16:latest1.0.11.0.1n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>=0.42.0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Run
  1. misc/py-haystack_ai

Configuration Options:
No options to configure
Options name:
devel_py-lazy_imports
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/l/lazy_imports/
  2. https://pypi.org/packages/source/l/lazy_imports/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.0
12 Jul 2026 10:08:09
commit hash: 2d4f4c1dba33c59242cd6b808667631afb56c0a3commit hash: 2d4f4c1dba33c59242cd6b808667631afb56c0a3commit hash: 2d4f4c1dba33c59242cd6b808667631afb56c0a3commit hash: 2d4f4c1dba33c59242cd6b808667631afb56c0a3 files touched by this commit
Juraj Lutter (otis) search for other commits by this committer
Author: Yuri Victorovich
devel/py-lazy_imports: Update to 1.2.0

PR:		296626
1.0.1
15 Sep 2025 07:49:11
commit hash: de7db561b1a83bc6c384b23e5e534559e86be5c3commit hash: de7db561b1a83bc6c384b23e5e534559e86be5c3commit hash: de7db561b1a83bc6c384b23e5e534559e86be5c3commit hash: de7db561b1a83bc6c384b23e5e534559e86be5c3 files touched by this commit
Juraj Lutter (otis) search for other commits by this committer
devel/py-lazy_imports: Add new ports

This python utility package helps to create lazy modules. A lazy module
defers loading (some of) its attributes until these attributes are first
accessed.

This also fixes fa6125eec57

Sponsored by:	resulta.tech

Number of commits found: 2