Skip to main content

Hatch plugin to automaticilly detect and fill lazyimport entrypoint

Project description

Hatch-Lazyimports

PyPI PyPI - License PyPI - Wheel Tests Copier Ruff

This plugin will automaticilly detect lazy imports that are under a with lazy_imports() statement. It will then, fill the distribution's metadata related entry-point.

Example

[project]
dependencies = ["auto-lazy-imports>=0.4.1"]
dynamic = ['entry-points', 'entry-points.lazyimports']

[build-system]
requires = ["hatchling", "hatch-lazyimports"]
build-backend = "hatchling.build"

[tool.hatch.metadata.hooks.lazyimports]
entry_point_name = "lazyimports_auto"  # optional

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hatch_lazyimports-0.1.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_lazyimports-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file hatch_lazyimports-0.1.1.tar.gz.

File metadata

  • Download URL: hatch_lazyimports-0.1.1.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_lazyimports-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb325a9fc0a05968746db02fb7d7353dcac8b80764de7ca44b9121d2d58eb59f
MD5 0080f744a385630db1d8d6a13a1c6750
BLAKE2b-256 bbe745b639c9b0350d4451d42070c9023a494c3aae1c14497cb201ab930b979c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_lazyimports-0.1.1.tar.gz:

Publisher: publish.yaml on hmiladhia/hatch-lazyimports

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_lazyimports-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_lazyimports-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76805b85233ae9d2b02a110171e837db686d223bc551ac85ab25fe669e1673bb
MD5 0f2ab9f61118f70418f5ecfd27a714b3
BLAKE2b-256 8ac04c0954b49882c2a9643c409fff2927813422bda3fc47074d94058bff1a24

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_lazyimports-0.1.1-py3-none-any.whl:

Publisher: publish.yaml on hmiladhia/hatch-lazyimports

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page