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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_lazyimports-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1a611fb7514d6a98bfb1230b5ea7cb537b4604ab08ae8e705c26433254102a58
MD5 ce0f2ea9ea9c36713058e6079f4f147d
BLAKE2b-256 d689344caafe34c3fa640c72de838fc1ee34221989965d83aca8c651c5265225

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hatch_lazyimports-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86d2fdc26bb5989ccdd39dbc496d28eb1738a8ebcd92ba0ba2753812980c0097
MD5 f80ccff18bc2dec3556da510c4df9f24
BLAKE2b-256 bd5894d66fb727dc27bf12472a25955b96a472c93ee2c53049ac027d06b5a9e8

See more details on using hashes here.

Provenance

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