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.0"]
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.0.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.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_lazyimports-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ed8f69d6b2da837d013baeffa012b010f7b568b35e01447ade54b3e6b142fad1
MD5 f12458f2a4b61aa85aaaacb8fffc4492
BLAKE2b-256 d290f72e09758326d47ab73835ba10844a47dd7669f8b6c32de156b07e9566bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_lazyimports-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_lazyimports-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65c50ef6220fcdca26897ecf81e1b6e9e857ec734f15c885b6c63d139d5b8741
MD5 62bbf796074bd05e2da8c5daae808b6e
BLAKE2b-256 ad2431118a8315f6495d223dc367914eaaf1323e0e0bef16f1810d77964e240b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_lazyimports-0.1.0-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