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.5.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.5-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naylence_factory-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 951cde62b2a7414e27d36f47d0b27d447228bc840acf4e3bf15e69b1af413659
MD5 6f8621680acff77b6b57cbcb3ead9c93
BLAKE2b-256 ab3ec116ade8f57e9a173d2378202a5ccb7286a6dc63da0e8922d899d9918187

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naylence_factory-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 989c12368fb9321e6d8dfd7028c35095e5614f7e7af3bdadf1741463be0434cf
MD5 1e7dc4e0b912d787cdd72efd3f684f6f
BLAKE2b-256 d310a28709d1a0327f4c9dcdd1e36162cef2065581d8aa597c86420a24f126e0

See more details on using hashes here.

Provenance

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