Skip to main content

Naylence resource factory and extension management framework

Project description

Join our Discord

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.4.tar.gz (17.5 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.4-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for naylence_factory-0.1.4.tar.gz
Algorithm Hash digest
SHA256 295c7c7f0411c58fbc7b9a8aba92b1d8ef694830ffec05291afb17454bbeb27c
MD5 bebd62396c40e0404a42a493765bff38
BLAKE2b-256 6dce6e38d8fad886ef89f19e603c580ec449529ca83b0e7a106e3885fe32ea63

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for naylence_factory-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5026c2af90da6b73b869f837df6a6d7b016a6fd0f918625ff475e8683be9d19d
MD5 b73631584f658690cba07d15c3dd1337
BLAKE2b-256 1fd0e4d12b8a5aca8dcdd716958692952543d7211b63b9e87162abb1bf7c6048

See more details on using hashes here.

Provenance

The following attestation bundles were made for naylence_factory-0.1.4-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