Skip to main content

Naylence resource factory and extension management framework

Project description

Naylence factory

Naylence factory is the resource factory and extension management framework for the Naylence ecosystem. It provides a structured way to define, register, and instantiate resources (connectors, stores, clients, etc.) using Pydantic-based configuration, priority-based defaults, and plugin-style extension loading.


Features

  • 🏭 Resource Factories — Define factories that build typed resources from configs.
  • 🔌 Extension Management — Discover and register implementations via Python entry points.
  • Priority-based Defaults — Automatically select the “best” default implementation.
  • 🧩 Composable Configs — Pydantic models with expression support (${env:VAR:default}).
  • 🔒 Policy-driven Evaluation — Control how config expressions are handled: evaluate, literal, or error.
  • 🔄 Polymorphic Dispatch — Automatically instantiate subclasses based on type fields.

Installation

pip install naylence-factory

Requires Python 3.12+.


License

Apache 2.0 © Naylence Dev

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

naylence_factory-0.1.3.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

naylence_factory-0.1.3-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file naylence_factory-0.1.3.tar.gz.

File metadata

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

File hashes

Hashes for naylence_factory-0.1.3.tar.gz
Algorithm Hash digest
SHA256 02e2c3e1811f520544ea0539d8edef318c1a88c6000ce35f53db5d551ced4e38
MD5 2acc1fef4d3cecbecf0a891ede76de50
BLAKE2b-256 88ef713ed24aedf57295ebe53a57c5a40f40a2167eb04b88728adc85f1ff3da0

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.3.tar.gz:

Publisher: publish.yml on naylence/naylence-factory-python

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

File details

Details for the file naylence_factory-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for naylence_factory-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 69da5208c75a0905e2258eca30f25a4f5d72b63badb1f9d9a886e46d7a11c5ba
MD5 7331b0ac36a4f3325773aacef06314ea
BLAKE2b-256 2df027ae5a819db0cd4b4631393e0db1aa6990efad1fd7bcb5687f4e8ad32f0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.3-py3-none-any.whl:

Publisher: publish.yml on naylence/naylence-factory-python

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